Skip to main content
POST
/
api
/
coingecko
/
coins
/
tickers
/coingecko/coins/tickers
curl --request POST \
  --url https://api.anysite.io/api/coingecko/coins/tickers \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "coin": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "@type": "@coingecko_ticker",
    "base": "<string>",
    "target": "<string>",
    "market": {
      "@type": "@coingecko_ticker_market",
      "name": "<string>",
      "identifier": "<string>"
    },
    "last": 123,
    "volume": 123,
    "converted_last_usd": 123,
    "converted_volume_usd": 123,
    "trust_score": "<string>",
    "bid_ask_spread_percentage": 123,
    "timestamp": "<string>",
    "last_traded_at": "<string>",
    "is_anomaly": true,
    "is_stale": true,
    "coin_mcap_usd": 123,
    "trade_url": "<string>",
    "coin_id": "<string>",
    "target_coin_id": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
coin
string
required

Coin id (not the ticker symbol). Resolve a symbol or name to an id via the search endpoint

Minimum string length: 1
Examples:

"bitcoin"

"ethereum"

"solana"

count
integer
required

Number of trading pairs to return

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

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

@type
string
default:@coingecko_ticker
base
string | null
target
string | null
market
CoingeckoTickerMarket · object
last
number | null
volume
number | null
converted_last_usd
number | null
converted_volume_usd
number | null
trust_score
string | null
bid_ask_spread_percentage
number | null
timestamp
string | null
last_traded_at
string | null
is_anomaly
boolean | null
is_stale
boolean | null
coin_mcap_usd
number | null
trade_url
string | null
coin_id
string | null
target_coin_id
string | null