curl -H "X-API-Key: YOUR_KEY" \
"https://api.tradingnews.press/v1/account/usage"
import httpx
resp = httpx.get(
"https://api.tradingnews.press/v1/account/usage",
headers={"X-API-Key": "YOUR_KEY"}
)
usage = resp.json()
print(f"Tier: {usage['tier']}, Rate limit: {usage['rate_limit']} req/min")
{
"tier": "pro",
"rate_limit": 30,
"period_end": "2026-05-07T00:00:00Z"
}
API Reference
Get Usage
Check your plan tier and rate limit
GET
/
v1
/
account
/
usage
curl -H "X-API-Key: YOUR_KEY" \
"https://api.tradingnews.press/v1/account/usage"
import httpx
resp = httpx.get(
"https://api.tradingnews.press/v1/account/usage",
headers={"X-API-Key": "YOUR_KEY"}
)
usage = resp.json()
print(f"Tier: {usage['tier']}, Rate limit: {usage['rate_limit']} req/min")
{
"tier": "pro",
"rate_limit": 30,
"period_end": "2026-05-07T00:00:00Z"
}
This endpoint is free — it does not count against your rate limit.
Response
string
Your current plan. One of:
starter— $20/mo, 1 req/minpro— $50/mo, 30 req/min, WebSocket accessmax— $100/mo, Pro features plus semantic search and per-ticker sentiment, 60 req/minexpired— 7-day grace window after cancellation, throttled to 1 req/minfree— never-subscribed key, blocked from API access
integer
Your per-minute request limit.
string?
ISO 8601 datetime when the current billing period ends.
null if no active subscription.curl -H "X-API-Key: YOUR_KEY" \
"https://api.tradingnews.press/v1/account/usage"
import httpx
resp = httpx.get(
"https://api.tradingnews.press/v1/account/usage",
headers={"X-API-Key": "YOUR_KEY"}
)
usage = resp.json()
print(f"Tier: {usage['tier']}, Rate limit: {usage['rate_limit']} req/min")
{
"tier": "pro",
"rate_limit": 30,
"period_end": "2026-05-07T00:00:00Z"
}