Firecrawl
Search, scrape, map, file parsing and asynchronous crawling.
非同期のクロールジョブを送信
非同期のウェブサイトクロールを送信します。url と limit を指定し、任意でドキュメントに記載されたクロールとスクレイピングのオプションを指定します。Idempotency-Key は必須です。HTTP 202 はジョブを返します。その id を対応する Felo のポーリングエンドポイントに渡し、completed、failed、cancelled のいずれかになるまで繰り返します。ジョブの価格フィールドはプロバイダーの承認と決済のメタデータであり、Felo の請求記録ではありません。
料金の参考情報
- 計量方式:結果単位の参考値。
- 参考リクエスト見積もりはありません。
- 顧客単位の参考価格:USD 0.005。
参考情報のメタデータであり、アカウントへの見積もり、保証された価格、支出上限ではありません。リソースクレジットは Felo クレジットではありません。最終的な請求は Felo の請求記録に従います。
- 型: stringIdempotency
- Key 必須トリム後の UTF-8 長は 1~191 バイトでなければなりません。
- 型: integerlimit最小値:1最大値:1000必須
Integer numbers.
- 型: stringurl必須
ホスト名を含む HTTPS URL で、認証情報やフラグメントを含みません。空白を削除した入力が .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 列挙値sitemap値
- 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 ジョブパスを使用してください。
- 型: object | nullerror必須
- code型: string | null
- message型: string | null
- 型: string | nullid必須
- object定数:integration_async_job必須
- output必須
- 型: object | nullpricing必須
マイクロ 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 列挙値status必須値
- queued
- running
- completed
- failed
- cancelled
- 型: boolean | nulloutput
Expired
application/json - 400
リクエストを処理できませんでした。リクエストパラメータを確認してください。
- 401
有効な Felo API キーが必要です。
- 402
請求要件が満たされていないため、リクエストを続行できません。
- 403
このアカウントにはこの操作を行う権限がありません。
- 429
リクエストまたは支出の上限に達しました。
- 502
サービスがリクエストを完了できませんでした。
- 503
API または請求サービスが一時的に利用できません。
- 504
リクエストの処理中にサービスがタイムアウトしました。
- default
操作に失敗しました。Felo サポートに問い合わせる際は、レスポンスのリクエスト ID を保持してください。
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"
}