Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.nexroute.io/llms.txt

Use this file to discover all available pages before exploring further.

The nexroute API uses API keys to authenticate requests.

Authentication Header

Authentication to the API is performed via the X-API-Key header. You must include your API key in every request to the API.
X-API-Key: <YOUR_API_KEY>

Example Request

Here is an example of a request authenticated with an API key:
curl https://api.nexroute.io/v1/quote \
  -H "X-API-Key: 123456789" \
  ...

Error Codes

If your API key is missing, invalid, or expired, the API will return a 401 Unauthorized error.
CodeDescription
UNAUTHORIZEDAPI key is missing or invalid.
KEY_EXPIREDAPI key has expired. Please reach out to our team to renew.
Your API keys carry many privileges, so be sure to keep them secure! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, etc.