Market data

Daily market data

Daily FutarchyAMM (spot, conditional and total) and Meteora activity per token over an inclusive date range. Parameters are validated before the database is touched, so a bad request is always 400.

get/api/market-data

Request

Query parameters

startDatestring date required

First UTC day, inclusive (YYYY-MM-DD). Must be a real calendar date on or before endDate.

endDatestring date required

Last UTC day, inclusive (YYYY-MM-DD). The range may span at most 366 days (server default); split longer histories into several requests.

tokensstring

Comma-separated base-token mints to filter by (at most 100, each a valid Solana address). Omit for all tokens.

Response

Daily market data.

source'user-pool-etl' required

Example response

{
  "futarchyAMM": {
    "data": [
      {
        "token": "So11111111111111111111111111111111111111112",
        "spot_buy_volume": "1234.56",
        "spot_sell_volume": "1234.56",
        "spot_base_volume": "1234.56",
        "spot_target_volume": "1234.56",
        "spot_usdc_fees": "1234.56",
        "spot_token_fees": "1234.56",
        "spot_token_fees_usdc": "1234.56",
        "spot_protocol_fee_usd": "1234.56",
        "spot_lp_fee_usd": "1234.56",
        "total_buy_volume": "1234.56",
        "total_sell_volume": "1234.56",
        "total_base_volume": "1234.56",
        "total_target_volume": "1234.56",
        "total_usdc_fees": "1234.56",
        "total_token_fees": "1234.56",
        "total_token_fees_usdc": "1234.56",
        "total_protocol_fee_usd": "1234.56",
        "total_lp_fee_usd": "1234.56"
      }
    ]
  },
  "meteora": {
    "data": [
      {
        "token": "So11111111111111111111111111111111111111112",
        "base_volume": "1234.56",
        "target_volume": "1234.56",
        "buy_volume": "1234.56",
        "sell_volume": "1234.56",
        "average_price": "1234.56",
        "usdc_fees": "1234.56",
        "token_fees": "1234.56",
        "token_fees_usdc": "1234.56"
      }
    ]
  }
}

Changes

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