Altro
Altro SEARCH

search

ID modello: search
Famiglia
Altro
Context
Non specificato
Per request
0.000344 €
Request
33
Successo
100.0%
Tokens
1.6K
Uptime
24 ore faAdesso
7 giorni faAdesso

Listino prezzi

Per request
0.000344 €
Cronologia prezzi

I livelli di prezzo applicati nel tempo. La riga contrassegnata "attuale" è il prezzo in uso.

Attuale Dal 09/08/2026 - 20:26:59
Per request0.000344 €
Endpoint supportati
https://api.xah.io/v1/search
Metodo POST · application/json
Autenticazione Bearer token (API key)
Tipi di API SEARCH

Condividi

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"
}
Prova subito

Questo modello non supporta la chat testuale, quindi non può essere provato qui.

Recensioni e commenti
0.0 / 0 recensioni
Caricamento delle recensioni...
Contatta il supporto
Siamo sempre pronti ad aiutarla