Get account Bot traffic usage
GET https://datafa.st/api/v1/admin/bot-traffic/usageReturn the account-wide Bot traffic allowance shown on the billing page: accepted usage, dropped requests after the limit, remaining capacity, paid packs, billing-cycle dates, and usage by website.
MCP equivalent:
datafast_bot_traffic_usage. This endpoint reports capacity but never purchases it or charges a payment method; capacity changes remain a human-confirmed action in Billing.Related: Bot traffic API · Billing
Request
This endpoint does not require any path, query, or body parameters.
Response
Returns a JSON object with
status: "success" and endpoint-specific fields in data (and pagination when the endpoint is paginated).Response fields
data[].usage.usagenumber
Accepted requests in the current allowance period.
data[].usage.droppednumber
Eligible requests not recorded after capacity was exhausted.
data[].usage.allowancenumber
Included and paid request capacity combined.
data[].usage.remainingnumber
Unused requests in the current period.
data[].usage.percentUsednumber
Usage as a percentage of allowance, capped at 100.
data[].usage.periodStartAtstring
Current billing-cycle usage start.
data[].usage.resetAtstring
When usage resets to zero.
data[].usage.isCountingboolean
Whether allowance counting is active.
data[].websiteStats[]array
Only websites with usage, including website ID, domain, logo, and request count.
data[].billingobject
Add-on status, pack quantity, scheduled change, price, and billing-cycle state.
data[].includedRequestsnumber
Free requests included per billing cycle.
data[].packRequestsnumber
Requests included in each paid pack.
data[].packMonthlyPricenumber
Monthly price in USD for one pack.
data[].canViewboolean
Whether the account can view Bot traffic capacity.
data[].canPurchaseboolean
Whether the account can purchase or change capacity.
Authentication
Requires an owner
dft_ account token with analytics:read. Website API keys (df_) cannot call this endpoint.The token must have access to all websites on the account (
websiteIds: []) because Bot traffic allowance is account-wide.The account must have active DataFast API access. Read authentication and scopes for token creation and permissions.
Errors
403 — The token is website-scoped, lacks
analytics:read, or the account has no API access.404 — Account not found.
503 — Usage is temporarily unavailable.
See API errors for the standard error envelope, auth failures, validation errors, permission errors, and rate limits.