Endpoint reference
Account
Check your plan, credit balance and rate limit — programmatically.
/v1/accountCheck your plan, credit balance and rate limit — programmatically.
Synchronous control-plane endpoint
202/jobId — and uses a bare { data } envelope with no metered meta block. It is free and works with both scout_test_ and scout_live_ keys.Programmatic account introspection for the authenticated key: credit balance, plan (code / name / subscription status), key environment (live | sandbox) and the per-plan rate limit (requests per minute). Works for both live and sandbox keys, is read-only, synchronous and free — use it to check your balance from code instead of inferring it from meta.creditsCharged on each call.
Parameters
None — this endpoint takes no query parameters. Authenticate with your Bearer API key; the response describes the account that key belongs to.
Request & response
GET /v1/account
Host: api.scoutingapi.com
Authorization: Bearer scout_live_…
Accept: application/json{
"data": {
"plan": { "code": "free", "name": "Free / Sandbox", "status": "active" },
"key": { "env": "sandbox" },
"credits": { "balance": 100 },
"rateLimit": { "requestsPerMinute": 30 }
}
}Code samples
The same call in every language that matters — all returning the identical unified schema.
curl -sS "https://api.scoutingapi.com/v1/account" \
-H "Authorization: Bearer $SCOUTINGAPI_KEY"Try it
Run this endpoint against the deterministic sandbox right now — a real 200, zero credits, no sign-up. The credit cost of the equivalent live call is 0 credits.
/v1/accountRuns GET /v1/account with the shared demo sandbox key — a real 200, zero credits. It reports that demo account’s plan, balance and rate limit; paste your own key to see yours.
Run the call to see a live, deterministic sandbox response.
curl -sS "https://api.scoutingapi.com/v1/account" \
-H "Authorization: Bearer $SCOUTINGAPI_KEY"Notes & gotchas
Synchronous control-plane — never a 202
balance is the ledger balance at auth time