Scrape a web page
firecrawl.web.scrapeFetch one page as Markdown, HTML or links.
- Price
- $0.005/successプロバイダー原価
- Success rate
- 38.7%Last 30 days · 159,976 calls
- Latency p50
- 2.3 sp95 8.2 s
- Last verified
- 2026/09/28Verified working
POSThttps://toolswitch.dev/v1/tools/firecrawl.web.scrapePreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
Pass parsers: [] to keep PDF URLs at the flat one-credit rate; PDF content is then returned as base64. JSON, question, highlights, threat scans and other charged options are excluded. A target 403/404 document is billable; an upstream request with no document is free.
このツールにパラメータはありません。プロバイダのドキュメント ↗ を参照してください Provider docs
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X POST 'https://toolswitch.dev/v1/tools/firecrawl.web.scrape' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"url":"https://example.com","maxAge":0,"formats":["markdown"],"parsers":[]}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/firecrawl.web.scrape",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"url\":\"https://example.com\",\"maxAge\":0,\"formats\":[\"markdown\"],\"parsers\":[]}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/firecrawl.web.scrape", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"url\":\"https://example.com\",\"maxAge\":0,\"formats\":[\"markdown\"],\"parsers\":[]}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.005/success です。サービス料を含みます。