curl "https://api.pinakelai.com/v1/usage" \
-H "Authorization: Bearer $PINAKEL_API_KEY"
import os
import requests
resp = requests.get(
"https://api.pinakelai.com/v1/usage",
headers={"Authorization": f"Bearer {os.environ['PINAKEL_API_KEY']}"},
timeout=30,
)
resp.raise_for_status()
usage = resp.json()
const res = await fetch("https://api.pinakelai.com/v1/usage", {
headers: { Authorization: `Bearer ${process.env.PINAKEL_API_KEY}` },
});
const usage = await res.json();
{
"period": "2026-12",
"calls": {
"data": 4180,
"analytics": 0
},
"monthly_quota": 100000,
"rate_limit_per_minute": 600,
"key": {
"name": "Docketing sync (production)",
"mode": "live",
"products": ["data"]
}
}
{
"type": "https://docs.pinakelai.com/errors/unauthenticated",
"title": "Authentication required",
"status": 401,
"detail": "Send the API key as Authorization: Bearer <key>, not as X-API-Key.",
"request_id": "req_01M7Q41K1M2N3P4Q5R6S7T8V9W"
}
Account
Retrieve your usage
The calling key’s calls this month, its quota and rate limit.
GET
/
v1
/
usage
curl "https://api.pinakelai.com/v1/usage" \
-H "Authorization: Bearer $PINAKEL_API_KEY"
import os
import requests
resp = requests.get(
"https://api.pinakelai.com/v1/usage",
headers={"Authorization": f"Bearer {os.environ['PINAKEL_API_KEY']}"},
timeout=30,
)
resp.raise_for_status()
usage = resp.json()
const res = await fetch("https://api.pinakelai.com/v1/usage", {
headers: { Authorization: `Bearer ${process.env.PINAKEL_API_KEY}` },
});
const usage = await res.json();
{
"period": "2026-12",
"calls": {
"data": 4180,
"analytics": 0
},
"monthly_quota": 100000,
"rate_limit_per_minute": 600,
"key": {
"name": "Docketing sync (production)",
"mode": "live",
"products": ["data"]
}
}
{
"type": "https://docs.pinakelai.com/errors/unauthenticated",
"title": "Authentication required",
"status": 401,
"detail": "Send the API key as Authorization: Bearer <key>, not as X-API-Key.",
"request_id": "req_01M7Q41K1M2N3P4Q5R6S7T8V9W"
}
The calling key’s calls this month, its monthly quota and rate limit, and what the key is.
A usage call is counted like any other call. Rate limits & usage explains how calls are counted.
| Field | Meaning |
|---|---|
period | The current month, YYYY-MM, in UTC |
calls.data, calls.analytics | Counted calls this month, per product |
monthly_quota | Calls allowed per month across all products, or null for no quota |
rate_limit_per_minute | Calls allowed per UTC minute |
key.name | The key’s name in the customer portal |
key.mode | live or test |
key.products | The products the key may call: data, analytics |
curl "https://api.pinakelai.com/v1/usage" \
-H "Authorization: Bearer $PINAKEL_API_KEY"
import os
import requests
resp = requests.get(
"https://api.pinakelai.com/v1/usage",
headers={"Authorization": f"Bearer {os.environ['PINAKEL_API_KEY']}"},
timeout=30,
)
resp.raise_for_status()
usage = resp.json()
const res = await fetch("https://api.pinakelai.com/v1/usage", {
headers: { Authorization: `Bearer ${process.env.PINAKEL_API_KEY}` },
});
const usage = await res.json();
{
"period": "2026-12",
"calls": {
"data": 4180,
"analytics": 0
},
"monthly_quota": 100000,
"rate_limit_per_minute": 600,
"key": {
"name": "Docketing sync (production)",
"mode": "live",
"products": ["data"]
}
}
{
"type": "https://docs.pinakelai.com/errors/unauthenticated",
"title": "Authentication required",
"status": 401,
"detail": "Send the API key as Authorization: Bearer <key>, not as X-API-Key.",
"request_id": "req_01M7Q41K1M2N3P4Q5R6S7T8V9W"
}
Authorizations
Your API key: Authorization: Bearer pk_live_... (or pk_test_...).
Response
Successful Response