{"uid":"cap_bY5xEmr1xwjSclF1MV7xJ","slug":"phantom-api-polygon-transaction-history-fff99854","name":"Phantom API – Polygon Transaction History","description":"Lightning-fast access to blockchain data, smart contract insights, and Web3 infrastructure across 57+ networks. Pay-per-call via x402.","url":"https://phantom-api-omega.vercel.app/api/polygon/tx/history","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"order":{"enum":["asc","desc"],"type":"string"},"pageKey":{"type":"string"},"toBlock":{"type":"string"},"category":{"type":"array","items":{"type":"string"}},"maxCount":{"type":"number"},"fromBlock":{"type":"string"},"toAddress":{"type":"string"},"fromAddress":{"type":"string"},"withMetadata":{"type":"boolean"},"excludeZeroValue":{"type":"boolean"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ymYaHRBAyrW9w8ShtxBKa","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves paginated transaction history for a given address or address pair on the Polygon network, with filtering by block range, category, and value.","exampleAgentPrompt":"Pull the last 100 transactions (descending order) for Polygon address 0xABC...123, including metadata, from block 40000000 to 45000000 — I need the full history including zero-value transfers.","exampleUseCases":[{"title":"Wallet audit for compliance review","prompt":"Get me the full transaction history for Polygon address 0xDEF...456 from block 30000000 to the latest block, sorted newest-first, including all external and ERC-20 transfers — up to 200 results with metadata."},{"title":"DeFi portfolio tracker refresh","prompt":"Fetch all incoming token transfers to 0x789...ABC on Polygon since block 42000000, excluding zero-value transactions, sorted ascending, max 50 records — I want to update my portfolio history."},{"title":"Smart contract interaction audit","prompt":"Show me all transactions between 0xSENDER...111 and 0xCONTRACT...222 on Polygon across blocks 38000000 to 44000000, descending order, with metadata so I can see what methods were called."}],"resultDescription":"Returns a paginated list of transactions on Polygon matching the specified filters, including transaction hashes, block numbers, from/to addresses, asset category, value, and optional metadata. A pageKey is returned when more results are available for subsequent paginated requests.","failureModes":["Invalid or malformed address returns a 400 error","Unsupported category value causes a validation error","Block range too large may cause timeouts or truncated results","Invalid pageKey for pagination returns an error or empty result","Network downtime or Vercel cold-start may cause 500 errors","Payment failure via x402 protocol prevents request from being processed"],"whenToPreferThis":"Choose this endpoint when you need fast, paginated Polygon transaction history with rich filtering (block range, address pair, category, sort order) via a pay-per-call model — ideal for agents that need on-demand blockchain data without managing an Alchemy API key or committing to a subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:07:50.778Z","isFirstParty":false}