Your key's plan and usage
GET
/me
const url = 'https://api.getchord.xyz/v1/me';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.getchord.xyz/v1/me \ --header 'X-API-Key: <X-API-Key>'The tier, limits and usage (today, this month) behind an API key. Keys are created on getchord.xyz/developer after a Google sign-in.
Authorizations
Section titled “Authorizations”Responses
Section titled “ Responses ”Media typeapplication/json
object
email
string | null
tier
string
limits
object
rpm
integer
monthly
integer
priceUsd
number
label
string
usage
object
today
integer
month
integer
Example
{ "tier": "free", "limits": { "rpm": 60, "monthly": 100000, "priceUsd": 0, "label": "Free" }, "usage": { "today": 41, "month": 1209 }}Missing or unknown credential (UNAUTHORIZED).
Media typeapplication/json
Every non-2xx body.
object
error
required
Stable machine code, e.g. INVALID_PARAMS, NOT_READY, RATE_LIMIT_EXCEEDED.
string
message
For humans.
string
statusCode
HTTP status, when included.
integer
Example
{ "error": "INVALID_PARAMS", "message": "amount must be an integer string in the token's smallest unit"}