GET /pools, a public endpoint. You do not need an account, wallet signature, or API token.
1
List pools
Send a request to the selected network. Mainnet is the default; use the network selector in the upper-right corner to switch every example on this site to testnet.
2
Check the response
A successful response has a The values above are shortened for readability. Treat pool keys, token IDs, amounts, and fees as exact strings in application code.
data array and a pagination object. Each pool includes its identifiers, enabled state, and fee.3
Read one pool
Copy the exact Replace
key from a result and request that pool:POOL_KEY with the complete field value returned by GET /pools. Do not derive a pool key from token symbols.Success check
You are done when:- both requests return HTTP
200 datacontains the expected pool- the returned pool key is unchanged between requests
- your client preserves integer-like values as strings
Before you call other endpoints
Pool and token metadata reads are public. Routes, market history, positions, swaps, balances, protocol configuration, and transaction schemas require an invited wallet session or anss_... API token.
Read Authentication before adding those endpoints to a backend or bot.
Continue from here
- Choose an integration path if you are deciding between API data, schema-assisted execution, and direct program calls.
- Build a trading bot if you need routes, history, and live updates.
- Browse the API reference for endpoint access requirements and exact schemas.