{"uid":"cap_37eg8jZylrmzOvyaslRwL","slug":"brainiac-chain-data-logs-search-506ba1cc","name":"BRAINIAC Chain Data Logs Search","description":"Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.","url":"https://www.brainiac.software/api/v1/chain-data/logs/search?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"limit":{"type":"integer","default":1000,"maximum":1000,"minimum":1},"topics":{"type":"array","items":{"anyOf":[{"type":"string","pattern":"^0x[0-9a-fA-F]*$"},{"type":"array","items":{"type":"string","pattern":"^0x[0-9a-fA-F]*$"}},{"type":"null"}]},"default":[],"maxItems":4},"address":{"anyOf":[{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},{"type":"array","items":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}}]},"toBlock":{"type":"integer","maximum":9007199254740991,"minimum":0},"blockHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"fromBlock":{"type":"integer","maximum":9007199254740991,"minimum":0}}},"responseSchema":{"type":"json","example":{"logs":[],"source":{"url":"https://mainnet.base.org","error":"HTTP 429 - Too Many Requests","status":"UNAVAILABLE"},"retrievedAt":"2026-11-07T12:08:59.140Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MGiJbWglG2Dg94p-h1OnW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search Ethereum/EVM event logs by contract address, topics, and block range on-chain data","exampleAgentPrompt":"Search on-chain event logs for the USDC contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 from block 20000000 to 20001000, filtering by the Transfer topic 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, and return up to 500 results.","exampleUseCases":[{"title":"Track ERC20 token transfers","prompt":"Fetch all Transfer event logs from the USDC contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 between blocks 20000000 and 20005000, using topic 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, limit 1000 results."},{"title":"Audit DeFi protocol events","prompt":"Search for all event logs emitted by the Uniswap V3 pool at 0x8ad599c3A0ff1De082011EFDDc58f1908eb6e6D8 from block 19500000 to 19510000 — I need to see all swap and liquidity events."},{"title":"Investigate a specific block's logs","prompt":"Pull all contract event logs within block hash 0x4e3a3754410177e6937ef1f84bba68ea139e8d1a2258c5f85db9f1cd715a1bdd for contract 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D, up to 200 results."}],"resultDescription":"A JSON array of EVM event log entries matching the query, each containing fields such as block number, transaction hash, log index, contract address, topics array, and raw data payload.","failureModes":["Invalid address format (non-hex or wrong length) returns validation error","Topics array exceeding 4 items rejected","Requesting both blockHash and fromBlock/toBlock simultaneously may cause conflict","Block range too large may hit internal limits","No matching logs returns empty array","Payment failure via x402 returns 402 status with payment details"],"whenToPreferThis":"Use this endpoint when you need to query raw EVM event logs from smart contracts by address, topic, or block range without setting up a node or indexer. Ideal for agents that need on-demand, pay-per-call blockchain data access on Base without account registration. Prefer over free RPC endpoints when reliability matters, or over full indexers (The Graph, Moralis) when you need a lightweight, accountless, pay-as-you-go solution.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T00:36:08.199Z","isFirstParty":false,"canonicalSlug":"brainiac-chain-data-logs-search-506ba1cc"}