Daily usage
Beta GET /v1/account/usage/daily
GET /v1/account/usage/daily
Requests and credits charged per day for the last 30 days. Free.
- Cost: Free
- Status: Beta. Built and tested against recorded responses; the shape may still gain fields.
- 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).
curl "https://api.socialscrape.io/v1/account/usage/daily" \
-H "x-api-key: $SOCIALSCRAPE_API_KEY"import os
import requests
res = requests.get(
"https://api.socialscrape.io/v1/account/usage/daily",
headers={"x-api-key": os.environ["SOCIALSCRAPE_API_KEY"]},
)
body = res.json()
if body["ok"]:
print(body["data"])
else:
print(body["error"]["code"], body["error"]["message"])const res = await fetch("https://api.socialscrape.io/v1/account/usage/daily", {
headers: { "x-api-key": process.env.SOCIALSCRAPE_API_KEY! },
});
const body = await res.json();
if (body.ok) {
console.log(body.data);
} else {
console.error(body.error.code, body.error.message);
}{
"nodes": [
{
"name": "SocialScrape Daily usage",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
0,
0
],
"parameters": {
"method": "GET",
"url": "https://api.socialscrape.io/v1/account/usage/daily",
"sendQuery": false,
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "x-api-key",
"value": "={{ $env.SOCIALSCRAPE_API_KEY }}"
}
]
}
}
}
],
"connections": {}
}Example response#
This is a sample with illustrative values. Status 200.
{
"ok": true,
"credits_charged": 0,
"credits_remaining": 5000,
"cached": false,
"cached_at": null,
"request_id": "req_2b2adb48322e8b14374eabe9",
"data": {
"object": "list",
"items": [
{
"object": "usage_stat",
"date": "2026-10-29",
"endpoint": null,
"requests": 120,
"credits_charged": 95
},
{
"object": "usage_stat",
"date": "2026-10-28",
"endpoint": null,
"requests": 84,
"credits_charged": 70
}
],
"cursor": null,
"has_more": false
},
"cursor": null,
"has_more": false
}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.
| Code | HTTP | Retry | Meaning |
|---|
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.
Related endpoints#
- Credit balance (
GET /v1/account/credits) - Request history (
GET /v1/account/usage) - Most used endpoints (
GET /v1/account/usage/routes)