Work with this as data
Every API 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 apis
7 MCP tools reach this
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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/yadio:yadio-market-api"
All apis
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.
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. 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 Specification
openapi: 3.2.0
info:
title: Yadio.io Market 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: Market
description: Endpoints related to the P2P market.
paths:
/market/ads:
get:
summary: Get P2P Market Ads
description: Returns P2P (peer-to-peer) market advertisements.
tags:
- Market
parameters:
- name: currency
in: query
required: true
description: The currency code.
schema:
type: string
- name: asset
in: query
required: true
description: The crypto asset to get ads for.
schema:
type: string
enum:
- BTC
- USDT
- name: side
in: query
required: true
description: 'Trade side: buy or sell'
schema:
type: string
enum:
- buy
- sell
- name: limit
in: query
required: false
description: Number of ads to return (default=20)
schema:
type: integer
default: 20
responses:
'200':
description: A successful response containing a list of market ads.
content:
application/json:
schema:
type: object
properties:
currency:
type: string
asset:
type: string
side:
type: string
count:
type: integer
total:
type: integer
timestamp:
$ref: '#/components/schemas/timestamp'
ads:
type: array
items:
type: object
properties:
price:
type: number
ad_id:
type: string
ad_url:
type: string
format: uri
max_amount:
type: number
min_amount:
type: number
require_id:
type: boolean
require_phone:
type: boolean
username:
type: string
feedback_score:
type: number
payment_window:
type: integer
trade_count:
type: integer
last_online:
$ref: '#/components/schemas/timestamp'
usd:
type: number
eur:
type: number
z_score:
type: number
y_score:
type: integer
exchange:
type: string
payment_method:
type: string
examples:
successfulResponse:
summary: A successful response for market ads
value:
currency: ARS
asset: BTC
side: buy
count: 5
total: 139
timestamp: 1750440965475
ads:
- price: 117885205.54
ad_id: '3220172'
ad_url: https://www.bitget.com/en/p2p-trade?fiatName=ARS
max_amount: 4881764.88
min_amount: 50000
require_id: false
require_phone: false
username: Bitget P2P User
feedback_score: 66
payment_window: 30
trade_count: 29
last_online: 1750440964208
usd: 1146.98
eur: 1323.43
z_score: -1.1807
y_score: 4
exchange: Bitget P2P
payment_method: Any Bank
- price: 123839191.21
ad_id: '13735978607847718912'
ad_url: https://p2p.binance.com/en/advertiserDetail?advertiserNo=s8807df8a5ce4301abe1303c3296635b9
max_amount: 19600000
min_amount: 100000
require_id: false
require_phone: false
username: BitArgExchange
feedback_score: 99.8
payment_window: 120
trade_count: 4411
last_online: 1750440964187
usd: 1204.91
eur: 1390.27
z_score: -0.9276
y_score: 4
exchange: Binance P2P
payment_method: Any Bank
'400':
$ref: '#/components/responses/InvalidRequest'
'429':
$ref: '#/components/responses/TooManyRequests'
'500':
$ref: '#/components/responses/InternalServerError'
operationId: getMarketAds
x-operation-id-source: derived
/market/stats:
get:
summary: Get P2P Market Statistics
description: Returns statistics about the P2P (peer-to-peer) market.
tags:
- Market
parameters:
- name: currency
in: query
required: true
description: The currency code.
schema:
type: string
- name: asset
in: query
required: true
description: The crypto asset to get stats for.
schema:
type: string
enum:
- BTC
- USDT
- name: side
in: query
required: true
description: 'Trade side: buy or sell'
schema:
type: string
enum:
- buy
- sell
responses:
'200':
description: A successful response containing market statistics.
content:
application/json:
schema:
type: object
properties:
currency:
type: string
asset:
type: string
side:
type: string
stats:
type: object
properties:
mean:
type: number
median:
type: number
sigma:
type: number
total:
type: integer
ads_count:
type: object
additionalProperties:
type: integer
y_score_freq:
type: object
additionalProperties:
type: integer
top_payment_methods:
type: object
additionalProperties:
type: integer
timestamp:
$ref: '#/components/schemas/timestamp'
examples:
successfulResponse:
summary: A successful response for market statistics
value:
currency: ARS
asset: BTC
side: buy
stats:
mean: 145659595.85
median: 140084473.9
sigma: 23524133.08
total: 139
ads_count:
Paxful: 52
Binance P2P: 39
y_score_freq:
'1': 10
'4': 59
top_payment_methods:
Any Bank: 93
Mercado Pago: 23
timestamp: 1750440965475
'400':
$ref: '#/components/responses/InvalidRequest'
'429':
$ref: '#/components/responses/TooManyRequests'
'500':
$ref: '#/components/responses/InternalServerError'
operationId: getMarketStats
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.
schemas:
timestamp:
type: integer
format: int64
description: A Unix timestamp in milliseconds.