Diffbot plan and usage
diffbot.x.accountRetrieves account plan tier, monthly credit allowance, token status, child tokens and a daily usage breakdown by API
- Price
- freeプロバイダー原価
- Success rate
- —成功率データはまだありませんLast 30 days · 0 calls
- Latency p50
- ——
- Last verified
- 2026/07/28Verified working
GEThttps://toolswitch.dev/v1/tools/diffbot.x.account?days=3PreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
different HOST than base_url — api.diffbot.com/v4, not kg.diffbot.com/kg/v3. This is the same URL OAuthProvider DIFFBOT uses as probe_url
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
days | 整数 | 任意 | number of days of call-volume history to return | 31 |
invoices | 真偽値 | 任意 | include invoice and payment history | |
- クエリパラメータ
days整数任意number of days of call-volume history to return
例:
31invoices真偽値任意include invoice and payment history
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/diffbot.x.account?days=3' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/diffbot.x.account?days=3",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/diffbot.x.account?days=3", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は free です。サービス料を含みます。