Get multi-window ROI snapshots for one or more cryptocurrency assets
Get multi-window ROI snapshots for one or more cryptocurrency assets.
100000 (raw units)
price
5
calls / 30d
4
unique payers
2026-09-18
updated
Provider
api.messari.io · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x75Ddd3c42eAce13c59EA0CD1141B886A1c70D2A5",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "100000",
"maxTimeoutSeconds": 60
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "jPt2dffmPi7WEtV8J6UFHJQaatEJVyuSFmz5b4DHFG8",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "100000",
"maxTimeoutSeconds": 60
},
{
"scheme": "exact",
"network": "eip155:196",
"payTo": "0xda60f4d061fc9acf3b107123f0bf44c293b328d0",
"asset": "0x779Ded0c9e1022225f8E0630b35a9b54bE713736",
"amount": "100000",
"maxTimeoutSeconds": 60
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"category": "smart-contract-platform",
"ids": "bitcoin,ethereum",
"limit": 50,
"search": "bitcoin",
"sector": "layer-1",
"slugs": "bitcoin,ethereum",
"tags": [
"store-of-value"
]
},
"type": "http"
},
"output": {
"example": {
"data": [
{
"id": "btc",
"roi_30d": 0
}
]
}
}
},
"schema": {
"properties": {
"category": {
"type": "string"
},
"ids": {
"description": "Comma-separated asset ids.",
"type": "string"
},
"limit": {
"minimum": 1,
"type": "integer"
},
"search": {
"type": "string"
},
"sector": {
"type": "string"
},
"slugs": {
"description": "Comma-separated asset slugs.",
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
}
}Use it
curl
curl "https://api.messari.io/metrics/v2/assets/roi" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.messari.io/metrics/v2/assets/roi");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://api.messari.io/metrics/v2/assets/roi")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/14455.json, and this resource appears in /discovery/resources and /discovery/search.