Documentation Index
Fetch the complete documentation index at: https://docs.generalmarket.io/llms.txt
Use this file to discover all available pages before exploring further.
Price Endpoints
Prices. The only fact the market agrees on, and only for an instant. Four endpoints, each with a different tradeoff between freshness and speed.Get Single Asset Price
Asset ticker symbol (e.g.,
BTC, ETH, SOL).| Field | Type | Description |
|---|---|---|
asset | string | Asset ticker symbol |
price | number | Latest price in USD |
timestamp | number | Unix timestamp of the price update |
source | string | Data source that provided the price |
Get All Latest Prices
Every supported asset. One call.| Field | Type | Description |
|---|---|---|
asset | string | Asset ticker symbol |
price | number | Latest price in USD |
Get Latest Prices (Bulk Map)
Same data as/prices, but keyed by ticker for direct lookup. Use this when you know what you are looking for.
Get Fast Prices
Cached. Possibly a few seconds stale. Faster to serve. Use this for UI display and order previews — not for final execution pricing.Fast prices are cached and may lag behind real-time prices by a few seconds. Use
/price?asset=X when the most current price for a specific asset is needed.