Skip to main content

Data APIs

Public, read-only HTTP APIs for Charisma's token, vault, metadata, balance and transaction data.

APIBase URLServesBrowser CORS
Tokenshttps://tokens.charisma.rocks/api/v1Details for every tracked token, plus the block listAny origin
Investhttps://invest.charisma.rocks/api/v1Vaults, routable tokens, energyAny origin, except the two energy JSON reads
Metadatahttps://metadata.charisma.rocks/api/v1Token metadata JSON; deployer-signed updatesCharisma sites only
Swaphttps://swap.charisma.rocks/api/v1Wallet balances, subnet pairings, platform stats/stats only
TX Monitorhttps://tx.charisma.rocks/api/v1Transaction statusCharisma sites only

Prices are served by the Invest API and documented in the Pricing API reference. Quotes and orders are in the DEX API docs.

Authentication​

Every GET in this section is public: no key, no signature. The only write covered here is the Metadata API's POST, which the token's deployer signs.

Where CORS isn't open, call the API from your server instead of the browser.

How the data flows​

Conventions​

  • Amounts (reserves, balances, supply) are raw integers in the token's smallest unit. Divide by 10^decimals.
  • Contract ids are address.contract-name. Native STX is .stx.
  • Timestamps are Unix milliseconds unless a page says otherwise.
  • Responses are cached. Each endpoint lists its Cache-Control, so data can be a few minutes old.