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.
Required entitlement
Bearer key required · JSON · v1 usage:read Account and usage 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",
"usage:read",
"rates:parallel:latest:read",
"rates:official:latest:read",
"market:premium:read",
"rates:parallel:history:read",
"rates:official:history:read",
"gold:latest:read",
"gold:history: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",
"usage:read",
"rates:parallel:latest:read",
"rates:official:latest:read",
"market:premium:read",
"rates:parallel:history:read",
"rates:official:history:read",
"gold:latest:read",
"gold:history: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 scope lists contain canonical entitlements, including for older keys that were issued with a legacy umbrella permission. Nullable timestamps may be omitted or returned as null when no request has used a new key.