Currencylayer · Schema
Currencylayer Quotes Response
Envelope returned by /live and /historical containing real-time or historical exchange rates keyed by concatenated source+target codes (e.g. USDEUR).
Currency ExchangeForeign ExchangeFXForexConversionHistorical RatesTime FrameChange ReportPrecious MetalsAPILayerPublic APIs
Properties
| Name | Type | Description |
|---|---|---|
| success | boolean | Indicates whether the request succeeded. |
| terms | string | |
| privacy | string | |
| timestamp | integer | Unix timestamp (seconds) when the rates were published. |
| source | string | ISO 4217 source/base currency code anchoring the rate set. |
| historical | boolean | Present and true when the response represents historical rates. |
| date | string | Date the rates apply to (YYYY-MM-DD), present for /historical. |
| quotes | object | Map of concatenated source+target ISO 4217 codes (e.g. USDEUR) to the exchange rate. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://api-evangelist.github.io/currencylayer/json-schema/currencylayer-quotes-schema.json",
"title": "Currencylayer Quotes Response",
"description": "Envelope returned by /live and /historical containing real-time or historical exchange rates keyed by concatenated source+target codes (e.g. USDEUR).",
"type": "object",
"required": ["success", "timestamp", "source", "quotes"],
"properties": {
"success": {
"type": "boolean",
"description": "Indicates whether the request succeeded."
},
"terms": {
"type": "string",
"format": "uri"
},
"privacy": {
"type": "string",
"format": "uri"
},
"timestamp": {
"type": "integer",
"description": "Unix timestamp (seconds) when the rates were published."
},
"source": {
"type": "string",
"description": "ISO 4217 source/base currency code anchoring the rate set.",
"pattern": "^[A-Z]{3}$"
},
"historical": {
"type": "boolean",
"description": "Present and true when the response represents historical rates."
},
"date": {
"type": "string",
"format": "date",
"description": "Date the rates apply to (YYYY-MM-DD), present for /historical."
},
"quotes": {
"type": "object",
"description": "Map of concatenated source+target ISO 4217 codes (e.g. USDEUR) to the exchange rate.",
"additionalProperties": {
"type": "number"
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/currencylayer-quotes"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.