urlstringจำเป็น
The HTTPS URL to map.
https://api.sandbase.ai/v1/api/firecrawl/mapDiscovers and returns URLs found across a target website. Provide an HTTPS target address and define the maximum link count to map site pages.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
Returns a list of URLs found on a website, each with its page title and sometimes a short description. You send an HTTPS site address in url and the maximum number of links to return in limit.
/es/ or /ja/.curl -X POST "https://api.sandbase.ai/v1/api/firecrawl/map" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://docs.firecrawl.dev", "limit": 10}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
limit | integer | Yes | Maximum number of links to discover. |
url | string | Yes | The HTTPS URL to map. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"id": "01a1a053-d7e1-737d-a1a5-342cf89669af",
"links": [
{
"title": "Obtener el estado de la captura por lotes - Firecrawl Docs",
"url": "https://docs.firecrawl.dev/es/api-reference/endpoint/batch-scrape-get"
}
],
"success": true
}
| Field | Meaning |
|---|---|
success | Shows whether the mapping call worked. The value is true when it did. |
id | Identifier of this mapping result, in UUID-style format. |
links[] | List of discovered pages. The list holds up to limit entries. |
links[].url | Full address of the discovered page. |
links[].title | Title of the page, in the language of that page. |
links[].description | Short summary of the page. Only some links include this field. |
limit between 1 and 100000. The request needs both url and limit.url with the https:// prefix, for example https://docs.firecrawl.dev.links[].url to Firecrawl Page Scraper. For many pages at once, use Firecrawl Batch Scrape.links[].description before using it, since it does not appear on every link.$0.0075 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/firecrawl/map" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://docs.firecrawl.dev",
"limit": 10
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
urlstringจำเป็นThe HTTPS URL to map.
limitintegerจำเป็นMaximum number of links to discover.
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Firecrawl URL DiscoveryAPI นี้ Firecrawl | $0.0075 ต่อการเรียก | JSON |
Firecrawl | เริ่มต้นที่ $0.0075 ต่อครั้ง | Async JSON |
Firecrawl | เริ่มต้นที่ $0.0075 ต่อครั้ง | Async JSON |
Firecrawl | $0.0075 ต่อการเรียก | JSON |
Firecrawl | $0.015 ต่อการเรียก | 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/map โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.0075 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: url (string) และ limit (integer). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Firecrawl URL Discovery ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Firecrawl API แยกต่างหาก