Firecrawl
Search, scrape, map, file parsing and asynchronous crawling.
ส่งงาน crawl แบบอะซิงโครนัส
ส่งการ crawl เว็บไซต์แบบอะซิงโครนัส ระบุ url และ limit และอาจระบุตัวเลือกการ crawl และ scrape ตามเอกสาร ต้องมี Idempotency-Key HTTP 202 คืน job ใช้ id ของ job กับ endpoint การ poll ของ Felo ที่เกี่ยวข้องจนกว่าจะ completed, failed หรือ cancelled ฟิลด์ราคาของ job เป็นข้อมูลเมตาการอนุญาตและการชำระบัญชีของผู้ให้บริการ ไม่ใช่บันทึกการเรียกเก็บเงินของ Felo
ข้อมูลอ้างอิงราคา
- การวัดปริมาณการใช้งาน: อ้างอิงผลลัพธ์แบบมิเตอร์
- ค่าประมาณคำขออ้างอิง: ไม่มีข้อมูล
- ราคาอ้างอิงต่อหน่วยสำหรับลูกค้า: USD 0.005
เป็นข้อมูลเมตาอ้างอิงเท่านั้น ไม่ใช่ใบเสนอราคาสำหรับบัญชี ไม่ใช่ราคาที่รับประกัน และไม่ใช่เพดานการใช้จ่าย เครดิตของทรัพยากรไม่ใช่เครดิต Felo ยอดเรียกเก็บขั้นสุดท้ายเป็นไปตามบันทึกการเรียกเก็บเงินของ Felo
- ประเภท: stringIdempotency
- Key จำเป็นความยาว UTF-8 หลังตัดช่องว่างต้องอยู่ระหว่าง 1 ถึง 191 ไบต์
- ประเภท: integerlimitต่ำสุด:1สูงสุด:1000จำเป็น
Integer numbers.
- ประเภท: stringurlจำเป็น
URL แบบ HTTPS ที่มีชื่อโฮสต์ ไม่มีข้อมูลรับรองหรือแฟรกเมนต์ อินพุตที่ตัดช่องว่างแล้วซึ่งลงท้ายด้วย .pdf (ไม่คำนึงถึงตัวพิมพ์เล็กใหญ่) ไม่รองรับ
- ประเภท: boolean | nullallow
External Links - ประเภท: boolean | nullallow
Subdomains - ประเภท: boolean | nullcrawl
Entire Domain - ประเภท: number | nulldelayต่ำสุด:0สูงสุด:30
- ประเภท: array string[] | null …20exclude
Paths - ประเภท: boolean | nullignore
Query Parameters - ประเภท: array string[] | null …20include
Paths - ประเภท: integer | nullmax
Concurrency ต่ำสุด:1สูงสุด:20Integer numbers.
- ประเภท: integer | nullmax
Discovery Depth ต่ำสุด:0สูงสุด:10Integer numbers.
- ประเภท: object | nullscrape
Options - excludeประเภท: array string[] | null …50
Tags - includeประเภท: array string[] | null …50
Tags - maxประเภท: integer | null
Age ต่ำสุด:0สูงสุด:31536000000Integer numbers.
- minประเภท: integer | null
Age ต่ำสุด:0สูงสุด:31536000000Integer numbers.
- onlyประเภท: boolean | null
Main Content - timeoutประเภท: integer | nullต่ำสุด:1000สูงสุด:300000
Integer numbers.
- ประเภท: string | null enumsitemapค่า
- null
- skip
- include
- only
- ประเภท: object202
สำเร็จ
- ประเภท: string | null รูปแบบ: date-timecompleted
At จำเป็นthe date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- ประเภท: string | null รูปแบบ: date-timecreated
At จำเป็นthe date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- ประเภท: string | nullendpointจำเป็น
ตัวระบุการดำเนินการของผู้ให้บริการ; ใช้เส้นทางงาน Felo ที่ระบุไว้ในเอกสารสำหรับการ polling
- ประเภท: object | nullerrorจำเป็น
- codeประเภท: string | null
- messageประเภท: string | null
- ประเภท: string | nullidจำเป็น
- objectconst:integration_async_jobจำเป็น
- outputจำเป็น
- ประเภท: object | nullpricingจำเป็น
ข้อมูลเมตาการอนุญาตและการชำระบัญชีของผู้ให้บริการในหน่วย micro-USD; ไม่ใช่ยอดคงเหลือ Felo การกันวงเงิน หรือใบเสร็จการเรียกเก็บเงิน
- authorizedประเภท: integer | null
Micros U S D Integer numbers.
- billingประเภท: string | null
Mode - currencyประเภท: string | null
- finalประเภท: integer | null
Micros U S D Integer numbers.
- ประเภท: string enumstatusจำเป็นค่า
- queued
- running
- completed
- failed
- cancelled
- ประเภท: boolean | nulloutput
Expired
application/json - 400
ไม่สามารถประมวลผลคำขอได้ ตรวจสอบพารามิเตอร์ของคำขอ
- 401
จำเป็นต้องใช้คีย์ API ของ Felo ที่ถูกต้อง
- 402
ไม่สามารถดำเนินการตามคำขอได้ เนื่องจากไม่เป็นไปตามข้อกำหนดด้านการเรียกเก็บเงิน
- 403
บัญชีไม่ได้รับอนุญาตให้ดำเนินการนี้
- 429
ถึงขีดจำกัดคำขอหรือการใช้จ่ายแล้ว
- 502
บริการไม่สามารถดำเนินการตามคำขอให้เสร็จสิ้นได้
- 503
API หรือบริการเรียกเก็บเงินไม่พร้อมใช้งานชั่วคราว
- 504
บริการหมดเวลาระหว่างประมวลผลคำขอ
- default
การดำเนินการล้มเหลว โปรดเก็บ request ID ของการตอบกลับไว้เมื่อติดต่อฝ่ายสนับสนุนของ Felo
curl https://openapi.felo.ai/v1/beta/firecrawl/crawl \
--request POST \
--header 'Idempotency-Key: ' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"url": "https://example.com",
"limit": 1
}'
{
"completedAt": null,
"createdAt": null,
"endpoint": null,
"error": {
"code": null,
"message": null
},
"id": null,
"object": "integration_async_job",
"output": null,
"outputExpired": null,
"pricing": {
"authorizedMicrosUSD": null,
"billingMode": null,
"currency": null,
"finalMicrosUSD": null
},
"status": "queued"
}