How Authentication Works
Include the following header in every API request:YOUR_API_KEY with the key you generate from your DEXUtils platform. The header is required on all endpoints — there are no public Pro API routes.
Get Your API Key (TBD)
1
Log in to DEXUtils Platform
Go to Platform and sign in to your account.
2
Open API Keys settings
Click your avatar in the top-right corner, then navigate to Settings → API Keys.
3
Generate a new key
Click Generate New Key, give the key a descriptive label (for example,
production-bot or analytics-dashboard), and confirm.4
Copy and store the key securely
Your key is displayed once. Copy it immediately and store it in a secrets manager or environment variable. You cannot retrieve the full key again after closing the dialog.
Code Examples
The examples below authenticate against theGET /news endpoint, which retrieves the latest cryptocurrency news.
Authentication Errors
If the API rejects your request due to an authentication problem, you’ll receive one of the following HTTP error responses:
Each error response includes a JSON body with a
error field. See the Error Codes reference for the full list of error shapes and recommended handling strategies.