Check API plan and request usage
View your API key's plan, daily allowance and current usage.
GET /account
Daily allowances reset at 00:00 UTC. Short request bursts also have a per-minute limit. Use the response headers and Retry-After on a 429 response to pace requests.
Authentication
Send your key in the X-API-Key header. Keep the key out of URLs and shared logs.
Example request
curl --fail-with-body -X GET \
"https://polymarket.omray.dev/account" \
-H "X-API-Key: $PM_API_KEY"Responses
| Status | Meaning |
|---|---|
200 | Successful Response |
Authenticated requests can return 401 for an invalid key or 429 when a plan limit is reached. Upstream failures may return a server error; do not treat an error as an empty dataset.
OpenAPI operation schema
{
"tags": [
"Account"
],
"summary": "API plan and request usage",
"operationId": "account",
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Account"
}
}
}
}
},
"security": [
{
"APIKeyHeader": []
}
]
}