{"uid":"cap_pdJJrlv_2jYR_cyIkXlv5","slug":"ddg-markets-spread-endpoint-88dded9a","name":"DDG Markets Spread Endpoint","description":"DDG agent-payable service request","url":"https://agents.daedalusdevelopmentgroup.com/v1/markets/spread?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object"},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":true},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string"},"example":{"ok":true}},"additionalProperties":true}}},"responseSchema":{"type":"json","example":{"ok":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5C8V3vwjq652XlFvedKvr","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns market spread data (bid/ask pricing information) for financial instruments via a paid agent-callable API","exampleAgentPrompt":"Can you fetch the current bid-ask spread for the BTC/USDC market from the DDG markets API?","exampleUseCases":[{"title":"Real-time spread check before trade","prompt":"Before I place this trade, can you check the current bid-ask spread on the ETH/USDC market so I know how wide the spread is right now?"},{"title":"Algorithmic trading spread monitoring","prompt":"Pull the current market spread data from DDG for the BTC/USDC pair so my trading bot can decide whether it's a good time to enter a position."},{"title":"Market pricing data for arbitrage","prompt":"Get me the current spread on the SOL/USDC market from the DDG markets API — I want to compare it against another exchange to spot arbitrage opportunities."}],"resultDescription":"Returns market spread data including bid price, ask price, and spread metrics for the queried financial instrument or market pair, along with a success indicator.","failureModes":["Missing required input body fields returns a validation error","Invalid market identifier results in a 404 or empty response","Insufficient USDC payment (requires $0.01 per call) results in a 402 Payment Required","Malformed JSON body causes a 400 Bad Request","Network timeout if market data feed is unavailable"],"whenToPreferThis":"Choose this endpoint when you need real-time or current market spread data for financial instruments and are operating in an agent context that supports x402 micropayment rails. Best suited for automated trading agents, arbitrage detection, or any workflow requiring programmatic access to bid-ask spread data at low per-call cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:43:36.219Z","isFirstParty":false,"canonicalSlug":"ddg-markets-spread-endpoint-88dded9a"}