Market Data
List Coin Prices

List coin prices

Returns the current US dollar price of every coin Knit tracks, with the change over the last 24 hours. Coins come in rank order. Use these prices to show values to your users, for example on a market screen or next to a balance.

GET
https://api-prod.useknit.io/api/v1/market/coins
Scopemarket-data:readAuthBearer token

These prices are for display. They are not an offer to buy or sell, and Knit does not use them to price your collections or payouts.

Coins

idsymbolName
bitcoinBTCBitcoin
ethereumETHEthereum
tetherUSDTTether
rippleXRPXRP
binancecoinBNBBNB
solanaSOLSolana
usd-coinUSDCUSDC
dogecoinDOGEDogecoin
tronTRXTRON
cardanoADACardano

The id values are the same as the coin ids that CoinGecko uses. Knit can add coins to this list. Read the list from the response, and do not hard-code it.

Request

cURL
curl "https://api-prod.useknit.io/api/v1/market/coins" \
  -H "Authorization: Bearer $KNIT_ACCESS_TOKEN" \
  -H "Accept: application/json"

Response

The example shows two of the coins.

200 OK
{
  "statusCode": 200,
  "message": "Market coins fetched successfully",
  "data": [
    {
      "id": "bitcoin",
      "symbol": "BTC",
      "name": "Bitcoin",
      "rank": 1,
      "logoUrl": null,
      "priceUsd": "60911.34164609",
      "change24hPercent": "-1.24",
      "priceUpdatedAt": "2026-11-22T21:40:47Z",
      "isStale": false
    },
    {
      "id": "ethereum",
      "symbol": "ETH",
      "name": "Ethereum",
      "rank": 2,
      "logoUrl": null,
      "priceUsd": "1721.7028",
      "change24hPercent": "-0.42",
      "priceUpdatedAt": "2026-11-22T21:41:01Z",
      "isStale": false
    }
  ],
  "success": true
}
idstring

The coin's identifier. Use it to retrieve one coin or to get its price history.

symbolstring

The coin's ticker, for example BTC.

namestring

The coin's display name.

rankinteger

The coin's position in the list, starting at 1.

logoUrlstring | null

A link to the coin's logo, or null when Knit has no logo for it. Show your own icon when it is null.

priceUsdstring | null

The price of one coin in US dollars, as a decimal string. It can have up to 18 decimals, so round it for display. Parse it with a decimal library. A float loses precision. It is null when Knit has no price for the coin at the moment.

change24hPercentstring | null

The change in price over the last 24 hours, in percent, with two decimals. A fall has a minus sign, for example -0.42. It is null when Knit has no price from 24 hours ago.

priceUpdatedAtstring | null

When the source last updated the price, in ISO 8601 UTC. A price that does not move much can keep the same time for some minutes. It is null when priceUsd is null.

isStaleboolean

true when the price has not been updated for longer than usual, or when priceUsd is null. Show a stale price with a warning, or hide it.

⚠️

Check isStale before you show a price. Knit refreshes the prices at most every 30 seconds, so calling more often gives the same answer. If Knit cannot get new prices, it continues to send the last prices it got, for up to one hour. isStale changes to true about 10 minutes after a coin's usual update time has passed, and priceUpdatedAt tells you the age of the price. After one hour without new prices, the endpoint answers 503.

Errors

StatusCause
401Missing or invalid token, IP not allow-listed, or missing market-data:read
403API Services are not enabled for your business
503Market data is temporarily unavailable. Knit has had no prices for more than one hour. Show your last known prices and try again later