CurexAPI Documentation
  • CurexAPI Overview
  • Supported Currencies
  • API Endpoints
  • API Error Codes
  • API Reference
    • Real-time Rates
    • Historical Rates
    • Convert
    • Timeframe
    • Change
Powered by GitBook
On this page

API Error Codes

PreviousAPI EndpointsNextReal-time Rates

Last updated 12 months ago

If your query fails, the API returns a 4-digit error code and a plain text "info" attribute with suggestions for the user.

Example Error Response:

{
    "success": false,
    "error_code": 1002,
    "error_message": "Package limit exceeded!"
}

Common API Errors:

Code
Error

1001

Invalid access_key.

1002

Package limit exceeded.

1003

Invalid source currency code. List of currencies:

1004

Invalid target currency code. List of currencies:

1005

Invalid date format. Supported date format: YYYY-MM-DD

1006

Date must be less than today for historical data.

1007

Start date must be less than end date.

1008

Date range must be max 30 days!

1101

Upgrade your account to Basic Plan for use convert service.

1102

Upgrade your account to Pro Plan for use timeframe service.

1103

Upgrade your account to Business Plan for use change service.

Supported Currencies
Supported Currencies