{"uid":"cap_w85aoFbqANep_g5BDVUtL","slug":"x402-trading-hub-contract-events-f9f8edff","name":"x402 Trading Hub - Contract Events","description":"67 paid endpoints for on-chain, forex, stocks &amp; market intelligence","url":"https://trading-hub-v4-omega.vercel.app/api/contract/events?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.08","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.08/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.08","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.08","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_PJQC9hlPWr---KTE5y2-d","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.08","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches on-chain smart contract events for a given contract address, returning structured blockchain event log data","exampleAgentPrompt":"Pull the last 100 Transfer events emitted by the USDC contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum mainnet (chain ID 1).","exampleUseCases":[{"title":"DeFi protocol activity audit","prompt":"Get all Swap events from the Uniswap V3 ETH/USDC pool contract 0x8ad599c3A0ff1De082011EFDDc58f1908eb6e6D8 on Ethereum mainnet for the last 500 blocks so I can analyze recent trading activity."},{"title":"NFT mint tracking","prompt":"Fetch all Transfer events where the sender is the zero address from the NFT contract 0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D on chain ID 1 — I want to see all recent mints."},{"title":"Token approval monitoring","prompt":"Retrieve all Approval events emitted by the WETH contract 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 on Ethereum mainnet so I can audit which addresses have been granted spending allowances."}],"resultDescription":"Returns a list of structured on-chain event log objects including event name, emitting contract address, transaction hash, block number, log index, and decoded event parameters (topics and data) for each matched event.","failureModes":["Invalid or non-existent contract address returns empty results or 400 error","Unsupported chain ID returns an error","Block range too large may time out or be rejected","Contract has no ABI indexed — events may be undecoded","Payment not attached or insufficient USDC balance returns 402","Rate limiting if too many requests in rapid succession"],"whenToPreferThis":"Use this endpoint when you need on-chain smart contract event data from EVM-compatible blockchains, particularly for DeFi monitoring, NFT activity, token transfers, or any event-driven blockchain analytics. Prefer this over block explorers like Etherscan when you need machine-readable, structured event data via API for programmatic agent workflows. Best for scenarios requiring real-time or historical event retrieval without running your own node.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T00:34:00.753Z","isFirstParty":false,"canonicalSlug":"x402-trading-hub-contract-events-f9f8edff"}