{"uid":"cap_aygtr-Ap5zKK8O7mMbCW_","slug":"agent402-perpetual-dex-markets-7cfd93eb","name":"Agent402 Perpetual DEX Markets","description":"Snapshot of every market on ONE builder-deployed perp dex (HIP-3): mark and oracle price, 24h change, hourly funding (plus 8h and annualized), open interest in units and USD, 24h notional volume, impact premium, max leverage, growth mode, isolated-only and margin mode, deployer fee scale, and the dex's collateral token. Coins carry the dex prefix (xyz:TSLA). Sort by volume, openInterest, funding, change or coin; limit caps the list (max 500). Keyless public data.","url":"https://agent402.tools/api/perp-dex-markets?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"dex":{"type":"string","description":"HIP-3 dex name, e.g. xyz (list them with perp-dexs)."},"sort":{"type":"string","description":"volume (default), openInterest, funding, change, or coin."},"limit":{"type":"number","description":"Rows to return (default 50, max 500)."}}},"responseSchema":{"type":"json","example":{"dex":"xyz","sort":"volume","count":1,"source":"hyperliquid","markets":[{"dex":"xyz","coin":"xyz:TSLA","markPx":431.2,"oraclePx":431.1,"funding8h":0.00005,"growthMode":"enabled","marginMode":null,"premiumPct":-0.0051,"szDecimals":3,"maxLeverage":20,"change24hPct":1.2,"onlyIsolated":false,"openInterest":8837.2,"volume24hUsd":158407743.45,"fundingAprPct":5.475,"fundingHourly":0.00000625,"openInterestUsd":3810601,"deployerFeeScale":1}],"fetchedAt":"2026-09-18T12:00:00.000Z","totalMarkets":108,"collateralToken":0,"delistedMarkets":15}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yrwsxdZNV2PMXK5gN-Dex","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a ranked list of perpetual futures markets on a specified decentralized exchange, sorted by volume, open interest, funding rate, or other criteria.","exampleAgentPrompt":"Show me the top 20 perpetual futures markets on the xyz DEX sorted by open interest, including funding rates and 24h volume.","exampleUseCases":[{"title":"Funding rate arbitrage scanner","prompt":"Pull all perp markets on the xyz DEX sorted by funding rate so I can spot which contracts have the highest funding APR right now — I want to see at least 100 markets."},{"title":"Volume-based market liquidity check","prompt":"Give me the top 50 perpetual markets on xyz sorted by 24h volume so I can see which contracts are the most liquid before placing a trade."},{"title":"Perp market overview for a trading dashboard","prompt":"Fetch all available perpetual markets on the xyz DEX and sort them by 24h price change, I need mark price, open interest, and funding rate for each one."}],"resultDescription":"Returns a JSON object containing an array of perpetual market entries for the specified DEX, each including coin symbol, mark price, oracle price, 8-hour funding rate, funding APR, hourly funding rate, 24h volume in USD, open interest in USD, 24h price change percentage, premium percentage, max leverage, margin mode, size decimals, and growth mode status. Also includes metadata such as total market count, delisted market count, collateral token, data source, and fetch timestamp.","failureModes":["Invalid or unknown DEX name returns an error or empty markets array","Invalid sort field value may default to volume or return a validation error","Limit exceeding 500 is clamped or rejected","DEX temporarily unavailable may return stale or empty data","Network or upstream Hyperliquid API outage causes fetch failure"],"whenToPreferThis":"Use this endpoint when you need structured, ranked perpetual futures market data from a specific HIP-3 compatible decentralized exchange, especially when you want to filter by volume, open interest, funding rate, or price change. Prefer this over centralized exchange APIs when you specifically need on-chain or DEX-native perp data including funding rates, leverage limits, and growth mode flags.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:47:32.393Z","isFirstParty":false,"canonicalSlug":"agent402-perpetual-dex-markets-7cfd93eb"}