Otro
Otro SEARCH

search

ID del modelo: search
Familia
Otro
Contexto
No especificado
Por request
0.000344 €
Requests
33
Éxito
100.0%
Tokens
1.6K
Uptime
Hace 24 horasAhora
Hace 7 díasAhora

Precios

Por request
0.000344 €
Historial de precios

Niveles de precio aplicados anteriormente. La fila marcada como "actual" es el precio vigente.

Actual Desde 09/08/2026 - 20:26:59
Por request0.000344 €
Endpoints admitidos
https://api.xah.io/v1/search
Método POST · application/json
Autenticación Bearer token (API key)
Tipos de API SEARCH

Compartir

curl 'https://api.xah.io/v1/search' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "search",
    "query": "What is the latest news about AI?",
    "search_type": "web",
    "max_results": 5,
    "country": "Vietnam",
    "language": "Vietnam"
}'
// Node.js / Browser
const res = await fetch('https://api.xah.io/v1/search', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "model": "search",
    "query": "What is the latest news about AI?",
    "search_type": "web",
    "max_results": 5,
    "country": "Vietnam",
    "language": "Vietnam"
})
});
const data = await res.json();
console.log(data);
import requests

url = 'https://api.xah.io/v1/search'
headers = {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json',
}
payload = {
    "model": "search",
    "query": "What is the latest news about AI?",
    "search_type": "web",
    "max_results": 5,
    "country": "Vietnam",
    "language": "Vietnam"
}

res = requests.post(url, headers=headers, json=payload, timeout=120)
print(res.status_code, res.json())
{
    "model": "search",
    "query": "What is the latest news about AI?",
    "search_type": "web",
    "max_results": 5,
    "country": "Vietnam",
    "language": "Vietnam"
}
Probar ahora

Este modelo no admite chat de texto, por lo que no se puede probar aquí.

Reseñas y comentarios
0.0 / 0 reseñas
Cargando reseñas...
Contactar soporte
Siempre estamos listos para ayudarle