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
- freeAt provider cost
- Success rate
- —No success-rate data yetLast 30 days · 0 calls
- Latency p50
- ——
- Last verified
- Jul 28, 2026Verified working
GEThttps://toolswitch.dev/v1/tools/diffbot.x.account?days=3PreviewTry onlineComing soonProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parameters
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
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
days | integer | Optional | number of days of call-volume history to return | 31 |
invoices | boolean | Optional | include invoice and payment history | |
- Query parameters
daysintegerOptionalnumber of days of call-volume history to return
Example:
31invoicesbooleanOptionalinclude invoice and payment history
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
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());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at free, including the service fee.