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
- freeZum Anbieterpreis
- Success rate
- —Noch keine ErfolgsratendatenLast 30 days · 0 calls
- Latency p50
- ——
- Last verified
- 28.07.2026Verified working
GEThttps://toolswitch.dev/v1/tools/diffbot.x.account?days=3PreviewTry onlineDemnächstProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parameter
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 | Typ | Erforderlich | Beschreibung | Beispiel |
|---|---|---|---|---|
| Abfrageparameter | ||||
days | Ganzzahl | Optional | number of days of call-volume history to return | 31 |
invoices | Boolean | Optional | include invoice and payment history | |
- Abfrageparameter
daysGanzzahlOptionalnumber of days of call-volume history to return
Beispiel:
31invoicesBooleanOptionalinclude invoice and payment history
Codebeispiele
Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.
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());Diese Gateway-API ist eine Vorschauversion; URL und Authentifizierung können sich ändern. Die Beispielparameter sind Musterdaten. Aufrufe werden mit free einschließlich Servicegebühr abgerechnet.