Firecrawl
Search, scrape, map, file parsing and asynchronous crawling.
Kirim tugas crawl asinkron.
Kirim crawl situs web asinkron. Sediakan url dan limit; opsional opsi crawl dan scrape yang didokumentasikan. Idempotency-Key wajib. HTTP 202 mengembalikan tugas; gunakan id-nya dengan endpoint polling Felo yang sesuai hingga completed, failed, atau cancelled. Field harga tugas adalah metadata otorisasi dan penyelesaian penyedia, bukan catatan tagihan Felo.
Referensi harga
- Metering: Referensi hasil terukur.
- Estimasi referensi per permintaan tidak tersedia.
- Harga referensi unit pelanggan: USD 0.005.
Hanya metadata referensi, bukan penawaran akun, harga yang dijamin, atau batas pengeluaran. Kredit sumber daya bukanlah kredit Felo. Biaya akhir mengikuti catatan tagihan Felo.
- Tipe: stringIdempotency
- Key wajibPanjang UTF-8 setelah dipangkas harus 1 hingga 191 byte.
- Tipe: integerlimitmin:1maks:1000wajib
Integer numbers.
- Tipe: stringurlwajib
URL HTTPS dengan nama host, tanpa kredensial atau fragmen. Input yang dipangkas dan diakhiri dengan .pdf (tidak peka huruf besar/kecil) tidak didukung.
- Tipe: boolean | nullallow
External Links - Tipe: boolean | nullallow
Subdomains - Tipe: boolean | nullcrawl
Entire Domain - Tipe: number | nulldelaymin:0maks:30
- Tipe: array string[] | null …20exclude
Paths - Tipe: boolean | nullignore
Query Parameters - Tipe: array string[] | null …20include
Paths - Tipe: integer | nullmax
Concurrency min:1maks:20Integer numbers.
- Tipe: integer | nullmax
Discovery Depth min:0maks:10Integer numbers.
- Tipe: object | nullscrape
Options - excludeTipe: array string[] | null …50
Tags - includeTipe: array string[] | null …50
Tags - maxTipe: integer | null
Age min:0maks:31536000000Integer numbers.
- minTipe: integer | null
Age min:0maks:31536000000Integer numbers.
- onlyTipe: boolean | null
Main Content - timeoutTipe: integer | nullmin:1000maks:300000
Integer numbers.
- Tipe: string | null enumsitemapnilai
- null
- skip
- include
- only
- Tipe: object202
Berhasil
- Tipe: string | null Format: date-timecompleted
At wajibthe date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- Tipe: string | null Format: date-timecreated
At wajibthe date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- Tipe: string | nullendpointwajib
Pengenal operasi penyedia; gunakan jalur tugas Felo yang didokumentasikan untuk polling.
- Tipe: object | nullerrorwajib
- codeTipe: string | null
- messageTipe: string | null
- Tipe: string | nullidwajib
- objectconst:integration_async_jobwajib
- outputwajib
- Tipe: object | nullpricingwajib
Metadata otorisasi dan penyelesaian penyedia dalam micro-USD; bukan saldo Felo, penahanan, atau tanda terima tagihan.
- authorizedTipe: integer | null
Micros U S D Integer numbers.
- billingTipe: string | null
Mode - currencyTipe: string | null
- finalTipe: integer | null
Micros U S D Integer numbers.
- Tipe: string enumstatuswajibnilai
- queued
- running
- completed
- failed
- cancelled
- Tipe: boolean | nulloutput
Expired
application/json - 400
Permintaan tidak dapat diproses. Periksa parameter permintaan.
- 401
Kunci API Felo yang valid diperlukan.
- 402
Permintaan tidak dapat dilanjutkan karena persyaratan penagihan belum terpenuhi.
- 403
Akun tidak diizinkan melakukan operasi ini.
- 429
Batas permintaan atau batas pengeluaran telah tercapai.
- 502
Layanan tidak dapat menyelesaikan permintaan.
- 503
API atau layanan penagihan untuk sementara tidak tersedia.
- 504
Layanan kehabisan waktu saat memproses permintaan.
- default
Operasi gagal. Simpan ID permintaan respons saat menghubungi dukungan 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"
}