Skip to main content
GET
API Key usage

Authorizations

X-Api-Key
string
header
required

Need to get API Key from AiToEarn. Click to go to "API Key Obtaining Tutorial".

Query Parameters

period
string

Usage period in YYYY-MM format. Optional; defaults to the current UTC calendar month. Example: 2026-09.

Pattern: ^\d{4}-\d{2}$
Example:

"2026-09"

Response

200 - application/json

The request has been processed by the service. Business success is determined by whether the response body has code === 0.

code
integer
required

Business status code. 0 means success; non-zero means a business error.

message
string
required

Response message.

data
object
requestId
string

Request ID.

timestamp
integer

Error response timestamp in Unix milliseconds.