{"uid":"cap_67S0YaMn8UeRXtyq1YJ-c","slug":"prediction-market-trades-feed-7738314b","name":"Prediction Market Trades Feed","description":"Recent trades for one prediction market (by conditionId, slug or numeric id): a PII-stripped pseudonymous feed plus a derived summary — trade count, buy/sell volume and counts, size-weighted average price, last price and range.","url":"https://api.agentstools.dev/prediction/trades","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","required":["market"],"properties":{"side":{"enum":["BUY","SELL"],"type":"string","description":"Filter to one side"},"limit":{"type":"integer","maximum":100,"minimum":1,"description":"Max trades (default 25, cap 100)"},"venue":{"enum":["polymarket"],"type":"string","description":"Venue (default polymarket)"},"market":{"type":"string","description":"Market: 0x conditionId, slug or numeric id (resolved to a conditionId first)"},"min_size":{"type":"number","minimum":0,"description":"Only trades at/above this cash value"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.015","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.015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fZuyq7SQO9xYfcpILvBLI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns recent trades for a single prediction market (by conditionId, slug, or numeric ID) with a PII-stripped pseudonymous trade feed and a derived summary of volume, counts, price range, and last price.","exampleAgentPrompt":"Pull the last 50 trades for the Polymarket market with slug 'will-bitcoin-reach-100k-in-2025' and give me the buy/sell breakdown, size-weighted average price, last traded price, and price range.","exampleUseCases":[{"title":"Monitor market activity before betting","prompt":"Show me the most recent 100 trades on the Polymarket market '0x1234abcd...' so I can see how active it's been and what price trades have been clearing at."},{"title":"Filter large sell-side trades","prompt":"Fetch trades from the Polymarket market with slug 'us-election-2024-winner' but only show SELL trades of at least $50 in size — I want to see who's exiting big positions."},{"title":"Get quick price summary for a market","prompt":"What's the last traded price and the overall price range for Polymarket market ID 12345? Just give me the summary stats, not every individual trade."}],"resultDescription":"Returns a pseudonymous list of recent trades (up to 100, default 25) for the specified prediction market, each stripped of PII, plus a derived summary including total trade count, buy and sell volume and counts, size-weighted average price, last trade price, and high/low price range.","failureModes":["Invalid or unresolvable market identifier returns an error or empty result","Market slug or numeric ID that cannot be mapped to a conditionId causes resolution failure","Requesting limit above 100 is rejected by schema validation","min_size filter too high returns empty trade list","Venue other than 'polymarket' is not currently supported and will be rejected","Network or upstream data source unavailability may cause timeout or 5xx error"],"whenToPreferThis":"Choose this endpoint when you need recent trade-level data or derived trading statistics (volume, price, counts) for a specific Polymarket prediction market, identified by conditionId, slug, or numeric ID. Prefer this over order book endpoints when you need historical fill data rather than open orders, and over market-list endpoints when you already know which market you want.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:58:38.001Z","isFirstParty":false}