Skip to main content
POST
/
api
/
coingecko
/
coins
/
markets
/coingecko/coins/markets
curl --request POST \
  --url https://api.anysite.io/api/coingecko/coins/markets \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300,
  "vs_currency": "usd",
  "order": "market_cap_desc"
}
'
[
  {
    "id": "<string>",
    "symbol": "<string>",
    "name": "<string>",
    "@type": "@coingecko_coin_market",
    "image": "<string>",
    "current_price": 123,
    "market_cap": 123,
    "market_cap_rank": 123,
    "fully_diluted_valuation": 123,
    "total_volume": 123,
    "high_24h": 123,
    "low_24h": 123,
    "price_change_24h": 123,
    "price_change_percentage_24h": 123,
    "market_cap_change_24h": 123,
    "market_cap_change_percentage_24h": 123,
    "price_change_percentage_1h": 123,
    "price_change_percentage_7d": 123,
    "price_change_percentage_14d": 123,
    "price_change_percentage_30d": 123,
    "price_change_percentage_200d": 123,
    "price_change_percentage_1y": 123,
    "circulating_supply": 123,
    "total_supply": 123,
    "max_supply": 123,
    "ath": 123,
    "ath_change_percentage": 123,
    "ath_date": "<string>",
    "atl": 123,
    "atl_change_percentage": 123,
    "atl_date": "<string>",
    "roi": {
      "@type": "@coingecko_market_roi",
      "times": 123,
      "currency": "<string>",
      "percentage": 123
    },
    "last_updated": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
count
integer
required

Number of coins to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
vs_currency
enum<string>
default:usd

Currency to express price and market metrics in

Available options:
usd,
eur,
gbp,
jpy,
btc,
eth
order
enum<string>
default:market_cap_desc

Sort order for the coin list

Available options:
market_cap_desc,
market_cap_asc,
volume_desc,
volume_asc,
id_asc,
id_desc

Response

Successful Response

id
string
required
symbol
string
required
name
string
required
@type
string
default:@coingecko_coin_market
image
string | null
current_price
number | null
market_cap
number | null
market_cap_rank
integer | null
fully_diluted_valuation
number | null
total_volume
number | null
high_24h
number | null
low_24h
number | null
price_change_24h
number | null
price_change_percentage_24h
number | null
market_cap_change_24h
number | null
market_cap_change_percentage_24h
number | null
price_change_percentage_1h
number | null
price_change_percentage_7d
number | null
price_change_percentage_14d
number | null
price_change_percentage_30d
number | null
price_change_percentage_200d
number | null
price_change_percentage_1y
number | null
circulating_supply
number | null
total_supply
number | null
max_supply
number | null
ath
number | null
ath_change_percentage
number | null
ath_date
string | null
atl
number | null
atl_change_percentage
number | null
atl_date
string | null
roi
CoingeckoMarketRoi · object
last_updated
string | null