Skip to content
Browse the docs

Account

Token balance

Tokens left on the key's account. Free, and works at a balance of 0.

GET/api/v1/twitter/balance

Price

0 tokens per call; failed calls are refunded except 404 (not found).

Parameters

No parameters.

Request

curl
curl "https://api.xscraper.online/api/v1/twitter/balance" \
  -H "x-api-key: $XSCRAPER_KEY"

Response

200 OK (example shape)
{
  "success": true,
  "message": "…",
  "data": {
    "tokens": 990
  },
  "errors": null
}

Try it

Estimated cost 0 tokens

Kept in this tab only and sent only as the x-api-key header of this request.

GET /api/v1/twitter/balance

The response, its status and the tokens it cost appear here.