{"uid":"cap_cisDj52AXAsjOirHGmLZP","slug":"ozmium-compare-edge-api-54338c9a","name":"Ozmium Compare Edge API","description":"Compare edges. Two named assets (?a=ETH&b=BTC): the relative-strength / pairs-trade read- when one leg sits near the top of its own recent range while the other sits near its bottom, the spread is stretched and mean-reversion favors LONG the laggard / SHORT the leader- plus each leg's own directional edge. One asset (?a=SPCX): its edge RANK across the whole cross-category field and the single strongest market edge right now (is X better than any market?). Full details: GET /v1.","url":"https://ozmium.org/v1/ideas/compare","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"a":{"type":"string"},"b":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"data":{"type":"object","properties":{"a":{"type":"object","properties":{"sym":{"type":"string"},"hasEdge":{"type":"boolean"}}},"b":{"type":"object","properties":{"sym":{"type":"string"},"hasEdge":{"type":"boolean"}}},"mode":{"type":"string"}}},"network":{"type":"string"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_o3006nBNHyc7Oa-Cyhqh5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares relative strength and directional edge between two crypto assets (pairs-trade spread analysis) or ranks a single asset's edge across all tracked markets","exampleAgentPrompt":"Compare the trading edge between ETH and BTC right now — tell me which one is near the top of its recent range versus the bottom, and whether the spread favors a long/short pairs trade.","exampleUseCases":null,"resultDescription":"Returns a structured object with: mode (pair or single), per-leg data including symbol and hasEdge boolean, relative-strength/pairs-trade read indicating whether spread is stretched and which leg to long vs short, each leg's own directional edge, and (for single-asset mode) the asset's edge rank across all tracked markets plus whether it is the single strongest market edge currently.","failureModes":["Missing required 'a' query parameter — returns error or empty result","Unknown/unsupported asset symbol — may return hasEdge false or error","Payment not included or insufficient — x402 payment required error","Network error reaching ozmium.org — connection timeout","Single-asset mode called with unsupported ticker — no rank data returned"],"whenToPreferThis":"Use this endpoint when you need a quantitative pairs-trade signal between two crypto assets (relative strength spread, mean-reversion direction, long laggard / short leader recommendation) or when you need to rank a single asset's edge against the entire cross-category field. Prefer this over generic price feeds when you want a pre-computed edge signal rather than raw price data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:32:24.194Z","isFirstParty":false}