ezForex
Toggle sidebar
Log in
API documentation

Use the ezForex JSON API to authenticate, list currencies, download rates relative to a base currency, convert amounts with the latest exchange-rate snapshot, and inspect your API usage.

Authenticated API access starts with Starter
Free accounts can use the signed-in web tools. Choose Starter or higher to create API keys and call protected endpoints.
Base URL
All endpoints are prefixed with /api. Authenticated requests require a Sanctum Bearer token.
Endpoints
Method Path Auth Description
POST /api/login No Issue a Bearer token
GET /api/currencies Yes List supported currencies
GET /api/convert/{from}/{amount}/{to} Yes Convert an amount
POST /api/convert/batch Yes Convert several items
GET /api/rates/{base} Yes Download rates vs a base currency
GET /api/usage Yes Inspect API usage
GET /api/history/{from}/{to} Yes Retrieve historical snapshots
GET /embed/convert Embed key Render the embeddable converter
Quick start
  1. Create a named API key with the required abilities.
  2. Send the token in the Authorization header on subsequent requests.
  3. Call /api/currencies or /api/rates/{base}, then /api/convert/{from}/{amount}/{to} as needed.
  4. Call /api/usage to review plan-specific quotas and recent activity.
  5. Respect daily rate limits; see the Rate limits page for quotas and 429 responses.