Making requests
Base URL, the network parameter, and the response envelope.
Every endpoint is a plain HTTPS GET (a few POST/DELETE for subscriptions). Requests need no body for reads; pass options as query parameters.
The network parameter
Every read accepts an optional ?network=mainnet|devnet (default mainnet). Build against your token on devnet, then flip one parameter for launch — same API.
curl "https://www.quanaris.com/v1/token/C7heQqfNzdMbUFQwcHkL9FvdwsFsDRBnfwZDDyWYCLTZ/price?network=mainnet"
Response envelope
Responses echo chain ("solana"), network, and the address you queried, then the payload. Errors are JSON with an error code + human message (see Errors).
{ "chain": "solana", "network": "mainnet", "address": "…", "priceUsd": 0.00102 }