{"uid":"cap_6VY555xcMVKHZLcS3O4GR","slug":"coinbase-exchange-recent-trades-feed-eed36886","name":"Coinbase Exchange Recent Trades Feed","description":"Machine-payable x402 utilities for hashing, Base64, UUID generation, unit and timezone conversion, realtime crypto market data, webpage/document extraction, URL-to-Markdown, metadata, RAG ingestion and deterministic website change detection.","url":"https://x402-gateway-production-1f21.up.railway.app/crypto/trades?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["product_id"],"properties":{"limit":{"type":"integer","maximum":100,"minimum":1,"description":"Maximum trades to return; default 50."},"product_id":{"type":"string","pattern":"^[A-Za-z0-9]{2,15}-[A-Za-z0-9]{2,15}$","description":"Coinbase Exchange product such as BTC-USD, ETH-USD, SOL-USD or ETH-USDC."}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"status":"ready"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_RoUzMIIx7xkW9_aCY5GWK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches the most recent trades for a given Coinbase Exchange trading pair (e.g. BTC-USD), returning trade history with price, size, and side data.","exampleAgentPrompt":"Pull the last 100 recent trades for BTC-USD from Coinbase Exchange so I can see the latest executed prices and sizes.","exampleUseCases":[{"title":"Live crypto price discovery","prompt":"What are the most recent trade prices for ETH-USD on Coinbase? Give me the last 50 trades so I can see where it's actually trading right now."},{"title":"Algorithmic trading signal input","prompt":"Fetch the last 100 trades for SOL-USD from Coinbase Exchange — I need the executed prices and sizes to calculate a volume-weighted average price for my trading bot."},{"title":"Market depth and momentum analysis","prompt":"Get me the last 25 trades for ETH-USDC on Coinbase so I can check whether buyers or sellers are dominating recent activity."}],"resultDescription":"Returns a list of recent trades for the specified Coinbase Exchange trading pair, each trade containing fields such as trade ID, price, size, side (buy/sell), and timestamp. Up to 100 trades can be retrieved per call (default 50).","failureModes":["Invalid product_id format (must match pattern like BTC-USD) returns validation error","Unsupported or unlisted trading pair returns not found error","Limit outside 1-100 range returns schema validation error","Payment not included or insufficient triggers x402 payment required response","Coinbase Exchange API downtime causes upstream errors"],"whenToPreferThis":"Choose this endpoint when you need real-time, recently executed trade data (tick data) for specific Coinbase Exchange pairs. It is ideal for price discovery, VWAP calculations, momentum signals, or any use case requiring actual matched trade history rather than order book snapshots or OHLCV candles. Prefer this over order book endpoints when you want confirmed executions rather than pending orders.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:47:16.574Z","isFirstParty":false,"canonicalSlug":"coinbase-exchange-recent-trades-feed-eed36886"}