API key vs. bearer token
the API uses HTTP Bearer auth, and the bearer token is your edgeful API key. if the API Reference authorization drawer asks for a “Bearer token”, paste the API key itself. do not includeBearer there; Mintlify adds it on the wire.
header format
Authorization: Bearer ef_live_<random>(single space betweenBearerand the key, no colon).- sent on every request. no session, no cookie.
- the Mintlify playground accepts the bare key (no need to type
Bearer).
key format
- keys start with the
ef_live_prefix. - plaintext is shown only once on creation.
- lost keys cannot be recovered — delete it and generate a new one.
- the dashboard shows a short display prefix so you can identify each key without exposing the full value.
plan access
your API key includes your plan. if a request is outside that plan, the API returns403 Forbidden with a short code explaining which limit was hit.
- Essential: starter reports and starter tickers, up to 6 months of history, no live data, no
detailedrows.- starter reports:
opening-stats-*,green-and-red-days-by-weekday-standard, andprevious-days-range-*. - starter tickers:
AAPLfor stocks,RTYfor futures,ETHUSDTfor crypto, andGBPCADfor forex.
- starter reports:
- Pro: all report endpoints and supported tickers, up to 12 months of history, live data included, no
detailedrows. - All Access: all report endpoints and supported tickers, up to 96 months of history, live data included,
detailedrows included when available.
403 codes: missing_entitlement, report_not_allowed, ticker_not_allowed, history_range_exceeded, and live_data_not_allowed.
error responses
401 Unauthorized— missing, malformed, or revoked key. Body shape:{"app_exception": "Unauthorized", "context": null}.403 Forbidden— valid key, but the current plan does not include the requested API access, ticker, report, live data stream, or date range.429 Too Many Requests— per-key rate limit exceeded. Default limits include 30 requests / 60 s (sustained), 5 requests / 5 s (burst), and 500 requests / hour. Body:{"detail": "API key rate limit exceeded"}. Use exponential backoff before retrying.
rotation
- generate a new key in Settings → API Keys.
- deploy the new key to your integration.
- revoke the old key — it stops authenticating immediately.
best practices
- store in environment variables / secret manager. never commit to source.
- don’t log full keys server- or client-side. mask all but last 4 chars.
- rotate when staff with access to the value leaves.