{"uid":"cap_y_qtGNtHXhMqnZj1p3gII","slug":"blockscout-advanced-filters-csv-export-d760de2b","name":"Blockscout Advanced Filters CSV Export","description":"Explore crypto activities with Blockscout's multichain search. Find transactions, addresses, tokens, and dapps across top blockchain networks — your go-to explorer for cross-chain blockchain data","url":"https://api.blockscout.com/%7Bchain_id%7D/api/v2/advanced-filters/csv","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"},"pathParams":{"type":"object","properties":{"chain_id":{"type":"string"}}},"queryParams":{"type":"object","properties":{"age_to":{"type":"string"},"methods":{"type":"string"},"age_from":{"type":"string"},"amount_to":{"type":"string"},"amount_from":{"type":"string"},"block_number":{"type":"string"},"methods_names":{"type":"string"},"address_relation":{"type":"string"},"transaction_index":{"type":"string"},"transaction_types":{"type":"string"},"token_transfer_index":{"type":"string"},"internal_transaction_index":{"type":"string"},"token_transfer_batch_index":{"type":"string"},"to_address_hashes_to_exclude":{"type":"string"},"to_address_hashes_to_include":{"type":"string"},"from_address_hashes_to_exclude":{"type":"string"},"from_address_hashes_to_include":{"type":"string"},"token_contract_symbols_to_exclude":{"type":"string"},"token_contract_symbols_to_include":{"type":"string"},"token_contract_address_hashes_to_exclude":{"type":"string"},"token_contract_address_hashes_to_include":{"type":"string"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Qprf5Sk5oNp44dlQUXXmJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Exports filtered blockchain transaction data as a CSV file for a specified chain, with rich filtering by address, token, method, amount, and time range","exampleAgentPrompt":"Export a CSV of all ERC-20 token transfers on Ethereum (chain_id: 1) involving address 0xAbC...123 as the sender, from January 1 2024 to March 31 2024, filtered to only include USDC transfers.","exampleUseCases":[{"title":"Crypto tax report for wallet","prompt":"Pull a CSV of all transactions sent from my wallet 0xABC...123 on Ethereum between January 1 and December 31 2023 — I need to prepare my crypto tax report."},{"title":"DeFi protocol audit by method","prompt":"Export a CSV of all transactions on Polygon (chain 137) that called the 'swap' method in the last 30 days so I can audit our DeFi protocol's swap activity."},{"title":"Token holder transfer tracking","prompt":"Download a CSV of all USDT token transfers on Ethereum involving addresses 0xDEF...456 or 0x789...ABC — I need to track large inflows and outflows for a compliance review."}],"resultDescription":"A CSV file containing rows of blockchain transactions, token transfers, or internal transactions matching the specified filters. Each row typically includes fields such as transaction hash, block number, timestamp, from/to addresses, value/amount, token symbol, method name, and transaction type — ready for import into spreadsheets or data analysis tools.","failureModes":["Invalid chain_id returns 404 or empty response","Malformed address hashes in filter params return 400 bad request","Overly broad filters with no pagination may time out or return large files","Unsupported transaction_types or method values may silently filter out all results","Date range too narrow or too broad may return empty CSV or error","Network-specific endpoints unavailable for some lesser-supported chain IDs"],"whenToPreferThis":"Use this endpoint when you need to bulk-export structured blockchain data for a specific chain in CSV format for offline analysis, accounting, compliance, or reporting purposes. It is ideal when you need to apply multiple simultaneous filters (address, token, method, time range, amount) in a single call and receive a machine-readable flat file. Prefer this over JSON endpoints when downstream tooling (Excel, Google Sheets, pandas) expects CSV input directly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-10T00:44:33.316Z","isFirstParty":false}