Account and usage
Inspect the non-sensitive account ID, active access grant, safe key identity and current quota attached to the credential making the request.
GET
/v1/meReturns metadata only for the authenticated key. It never returns the complete API secret.
Example request
curlCurrent API identity
curl "https://api.exchangedz.com/v1/me" \
-H "Authorization: Bearer $EXDZ_API_KEY" Response
json200 OK
{
"data": {
"account": {
"id": "cm0customer..."
},
"grant": {
"id": "cm0grant...",
"provider": "manual",
"plan": "starter",
"status": "active",
"scopes": ["assets:read", "rates:read", "gold:read", "usage:read"],
"validFrom": "2026-08-01T00:00:00.000Z",
"validUntil": "2026-09-01T00:00:00.000Z",
"monthlyRequestLimit": 10000,
"requestsPerMinute": 60
},
"key": {
"publicId": "abcd1234efgh",
"prefix": "exdz_live_abcd1234efgh",
"label": "Production",
"environment": "live",
"scopes": ["assets:read", "rates:read", "gold:read", "usage:read"],
"status": "active",
"expiresAt": null,
"lastUsedAt": "2026-08-24T11:00:00.000Z"
},
"usage": {
"periodStart": "2026-08-01T00:00:00.000Z",
"resetAt": "2026-09-01T00:00:00.000Z",
"requestsUsed": 158,
"requestsRemaining": 9842,
"requestLimit": 10000,
"requestsPerMinute": 60,
"minuteRemaining": 54,
"minuteResetAt": "2026-08-24T11:01:00.000Z"
}
},
"meta": { "requestId": "req_01J6EXDZ..." }
} The sample illustrates the shape of the account summary. Nullable timestamps may be omitted or returned as null when no request has used a new key.