1
Change the base URL
https://api.dexpaprika.com becomes https://api-pro.dexpaprika.com2
Send your API key on every request
Authorization: api_your_personal_api_key, with the key as the entire header
value. Copy it from console.dexpaprika.com.Before and after
Send the key as the entire
Authorization header value, nothing before it and
nothing after it. If your HTTP client only offers a token field that prepends a
scheme word for you, do not use it; set a raw header instead.If you use our SDKs or the streaming API
SDKs and the CLI
SDKs and the CLI
Every official SDK takes the base URL and the key as configuration, so you do
not have to touch call sites. Set the Pro host and your key once where the
client is constructed. The SDK pages show the option
name for each language.
Streaming
Streaming
Streaming has the same split.
streaming.dexpaprika.com serves the free tier
and streaming-pro.dexpaprika.com serves paid plans, with the same
Authorization header. Moving your REST calls does not move your streams: an
event source left pointing at the free host stays on free-tier terms, which
limit a keyless caller to the showcase assets. Details on the
streaming introduction.MCP servers and AI agents
MCP servers and AI agents
Anything configured with a DexPaprika base URL needs the same change, including
MCP server configs and agent tool definitions. See
AI integration.
What each error means
The two hosts fail in different ways, and telling them apart tells you which half of the change is missing.One check that tells you which host you are on
GET /usage is never served from cache, so it always reflects the host and plan you are
really talking to. Run it against the free host with your key:
403 with "error": "wrong_host" and names the host to use. On
a free plan it answers 200 with your plan and remaining credits. The same call against
https://api-pro.dexpaprika.com/usage is the mirror: 200 with your paid plan when you are
in the right place.
Retune your client
1
Raise your rate limiter
Pro’s per-minute ceiling is far above the free tier’s, so a throttle tuned for
free-tier traffic now leaves most of your allowance unused. Keep the throttle
and the
429 backoff, and raise the threshold to the figure for your plan on
the rate limits page.2
Drop the polling you added to work around the delay
The free tier serves data with a delay; Pro is real time. Anything you built to
re-poll for fresher numbers is now spending credits for nothing.
3
Watch your credits
Track spend in the console, or call
GET /usage from your own code. One request costs one credit, batch endpoints
cost one credit per item, and every streaming update delivered costs one
credit.4
Check both environments
Each account has exactly one API key, so staging and production share a quota.
A test loop spends the same allowance your production traffic depends on.
Checklist
Before you deploy
Before you deploy
- Every
api.dexpaprika.comin your codebase, config and environment files is nowapi-pro.dexpaprika.com - The
Authorizationheader is set on every request, not only the first one - The key comes from an environment variable or a secret store, never from source
- Streaming clients point at
streaming-pro.dexpaprika.com - Your rate limiter is set to your plan’s ceiling
- You have handled
402separately from429, because retrying a402never succeeds
Where to go next
Pro API introduction
What the Pro API includes, endpoint by endpoint
Rate limits and credits
Current ceilings and allowances for every plan
Error handling
Every status code the API returns and how to handle it
Console
Your key, your usage and your billing