querystringจำเป็น
The search query.
https://api.sandbase.ai/v1/api/firecrawl/searchSearches the web using a text query and returns relevant pages with their titles, descriptions, and source URLs. Supports adjusting result counts.
{
"creditsUsed": 2,
"data": {
"web": [
{
"description": "OpenAI | Research & Deployment\n\n## Recent news\n[Advancing the price-performance frontier with GPT‑5.6\\\n\\\nProductJul 30, 2026](https://openai.com/index/advancing-the-price-performance-frontier-with-gpt-5-6/)\n\n[David Vélez and Robin Vince join OpenAI boards\\\n\\\nCompanyJul 21, 2026](https://openai.com/index/david-velez-robin-vince-join-openai-boards/)\n\n## Latest research\n[An OpenAI model has disproved a central conjecture in discrete geometry\\\n\\\nResearchMay 20, 2026](https://openai.com/index/model-disproves-discrete-geometry-conjecture/)",
"position": 1,
"title": "OpenAI | Research & Deployment",
"url": "https://openai.com/"
},
{
"description": "OpenAI is an AI research and deployment company dedicated to ensuring that general-purpose artificial intelligence benefits all of humanity.",
"position": 2,
"title": "OpenAI",
"url": "https://www.linkedin.com/company/openai"
},
{
"position": 3,
"title": "Black Hat USA 2026 - The OpenAI–Hugging Face Incident",
"url": "https://www.reddit.com/r/LocalLLaMA/comments/1vhv8ka/black_hat_usa_2026_the_breaking_news_the/"
},
"… 7 more items in the full response"
]
},
"id": "019fe65c-b356-769c-9e1f-a9960ff7c770",
"success": true
}เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
Returns a ranked list of web pages that match a text query. Each result has a title, a description, a source URL, and its rank. The only required input is query, and limit caps the number of results.
OpenAI.curl -X POST "https://api.sandbase.ai/v1/api/firecrawl/search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "OpenAI"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
query | string | Yes | The search query. |
limit | integer | No | Maximum number of results to return. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"web": [
{
"description": "OpenAI | Research & Deployment\n\n## Latest research\n[An OpenAI model proposes a s…",
"position": 1,
"title": "OpenAI | Research & Deployment",
"url": "https://openai.com/"
}
]
},
"id": "01a1a053-d894-7766-8468-2b045150832c",
"success": true
}
| Field | Meaning |
|---|---|
data.web[] | List of search results, in ranked order. |
data.web[].position | Rank of the result in the list. 1 is the first result. |
data.web[].title | Title of the web page. |
data.web[].url | Source URL of the page. |
data.web[].description | Text taken from the page. It can be a short summary or raw page text with Markdown, links, and line breaks. |
success | true when the search call worked. |
id | Unique ID of this search response, in UUID format. |
query can be up to 500 characters. limit accepts whole numbers from 1 to 100.description value can contain Markdown and image links, so clean it before showing it to users.url to Firecrawl Page Scraper.url to Firecrawl URL Discovery.$0.015 per successful call. Failed calls are not charged.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/firecrawl/search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "openai"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
querystringจำเป็นThe search query.
limitintegerMaximum number of results to return.
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
{
"creditsUsed": 2,
"data": {
"web": [
{
"description": "OpenAI | Research & Deployment\n\n## Recent news\n[Advancing the price-performance frontier with GPT‑5.6\\\n\\\nProductJul 30, 2026](https://openai.com/index/advancing-the-price-performance-frontier-with-gpt-5-6/)\n\n[David Vélez and Robin Vince join OpenAI boards\\\n\\\nCompanyJul 21, 2026](https://openai.com/index/david-velez-robin-vince-join-openai-boards/)\n\n## Latest research\n[An OpenAI model has disproved a central conjecture in discrete geometry\\\n\\\nResearchMay 20, 2026](https://openai.com/index/model-disproves-discrete-geometry-conjecture/)",
"position": 1,
"title": "OpenAI | Research & Deployment",
"url": "https://openai.com/"
},
{
"description": "OpenAI is an AI research and deployment company dedicated to ensuring that general-purpose artificial intelligence benefits all of humanity.",
"position": 2,
"title": "OpenAI",
"url": "https://www.linkedin.com/company/openai"
},
{
"position": 3,
"title": "Black Hat USA 2026 - The OpenAI–Hugging Face Incident",
"url": "https://www.reddit.com/r/LocalLLaMA/comments/1vhv8ka/black_hat_usa_2026_the_breaking_news_the/"
},
"… 7 more items in the full response"
]
},
"id": "019fe65c-b356-769c-9e1f-a9960ff7c770",
"success": true
}สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Firecrawl Web SearchAPI นี้ Firecrawl | $0.015 ต่อการเรียก | JSON |
Firecrawl | เริ่มต้นที่ $0.0075 ต่อครั้ง | Async JSON |
Firecrawl | เริ่มต้นที่ $0.0075 ต่อครั้ง | Async JSON |
Firecrawl | $0.0075 ต่อการเรียก | JSON |
Firecrawl | $0.0075 ต่อการเรียก | JSON |
คู่มือ:Firecrawl alternative: pay per page or a planURL to Markdown: Firecrawl, Exa and Tavily comparedExa vs Tavily vs Firecrawl for AI agents
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/firecrawl/search โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.015 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: query (string). ตัวเลือก: limit (integer). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Firecrawl Web Search ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Firecrawl API แยกต่างหาก