For the complete documentation index, see llms.txt. This page is also available as Markdown.

Market data

Health, tokens, prices, pool stats, and raw on-chain accounts.

Read-only market and account data. Shared conventions (base URL, units, errors): Conventions.

This data is live and changes over time. New markets and tokens go live as pools launch — treat /pool-data, /tokens, and /prices as the source of truth and read them at runtime instead of hardcoding market or token lists. See Discover markets & stay current.

Method
Path

GET

/health

GET

/tokens

GET

/prices · /prices/{symbol}

GET

/pool-data · /pool-data/{pubkey}

GET

/raw/pools · /raw/custodies · /raw/markets · /raw/perpetuals (+ /{pubkey}) · /raw/baskets/{pubkey}


Health

GET /health

Service status, cached account counts, and live pool-config provenance.

{
  "status": "ok",
  "accounts": { "pools": 1, "custodies": 6, "markets": 8, "baskets": 1200, "deposit_ledgers": 1300, "token_stakes": 900 },
  "config": {
    "source": "cdn",
    "version": "5864c583de7b9d17c5571c53cd679f572b340dad",
    "env": "mainnet", "branch": "main", "publishedAt": "2026-06-03T10:00:00Z",
    "builtAt": 1717407600, "pools": 1, "markets": 8, "tokens": 6
  }
}

config.source is "cdn" when the live pool config loaded from the CDN, or "bundled" on the SDK-bundled fallback (then version/env/branch/publishedAt may be null).


Tokens

GET /tokens

All supported tokens (deduplicated across pools).


Prices

GET /prices

Map of symbol → price for all supported tokens.

Field
Type
Description

price

number

Raw integer price (apply exponent)

exponent

number

Power-of-ten exponent (e.g. -8)

confidence

number

Confidence interval (native units)

priceUi

number

price × 10^exponent

timestampUs

number

Timestamp, microseconds

marketSession

string

regular · preMarket · postMarket · overNight · closed

GET /prices/{symbol}

Param
In
Description

symbol

path

Token symbol (e.g. SPY, MSTR)

200 a single price object · 404 symbol not in the config, or no price yet.


Pool data

GET /pool-data

Aggregated, cached pool statistics (TVL, utilization, LP price, per-custody/market caps). Returns { "pools": [ … ] }; { "pools": [] } before the cache first populates.

GET /pool-data/{pubkey} — single pool stats · 404 unknown pool.


Raw accounts

Raw Anchor-deserialized on-chain account data — shapes mirror the program IDL. Each list item is { "pubkey": "…", "account": { … } }.

Endpoint
Returns

GET /raw/pools · /raw/pools/{pubkey}

Pool accounts

GET /raw/custodies · /raw/custodies/{pubkey}

Custody accounts

GET /raw/markets · /raw/markets/{pubkey}

Market accounts

GET /raw/perpetuals · /raw/perpetuals/{pubkey}

Perpetuals (global config) accounts

GET /raw/baskets/{pubkey}

A single raw basket account

{pubkey} variants return 404 { "error": "… not found" } for unknown keys.

There are no /raw/positions or /raw/orders endpoints — positions and orders live in the basket. Use Account & positions.

Last updated

Was this helpful?