{"uid":"cap_y3ESufrw3g8Vh0_jwK5PK","slug":"agentfeed-cross-exchange-spread-arbitrage-7d6ad0b3","name":"AgentFeed Cross-Exchange Spread & Arbitrage","description":"Cross-exchange spread and arbitrage edge for any USDT perp: the best bid and ask on Bybit, OKX and Hyperliquid, with the best cross-venue edge in bps, pre-fee.","url":"https://x402.ochinimus.app/api/spread-arb?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"symbol":{"type":"string","description":"USDT perp symbol e.g. SOLUSDT, BTCUSDT (default SOLUSDT)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"data":{"type":"object","properties":{"note":{"type":"string"},"symbol":{"type":"string"},"venues":{"type":"object"},"best_cross":{"type":"object"}}},"paid":{"type":"boolean"},"tool":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"data":{"note":"gross edge, pre-fee — perp funding and fees usually eat sub-5bps gaps","symbol":"SOLUSDT","venues":{"okx":{"ask":121.4,"bid":121.39},"bybit":{"ask":121.46,"bid":121.45},"hyperliquid":{"ask":121.45,"bid":121.44}},"best_cross":{"edge":0.04999999999999716,"buy_on":"okx","sell_on":"bybit","edge_bps":4.12,"edge_usd_per_unit":0.05}},"paid":true,"tool":"get_spread_arb"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dYXy6EFNfNb8wf6v1Ez9D","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns best bid/ask prices for a USDT perpetual across Bybit, OKX, and Hyperliquid, plus the best cross-venue arbitrage edge in basis points (pre-fee).","exampleAgentPrompt":"What's the best bid and ask for SOLUSDT perpetuals right now across Bybit, OKX, and Hyperliquid, and is there a cross-venue arb edge I can exploit?","exampleUseCases":[{"title":"Spot live arb edge on BTC perp","prompt":"Check BTCUSDT perpetuals across Bybit, OKX, and Hyperliquid and tell me the current cross-venue spread in bps — I want to know if there's a pre-fee arbitrage edge worth acting on."},{"title":"Best venue to open ETH perp","prompt":"I want to go long ETHUSDT perpetual — which of Bybit, OKX, or Hyperliquid has the best ask price right now, and how wide is the spread between them?"},{"title":"Monitor AVAX perp for spread divergence","prompt":"Pull the current best bid and ask for AVAXUSDT perps on all three venues and show me the cross-exchange spread in basis points so I can see if there's any pricing divergence."}],"resultDescription":"Returns per-venue best bid and ask prices for the requested USDT perpetual, plus the best cross-venue arbitrage edge expressed in basis points (pre-fee), identifying which venues form the best buy/sell pair.","failureModes":["Missing or invalid 'symbol' query parameter returns an error","Symbol not listed as a USDT perp on one or more venues may result in incomplete venue data","Temporary exchange API downtime could cause missing venue quotes","Rate limiting or payment failure may block the call"],"whenToPreferThis":"Choose this endpoint when you need real-time, multi-venue best bid/ask comparison and pre-fee arbitrage edge calculation for USDT perpetuals across exactly Bybit, OKX, and Hyperliquid. Ideal for trading agents, arbitrage bots, or market-making workflows that need a single call to compare top-of-book across all three venues simultaneously rather than querying each exchange independently.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T06:49:02.216Z","isFirstParty":false,"canonicalSlug":"agentfeed-cross-exchange-spread-arbitrage-7d6ad0b3"}