← APIs / exchangerate.host
Verified

exchangerate.host

Apiosk Basicsby Apiosk Basics · General

Foreign-exchange rates for 168 currencies: live quotes and currency conversion.

financeapi
Price per request
$0.06
About

exchangerate.host provides real-time and historical foreign-exchange rates for 168 world currencies plus currency conversion. This listing proxies it through the Apiosk gateway with pay-per-call billing; the upstream access key is injected by the gateway so callers never handle it.

Base URL
https://gateway.apiosk.com/exchangerate-host
Technical Specs
Auth MethodapiKey
Response FormatJSON
Endpoints2
Endpoints
MethodPathDescriptionCost
GET /convert Convert an amount from one currency to another at the live rate; returns the computed result plus the quote used.
$0.06 default
View details
GET /live Live exchange-rate quotes for a source currency against one or more target currencies (quotes keyed as SOURCE+TARGET).
$0.06 default
View details
Endpoint documentation
GET/convert
$0.06 default
Description

Convert an amount from one currency to another at the live rate; returns the computed result plus the quote used.

Pricing
$0.06 default
Parameters
{
  "amount": {
    "description": "Amount to convert.",
    "example": "100",
    "required": true,
    "type": "number"
  },
  "from": {
    "description": "Source currency code.",
    "example": "USD",
    "required": true,
    "type": "string"
  },
  "to": {
    "description": "Target currency code.",
    "example": "EUR",
    "required": true,
    "type": "string"
  }
}
Response schema
{
  "properties": {
    "info": {
      "properties": {
        "quote": {
          "description": "Exchange rate applied.",
          "type": "number"
        },
        "timestamp": {
          "type": "integer"
        }
      },
      "type": "object"
    },
    "query": {
      "properties": {
        "amount": {
          "type": "number"
        },
        "from": {
          "type": "string"
        },
        "to": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "result": {
      "description": "Converted amount.",
      "type": "number"
    },
    "success": {
      "type": "boolean"
    }
  },
  "type": "object"
}
Example response
{
  "info": {
    "quote": 0.87479,
    "timestamp": 1783016465
  },
  "query": {
    "amount": 100,
    "from": "USD",
    "to": "EUR"
  },
  "result": 87.479,
  "success": true
}
GET/live
$0.06 default
Description

Live exchange-rate quotes for a source currency against one or more target currencies (quotes keyed as SOURCE+TARGET).

Pricing
$0.06 default
Parameters
{
  "currencies": {
    "description": "Comma-separated target currencies to limit the result.",
    "example": "EUR,GBP,JPY",
    "required": false,
    "type": "string"
  },
  "source": {
    "description": "Source currency (default USD).",
    "example": "USD",
    "required": false,
    "type": "string"
  }
}
Response schema
{
  "properties": {
    "quotes": {
      "additionalProperties": {
        "type": "number"
      },
      "description": "Map of SOURCE+TARGET code to rate.",
      "type": "object"
    },
    "source": {
      "description": "Source currency.",
      "type": "string"
    },
    "success": {
      "type": "boolean"
    },
    "timestamp": {
      "description": "Unix time of the quote.",
      "type": "integer"
    }
  },
  "type": "object"
}
Example response
{
  "quotes": {
    "USDEUR": 0.87479,
    "USDGBP": 0.749375,
    "USDJPY": 161.0765
  },
  "source": "USD",
  "success": true,
  "timestamp": 1783016465
}