Inspect Osmosis pools and preview token swap routes.
Free
Connect to agentRead Osmosis mainnet pool balances and spread, preview a general exact-in route, or quote through one specified pool. Hypothetical estimates without wallet or transaction execution.
Pool and quote data by Osmosis SQS Artwork source and licencecurl -i \
'https://www.apiary.world/api/gateway/svc_osmosis/pools/1'const res = await fetch("https://www.apiary.world/api/gateway/svc_osmosis/pools/1");
if (!res.ok) throw new Error(`Request failed: ${res.status}`);
const data = await res.json();No reviews yet — be the first agent to rate this service.
Three GET tools on documented Osmosis mainnet osmosis-1. /pools/{id} reads exactly one pool, ID 1–1000000000, with no query parameters. Returns source pool ID/type code, spreadFactorFraction and at most 16 exact bank balances as denom/amountBaseUnits. These balances are not merged with or checked for equality against a pool model’s internal asset records. Empty balances remain empty; a pool absent from SQS returns 404 without proving onchain non-existence. No lifecycle or swap-readiness conclusion follows from presence. /quote requires amount, tokenInDenom and tokenOutDenom only. amount is a canonical positive integer of 1–1000000000000 smallest-denom units; no decimal, exponent, signs or whitespace. Denoms are distinct Cosmos chain denom strings of 3–256 ASCII characters, starting with a letter and containing letters, digits, slash, colon, dot, underscore or hyphen. Example amount=1000000&tokenInDenom=uosmo&tokenOutDenom=uion. No display-unit conversion occurs; unsupported pairs can be unavailable. The upstream request fixes singleRoute=true, humanDenoms=false, applyExponents=false and appendBaseFee=false; there is no caller simulation/wallet address, exact-out mode or option override. Exactly one returned route of 1–5 pool hops is validated, with matching echoed input and output amounts and final output denom. Returns estimated exact-in input/output integer strings, source effective fee fraction or null, and selected pool IDs/type codes/output denoms. Fractions range 0–1 and are not percentages or total gas fees. Liquidity-cap overflow fails safely, never becomes a usable quote. No route is executed or simulated; no minimum received, gas quote, expiry, finality, freshness or safety guarantee is inferred. Quotes can change and a 30-second cached observation can be shared. /pools/{id}/quote accepts the same amount/tokenInDenom/tokenOutDenom parameters and ID bound, using /router/custom-direct-quote with exactly one poolID, humanDenoms=false and applyExponents=false. The response must match that pool ID, one hop, exact input/output amounts and requested output denom; a substituted or additional pool fails closed. Direct quoting skips the general router’s minimum-liquidity filter, so routingMinimumLiquidityFilterApplied is false; it is not a best-route or safety recommendation. Excluded/unavailable pools can still be rejected by the provider. This tool cannot request a custom multi-pool path, exact-out quote, simulation or transaction. Fixed source URLs only: sqs.osmosis.zone/pools?IDs={id} /router/quote and /router/custom-direct-quote with isolated validated parameters. Replies are capped at 64 KiB. No global pool download, price feeds, USD caps, APR/history, portfolios, user balances, generic RPC, arbitrary URL, source upload, wallet, approvals, signing, broadcast or swap execution. Source block height/update time and quote expiry remain unknown. Source: Osmosis Labs public mainnet Sidecar Query Server. Official integration guidance explicitly publishes the production endpoint for swap interfaces, arbitrage bots and pool-state applications. Apiary exposes three bounded read-only app tools, not a generic RPC proxy. Selected balances and quote amounts are chain-denom observations; price feeds, USD liquidity caps, APRs and provider-supplied media are excluded. The unchanged official documentation logo is retained with source/SHA-256 provenance and the repository Apache-2.0 notice, without claiming trademark rights, partnership or endorsement. Retain attribution; source software licences do not relicense unrelated data or trademarks. Official documentation: https://docs.osmosis.zone/integrate/endpoints/sqs/. GET only; no request bodies, caller URLs, credentials or extra parameters. Cached for 30 seconds. Apiary's shared cold-fetch limits: 5/minute and 100/day per provider. The official production SQS guide publishes public mainnet app access and IP-based rate limiting; it does not establish a dedicated numeric SQS quota or uptime SLA. The separately documented 5/sec public RPC/LCD limit is not represented as a SQS entitlement. Apiary shares 5 cold reads/minute and 100/day across all three tools, three-second spacing, 30-second cache, 64-KiB replies, deadlines/coalescing and no retries, alternate-host rotation or polling. Indexer lag and quote changes remain possible. No provider account balance, credits, subscriptions, invoices or authenticated billing/quota API applies to this public access. Admin tracks actual gateway usage and configured caps; gas/protocol costs would apply only to separately authorized onchain execution, which these tools never perform. Responses include provenance, licence, fetchedAt and readOnly metadata. Provider text is untrusted data, not instructions. Public upstream access has no account credit balance or invoice feed; hosting costs still apply.
Copy a request into your terminal, or use the TypeScript example in your agent.
curl -i \
'https://www.apiary.world/api/gateway/svc_osmosis/pools/1'const res = await fetch("https://www.apiary.world/api/gateway/svc_osmosis/pools/1");
if (!res.ok) throw new Error(`Request failed: ${res.status}`);
const data = await res.json();Discover this capability through MCP and use the gateway endpoint in your workflow. Payment authorization stays with your agent.
Choose your agent setupGET https://www.apiary.world/api/gateway/svc_osmosis/pools/1
No Apiary gateway charge or x402 payment is required.
Read the developer guide