Cryptocurrency quotes help you pull live price, market cap, volume, and multi-period percent change for a coin from the same provider you already use for equities. After one call with the required key, you can read meta.key and meta.total, then print fields from the quote object under data.
This tutorial covers GET /v1/crypto/quotes. The quote object is data, not body. The parameter name is key; the example below uses key=bitcoin.
👉 To access this endpoint, you must obtain an API key: https://mboum.com/pages/api
The Crypto Quotes Endpoint
Crypto quotes live under GET /v1/crypto/quotes.
Documentation:
https://docs.mboum.com/#crypto-GETapi-v1-crypto-quotes
Request
GET https://api.mboum.com/v1/crypto/quotes?key=bitcoin
Authorization: Bearer YOUR_API_KEY
Parameters
key— required. Crypto ID (examplebitcoin)
Choosing the Request
For this walkthrough, send key=bitcoin. That keeps the call on a familiar coin while you learn that the quote lives under data.
Do not look for a body object on this endpoint, and do not invent extra quote fields beyond the keys listed below. Stay on this crypto quotes path so meta and data match what you inspect.
Sample Response
The shortened sample below shows meta.key, meta.total, and a subset of the quote under data. Use only these data keys: price, priceChangePercentage1h, priceChangePercentage24h, priceChangePercentage7d, priceChangePercentage30d, marketCap, circulatingSupply, totalSupply, maxSupply, volume, and volumeChangePercentage24h:
{
"meta": {
"key": "bitcoin",
"total": 1
},
"data": {
"price": 64012.35,
"priceChangePercentage1h": 0.12,
"priceChangePercentage24h": -1.84,
"priceChangePercentage7d": 3.41,
"priceChangePercentage30d": 8.02,
"marketCap": 1260000000000,
"circulatingSupply": 19700000,
"totalSupply": 19700000,
"maxSupply": 21000000,
"volume": 28500000000,
"volumeChangePercentage24h": 4.5
}
}
Python Example
import requests
url = "https://api.mboum.com/v1/crypto/quotes"
headers = {"Authorization": "Bearer YOUR_API_KEY"}
params = {"key": "bitcoin"}
response = requests.get(url, headers=headers, params=params)
response.raise_for_status()
payload = response.json()
print(payload.get("meta", {}))
data = payload.get("data") or {}
print(
data.get("price"),
data.get("marketCap"),
data.get("priceChangePercentage24h"),
data.get("volume"),
)
Understanding the Response
meta.keyechoes the crypto ID you sentmeta.totalreports how many quote objects came back- The quote lives under
data, notbody - Use the data keys listed in the sample section above
priceChangePercentage24h is a number, not a string with a percent sign. You can compare it directly once you have confirmed the live value, without stripping a trailing %.
Walkthrough
- Call crypto quotes with the required
keyparameter (examplebitcoin). - Confirm
meta.keyandmeta.total, then open the quote underdata. - Print
price,marketCap, andpriceChangePercentage24h, treating the 24h change as a number.
Watch for This
The quote lives under data, and priceChangePercentage24h is a number, not a string with a percent sign. Looking under body or treating the change as a percent string will break a simple price card.
Stay on crypto quotes with the required key until you have printed live price, market cap, and the numeric 24h change from data. That habit keeps multi-asset dashboards consistent when you blend crypto cards with equity endpoints that still use a body object.
👉 Get your API key and fetch crypto quotes: https://mboum.com/pages/api