CoinGecko Coin Market Data API
Get CoinGecko coin market data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by CoinGecko, pass parameters such as ids, vs_currency, and retrieve structured data including coinGecko coin identifier, current price, market cap, total volume, and reported circulating token quantity for market tables, and filtered research, ready for production pipelines and AI agent automation.
- Selected price
- $0 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Statistics unavailable
- Success rate · 30d
- —Statistics unavailable
CoinGecko Coin Market Data API
Prepare your request, then continue with your agent.
Selected price
$0 / call
- Provider
- API
- Pricing
On this page
Overview
CoinGecko Coin Market Data API
Set the required vs_currency and optionally choose coins by ids, names or symbols, or filter by category. page and per_page control pagination; order, locale, sparkline and price_change_percentage request supported presentation or market sections.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | query: vs_currency, ids, names, symbols, include_tokens, category, order, per_page, page, sparkline, price_change_percentage, locale, precision, include_rehypothecated |
| Selected implementation | coingecko · CoinGecko — Coins List with Market Data |
| Billing | See the pricing area for the selected implementation and request options |
What You Can Build
- Market tables: Compare prices, capitalization and volumes in one target currency.
- Filtered research: Use exact coin or category IDs to build a focused asset view.
Documented Response Fields
| Field | Meaning |
|---|---|
[].id |
CoinGecko coin identifier |
[].current_price |
Reported price in the selected target currency |
[].market_cap |
Reported market capitalization in the target currency |
[].total_volume |
Reported trading volume in the target currency |
[].circulating_supply |
Reported circulating token quantity |
[].last_updated |
Reported record update timestamp |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the selected implementation and pricing, then adapt the request below to your target.
- Check the HTTP response and business result before reading optional fields.
curl --request GET --get \
https://api.openany.si/v1/agent-apis/coingecko/api/v3/coins/markets \
-H "Authorization: Bearer ${OPENANY_API_KEY}" \
-H 'Content-Type: application/json' \
--data-urlencode ids=bitcoin \
--data-urlencode vs_currency=usd
Request and Response Examples
The response is an official documentation reference that may contain historical values or optional sections. The calling template is independent; match returned resource identifiers, timestamps and requested options before using the data.
Published CoinGecko Coin Market Data API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
CoinGeckoCurrent CoinGecko — Coins List with Market Data · GET · View API reference | $0 / call | — | —successP50— |
- Unit price
- $0
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.
Total $0
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/coingecko/api/v3/coins/markets- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
vs_currency | URL query parametersquery | string | Yes | Target currency of coins and market data. *refers to [`/simple/supported_vs_currencies`](/reference/simple-supported-currencies) |
ids | URL query parametersquery | string | No | Coins' IDs, comma-separated if querying more than 1 coin. *refers to [`/coins/list`](/reference/coins-list) |
names | URL query parametersquery | string | No | Coins' names, comma-separated if querying more than 1 coin. |
symbols | URL query parametersquery | string | No | Coins' symbols, comma-separated if querying more than 1 coin. |
include_tokens | URL query parametersquery | string | No | For `symbols` lookups, specify `all` to include all matching tokens. Default `top` returns top-ranked tokens by market cap or volume. enum: "top", "all" |
category | URL query parametersquery | string | No | Filter based on coins' category. *refers to [`/coins/categories/list`](/reference/coins-categories-list) |
order | URL query parametersquery | string | No | Sort result by field. Default: market_cap_desc enum: "market_cap_asc", "market_cap_desc", "volume_asc", "volume_desc", "id_asc", "id_desc" |
per_page | URL query parametersquery | integer | No | Total results per page. Default: 100 Valid values: 1...250 |
page | URL query parametersquery | integer | No | Page through results. Default: 1 |
sparkline | URL query parametersquery | boolean | No | Include sparkline 7-day data. Default: false |
price_change_percentage | URL query parametersquery | string | No | Include price change percentage timeframe, comma-separated if querying more than 1 timeframe. Valid values: `1h`, `24h`, `7d`, `14d`, `30d`, `200d`, `1y` |
locale | URL query parametersquery | string | No | Language background. Default: en enum: "ar", "bg", "cs", "da", "de", "el", "en", "es", "fi", "fr", "he", "hi", "hr", "hu", "id", "it", "ja", "ko", "lt", "nl", "no", "pl", "pt", "ro", "ru", "sk", "sl", "sv", "th", "tr", "uk", "vi", "zh", "zh-tw" |
precision | URL query parametersquery | string | No | Decimal places for currency price value enum: "full", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18" |
include_rehypothecated | URL query parametersquery | boolean | No | Include rehypothecated tokens in results. When true, returns `market_cap_rank_with_rehypothecated` field. Default: false |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
responseobject[]athintegerath_change_percentagenumberath_datestringatlnumberatl_change_percentagenumberatl_datestringcirculating_supplynumbercurrent_priceintegerfully_diluted_valuationintegerhigh_24hintegeridstringimagestringlast_updatedstringlow_24hintegermarket_capintegermarket_cap_change_24hnumbermarket_cap_change_percentage_24hnumbermarket_cap_rankintegermarket_cap_rank_with_rehypothecatedintegermax_supplynumbernamestringprice_change_24hnumberprice_change_percentage_14d_in_currencynumberprice_change_percentage_1h_in_currencynumberprice_change_percentage_1y_in_currencynumberprice_change_percentage_200d_in_currencynumberprice_change_percentage_24hnumberprice_change_percentage_24h_in_currencynumberprice_change_percentage_30d_in_currencynumberprice_change_percentage_7d_in_currencynumberroinullsparkline_in_7dobjectpricenumber[]
symbolstringtotal_supplynumbertotal_volumeinteger
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example · Official response / contract request
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 14
Review these request fields before running. Keep the published provider and request method unchanged.
vs_currency- Target currency of coins and market data. *refers to [`/simple/supported_vs_currencies`](/reference/simple-supported-currencies)
ids- Coins' IDs, comma-separated if querying more than 1 coin. *refers to [`/coins/list`](/reference/coins-list)
names- Coins' names, comma-separated if querying more than 1 coin.
symbols- Coins' symbols, comma-separated if querying more than 1 coin.
include_tokens- For `symbols` lookups, specify `all` to include all matching tokens. Default `top` returns top-ranked tokens by market cap or volume.
category- Filter based on coins' category. *refers to [`/coins/categories/list`](/reference/coins-categories-list)
order- Sort result by field. Default: market_cap_desc
per_page- Total results per page. Default: 100 Valid values: 1...250
page- Page through results. Default: 1
sparkline- Include sparkline 7-day data. Default: false
price_change_percentage- Include price change percentage timeframe, comma-separated if querying more than 1 timeframe. Valid values: `1h`, `24h`, `7d`, `14d`, `30d`, `200d`, `1y`
locale- Language background. Default: en
precision- Decimal places for currency price value
include_rehypothecated- Include rehypothecated tokens in results. When true, returns `market_cap_rank_with_rehypothecated` field. Default: false
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/coingecko/api/v3/coins/markets?ids=bitcoin&vs_currency=usd' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response[ { "ath": 126080, "ath_change_percentage": -38.39571, "ath_date": "2025-10-06T18:57:42.558Z", "atl": 67.81, "atl_change_percentage": 114443.23093, "atl_date": "2013-07-06T00:00:00.000Z", "circulating_supply": 20030493.0, "current_price": 77671, "fully_diluted_valuation": 1555914058873, "high_24h": 78419, "id": "bitcoin", "image": "https://coin-images.coingecko.com/coins/images/1/large/bitcoin.png?1696501400", "last_updated": "2026-05-18T12:49:21.599Z", "low_24h": 76696, "market_cap": 1555886872303, "market_cap_change_24h": -15184401491.513184, "market_cap_change_percentage_24h": -0.9665, "market_cap_rank": 1, "market_cap_rank_with_rehypothecated": 1, "max_supply": 21000000.0, "name": "Bitcoin", "price_change_24h": -747.3360347281705, "price_change_percentage_14d_in_currency": -1.5720857443461431, "price_change_percentage_1h_in_currency": 0.5823392426906319, "price_change_percentage_1y_in_currency": -25.214612207475373, "price_change_percentage_200d_in_currency": -29.452371850925864, "price_change_percentage_24h": -0.95302, "price_change_percentage_24h_in_currency": -0.9530164743774191, "price_change_percentage_30d_in_currency": 1.9453890367549207, "price_change_percentage_7d_in_currency": -4.042267423689584, "roi": null, "sparkline_in_7d": { "price": [ 81045.84776489827, 81001.73089268175, 80898.20817826076 ] }, "symbol": "btc", "total_supply": 20030843.0, "total_volume": 33235034316 } ]