Skip to main content
GET
Account info
GET https://api-datahub.octoparse.com/v1/account Authentication: API key required (Authorization: Bearer <API Key>). Identity and lifetime data spend for the account behind the current credential. This endpoint has no time dimension. For spend by period and dimension use Billing aggregation. total_spent is data fees only—the amount billed from app price tables against run output. Wallet balance, top-ups, and invoices are outside the Data Hub API; check the Octoparse account center. Every API key on the same account sees the same lifetime total.

Request

Example request

Response

200 success

The payload is wrapped in data. Fields:
string
required
Stable account id.
string
Current username, also the first segment of apps you publish as <username>/<app_name>. null when unset.
number
required
Lifetime data spend.
string
Currency.

Errors

Error responses use {"error": {code, category, message, retryable}}. See Errors.

Client libraries