Get started
Authentication
https://docs.importexportapi.com/authentication
Every request is authenticated with an API key created in the dashboard. Keys are secrets: call the API from your backend, never from a browser or mobile app.
Authenticated request
curl -X GET "https://api.importexportapi.com/trade" \
-H "Authorization: Bearer sk_live_xxxxxxxxxxxxxxxxxxxx"Get a key
- 1
Create an account
Sign up at app.importexportapi.com. - 2
Create an API key
Dashboard → API keys → Create. The full key is shown once; copy it into your secret store. - 3
Send it on every request
Use the header below. Revoke and rotate keys from the same page at any time; a revoked key returns401immediately.
Header
AuthorizationstringheaderrequiredBearer token. Format: `Bearer sk_live_xxxxxxxxxxxxxxxxxxxx`. API key from your importexportapi dashboard
Details
All requests require a Bearer API key from your dashboard.
Authorization: Bearer sk_live_xxxxxxxxxxxxxxxxxxxx
Keep keys server-side
Anyone holding a key can spend your credits. If a key leaks, revoke it in the dashboard and create a new one.