Yadio Historical API
Endpoints for retrieving historical, daily, and comparison data.
Endpoints for retrieving historical, daily, and comparison data.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.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.curl "https://apis.io/api/v1/apis/yadio:yadio-historical-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Yadio.io Historical API
description: '# Introduction
Our REST API provides easy, seamless integration of accurate, real-time exchange rates directly into your applications, delivering transparent data that reflects the true free-market value of currencies. This is a public API for real-time and historical cryptocurrency and fiat exchange rates.
# API Conventions
## Response Format
All API responses are in JSON format.
## Timestamp Format
All timestamps are returned as Unix time in milliseconds.
## Rate Limits
The API is rate-limited to 100 requests per minute. If you exceed this limit, the API will return a `429 Too Many Requests` status code.'
version: 1.0.0
termsOfService: https://yadio.io/terms.html
contact:
email: info+api@yadio.io
url: https://yadio.io
x-logo:
url: https://yadio.io/img/logo.png
altText: Yadio.io Logo
servers:
- url: https://api.yadio.io
description: Main production server
tags:
- name: Historical
description: Endpoints for retrieving historical, daily, and comparison data.
paths:
/today/{range}/{currency}:
get:
summary: Get Today's Rate Information
description: Returns rate information for a specified currency and period.
tags:
- Historical
parameters:
- name: range
in: path
required: true
description: 'The time range in hours (e.g., ''24'' for the last 24 hours). Valid range: 1-24.'
schema:
type: integer
minimum: 1
maximum: 24
- name: currency
in: path
required: true
description: The currency code to get information for.
schema:
type: string
responses:
'200':
description: Successful response with today's rate data.
content:
application/json:
schema:
type: array
items:
type: object
properties:
price:
type: number
price_p2p:
type: number
calc_std:
type: number
avg24:
type: number
usd:
type: number
eur:
type: number
volume:
type: number
offers:
type: integer
usdbtc:
type: number
eurbtc:
type: number
btc_avg24h:
type: number
time:
type: string
examples:
successfulResponse:
summary: A successful response for today's data
value:
- price: 121735226.05
price_p2p: 126151065.36
calc_std: 121735226.05
avg24: 124395920.84
usd: 1188.409962
eur: 1370.879508
volume: 0.01551371
offers: 291
usdbtc: 102435.38
eurbtc: 88763.26
btc_avg24h: 104895.39
time: 2:40 PM
- price: 122044358.78
price_p2p: 126840355.72
calc_std: 122044358.78
avg24: 124398855.69
usd: 1187.44774
eur: 1370.120414
volume: 0.01551371
offers: 292
usdbtc: 102778.72
eurbtc: 89060.78
btc_avg24h: 104900.94
time: 2:35 PM
'400':
$ref: '#/components/responses/InvalidRequest'
'429':
$ref: '#/components/responses/TooManyRequests'
'500':
$ref: '#/components/responses/InternalServerError'
operationId: getTodayByRangeByCurrency
x-operation-id-source: derived
/hist/{range}/{currency}:
get:
summary: Get Historical Rates
description: Returns historical rate information for a specified currency and period.
tags:
- Historical
parameters:
- name: range
in: path
required: true
description: 'The time range in days (e.g., ''30'' for the last 30 days). Valid range: 1-365.'
schema:
type: integer
minimum: 1
maximum: 365
- name: currency
in: path
required: true
description: The currency code to get historical data for.
schema:
type: string
responses:
'200':
description: Successful response with historical data.
content:
application/json:
schema:
type: object
'400':
$ref: '#/components/responses/InvalidRequest'
'429':
$ref: '#/components/responses/TooManyRequests'
'500':
$ref: '#/components/responses/InternalServerError'
operationId: getHistByRangeByCurrency
x-operation-id-source: derived
/compare/{range}/{currency}:
get:
summary: Get Comparison Information
description: Returns comparison information for a specified currency and period.
tags:
- Historical
parameters:
- name: range
in: path
required: true
description: 'The time range in days (e.g., ''30'' for the last 30 days). Valid range: 1-365.'
schema:
type: integer
minimum: 1
maximum: 365
- name: currency
in: path
required: true
description: The currency code to get comparison information for.
schema:
type: string
responses:
'200':
description: Successful response with comparison data.
content:
application/json:
schema:
type: array
items:
type: object
properties:
date:
type: string
format: date
avg24h:
type: number
volume:
type: number
usdbtc:
type: number
official:
type: number
usdt:
type: number
cex:
type: number
mep:
type: number
ccl:
type: number
dolarblue_buy:
type: integer
dolarblue_sell:
type: integer
examples:
successfulResponse:
summary: A successful response for comparison data
value:
- date: 06/19/2025
avg24h: 123537195.63
volume: 0.03047893
usdbtc: 104688.6
official: 1190
usdt: 1188.92
cex: 1184.337757
mep: 1174.03
ccl: 1157.71
dolarblue_buy: 1180
dolarblue_sell: 1200
- date: 06/18/2025
avg24h: 124174976.58
volume: 0.01783233
usdbtc: 104743.95
official: 1180
usdt: 1184.68
cex: 1179.638364
mep: 1167.07
ccl: 1172.16
dolarblue_buy: 1170
dolarblue_sell: 1190
'400':
$ref: '#/components/responses/InvalidRequest'
'429':
$ref: '#/components/responses/TooManyRequests'
'500':
$ref: '#/components/responses/InternalServerError'
operationId: getCompareByRangeByCurrency
x-operation-id-source: derived
components:
responses:
InternalServerError:
description: A generic internal server error occurred.
TooManyRequests:
description: Rate limit exceeded. The API is limited to 100 requests per minute.
InvalidRequest:
description: Invalid request. This can be due to a missing or invalid parameter.