Daily usage API
  1. Docs
  2. Account
  3. Daily usage API

Daily usage API

Requests and credits charged per day for the last 30 days.

GET /v1/account/usage/daily

GET /v1/account/usage/daily

Requests and credits charged per day for the last 30 days. Free.

  • Cost: Free
  • Cache: Not cached.

Parameters#

This endpoint takes no parameters of its own.

Every request also accepts:

  • cursor: the cursor from the previous page (Pagination).

Example request#

Set your key in the environment first (see Authentication).

1curl "https://api.socialscrape.dev/v1/account/usage/daily" \2  -H "x-api-key: $SOCIALSCRAPE_API_KEY"

Example response#

This is a sample with illustrative values. Status 200.

200 OKSample response
1{2  "ok": true,3  "credits_charged": 0,4  "credits_remaining": 5000,5  "cached": false,6  "cached_at": null,7  "request_id": "req_2b2adb48322e8b14374eabe9",8  "data": {9    "object": "list",10    "items": [11      {12        "object": "usage_stat",13        "date": "2026-10-29",14        "endpoint": null,15        "requests": 120,16        "credits_charged": 9517      },18      {19        "object": "usage_stat",20        "date": "2026-10-28",21        "endpoint": null,22        "requests": 84,23        "credits_charged": 7024      }25    ],26    "cursor": null,27    "has_more": false28  },29  "cursor": null,30  "has_more": false31}

Response#

A list of UsageStat objects in data.items, with data.cursor and data.has_more.

See Data models for every field. The envelope around data is described in Responses.

Errors#

Failures are free: credits_charged is 0. Branch on error.code, never on the message.

CodeHTTPRetryMeaning

Every request can also fail with the account and platform errors listed on the Errors page.

Also served at#

These paths answer the same request, so code written for other APIs keeps working: /v1/account/get-daily-usage-count. See Switching from ScrapeCreators.