CoinGecko

CoinGecko tickers

One ticker per FutarchyAMM spot market. Price, spread and liquidity come from live pool reserves; 24h volume, high and low come from the served ETL. A market with no trades in the last 24h reports volume "0" and omits high/low. Returns 503 SERVED_DB_UNAVAILABLE when the served database is not connected, and 503 SERVED_DATA_STALE when the newest FutarchyAMM spot swap is older than the server's freshness limit (default 6h), rather than reporting volume that drains to zero behind a stalled pipeline.

get/api/tickers

Request

Response

Array of tickers.

ticker_idstring required

{base_currency}_{target_currency}.

base_currencystring required

Base token mint.

target_currencystring required

Quote token mint.

base_symbolstring
base_namestring
target_symbolstring
target_namestring
pool_idstring required

DAO address.

last_pricestring required

Mid price (quote per base) from pool reserves. Decimal string in human units.

base_volumestring required

Rolling 24h volume in the base token. Decimal string in human units.

target_volumestring required

Rolling 24h volume in the quote token. Decimal string in human units.

liquidity_in_usdstring required

Pool liquidity in USD. Decimal string in human units.

bidstring required

Bid price. Decimal string in human units.

askstring required

Ask price. Decimal string in human units.

high_24hstring

Rolling 24h high. Omitted when there were no trades. Decimal string in human units.

low_24hstring

Rolling 24h low. Omitted when there were no trades. Decimal string in human units.

treasury_usdc_aumstring

DAO treasury USDC holdings. Decimal string in human units.

treasury_vault_addressstring

DAO treasury vault address.

startDatestring date

First spot-trade day (YYYY-MM-DD).

Example response

[
  {
    "base_currency": "So11111111111111111111111111111111111111112",
    "target_currency": "So11111111111111111111111111111111111111112",
    "pool_id": "So11111111111111111111111111111111111111112",
    "last_price": "1234.56",
    "base_volume": "1234.56",
    "target_volume": "1234.56",
    "liquidity_in_usd": "1234.56",
    "bid": "1234.56",
    "ask": "1234.56",
    "high_24h": "1234.56",
    "low_24h": "1234.56",
    "treasury_usdc_aum": "1234.56",
    "treasury_vault_address": "So11111111111111111111111111111111111111112"
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.