Get page contents by URL
exa.web.contents.getGet the full page contents, summaries, and metadata for a list of URLs.
- Price
- $0.001/resultプロバイダー原価
- Success rate
- 92.1%Last 30 days · 140,072 calls
- Latency p50
- 89 msp95 6 s
- Last verified
- 2026/08/27Verified working
POSThttps://toolswitch.dev/v1/tools/exa.web.contents.getPreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
each result carries url, title, author, publishedDate and whichever of text / highlights / summary was asked for; `statuses` says per URL whether it came from cache or a live crawl, or failed. Request only the content types you need — each one is a separate $0.001 per page.
このツールにパラメータはありません。プロバイダのドキュメント ↗ を参照してください Provider docs
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X POST 'https://toolswitch.dev/v1/tools/exa.web.contents.get' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"text":{"maxCharacters":2000},"urls":["https://en.wikipedia.org/wiki/Hierarchical_navigable_small_world"]}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/exa.web.contents.get",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"text\":{\"maxCharacters\":2000},\"urls\":[\"https://en.wikipedia.org/wiki/Hierarchical_navigable_small_world\"]}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/exa.web.contents.get", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"text\":{\"maxCharacters\":2000},\"urls\":[\"https://en.wikipedia.org/wiki/Hierarchical_navigable_small_world\"]}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.001/result です。サービス料を含みます。