อื่น ๆ
อื่น ๆ SEARCH

search

Model ID: search
ตระกูล
อื่น ๆ
บริบท
ไม่ระบุ
ต่อคำขอ
0.0136 ฿
คำขอ
33
สำเร็จ
100.0%
โทเค็น
1.6K
เวลาใช้งาน
24 ชม. ที่แล้วตอนนี้
7 วันที่แล้วตอนนี้

ราคา

ต่อคำขอ
0.0136 ฿
ประวัติราคา

ระดับราคาที่เคยใช้ แถวที่ระบุ "ปัจจุบัน" คือราคาจริง

ปัจจุบัน ตั้งแต่ 09/08/2026 - 20:26:59
ต่อคำขอ0.0136 ฿
Endpoint ที่รองรับ
https://api.xah.io/v1/search
เมธอด POST · application/json
การยืนยันตัวตน Bearer token (คีย์ API)
ประเภท API SEARCH

แบ่งปัน

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"
}
ลองใช้

โมเดลนี้ไม่รองรับแชทข้อความ จึงไม่สามารถลองใช้งานที่นี่ได้

รีวิวและความคิดเห็น
0.0 / 0 รีวิว
กำลังโหลดรีวิว...
ติดต่อฝ่ายสนับสนุน
เราพร้อมช่วยเหลือคุณเสมอ