402: Payment Required
A 402 PAYMENT REQUIRED means your request is valid, but your current plan does not include the specific data or feature you requested.
This is a plan entitlement issue, not an authentication issue and not a rate-limit issue.
Fast Triage
You are likely hitting 402 when one of these is true:
- You requested historical data older than your plan allows.
- You requested a premium endpoint from Free/Trial.
- You requested
mode=cachedfrom Free/Trial.
What Triggers 402 by Plan
Free Forever and Trial Plans
Common 402 causes:
- Historical query older than 1 year.
- Premium endpoint request.
mode=cachedrequest.
Starter Plan
Common 402 cause:
- Historical query older than 5 years.
Trader, Quant, Prime
Trader, Quant, and Prime should not receive 402 PAYMENT REQUIRED for standard plan usage.
If you receive 402 on one of these plans, treat it as unexpected and contact support with the full request/response details.
Historical Age Rules
- Free Forever and Trial plans: up to 1 year of historical data
- Starter: up to 5 years of historical data
- Trader/Quant/Prime: no historical age limit
mode=cached Rule
mode=cached is a paid-plan feature.
- Free/Trial:
mode=cachedis not available and can produce402 - Paid plans: available on supported endpoints
For mode details, see Data Mode.
Premium Endpoint Rule
Free/Trial plans can access standard pricing endpoints but not premium endpoint features. Premium endpoint requests from Free/Trial can produce 402.
For plan-level capability details, see Plan Limits.
30-Second Fix Checklist
- Confirm your current plan in the dashboard.
- If historical request: reduce date range to your plan limit.
- If using Free/Trial: remove
mode=cached. - If using Free/Trial: switch from premium endpoint to standard endpoint (or upgrade).
- Retry after adjusting request scope/feature usage.
Common Scenarios
Scenario 1: "I requested 3 years of history on Free/Trial"
What happened:
- Plan allows only 1 year of historical data.
What to do:
- Reduce to
<= 1 yearor upgrade.
Scenario 2: "I requested 10 years on Starter"
What happened:
- Starter allows up to 5 years of historical data.
What to do:
- Reduce to
<= 5 yearsor upgrade to Trader/Quant/Prime.
Scenario 3: "I used mode=cached on Trial"
What happened:
- Trial does not support cached mode.
What to do:
- Remove
mode=cachedon Trial or move to a paid plan.
Scenario 4: "I called a premium endpoint on Free/Trial"
What happened:
- Premium endpoint access is not included on Free/Trial.
What to do:
- Use a standard endpoint or upgrade plan.
When to Contact Support
Contact support if you believe the request should be allowed on your current plan.
Include:
- Endpoint and full query parameters
- Date range requested
- Your current plan
- Full response payload and headers