{"uid":"cap_ht5KgxBxTiCkhmi1ZKOFM","slug":"beggar-bot-transaction-fees-lookup-1d26ea39","name":"Beggar Bot Transaction Fees Lookup","description":"Paid: /v1/verify, /v1/risk, /v1/receipt cost $0.01 USDC per call on Base mainnet via x402 (payTo 0x719227f384b66BFEF00093D6d8d32fA9dC2B40e7); utilities analyze Base mainnet (USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) by default, network=base-sepolia optional; /v1/receipt/verify and discovery files are free. Operator: Beggar Bot.","url":"https://beggar-bot-demand.beggarbot.workers.dev/v1/txfees?utm_source=zero.xyz","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"},"queryParams":{"type":"object","properties":{"txs":{"type":"string","description":"csv tx hashes (<=20)"},"chain":{"type":"string","description":"base|ethereum|optimism|arbitrum|polygon"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IXvD9RzU2TdpqfULMjB2_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches gas/transaction fee data for one or more blockchain transactions across EVM-compatible chains","exampleAgentPrompt":"Can you look up the transaction fees paid for these two Base mainnet tx hashes: 0xabc123... and 0xdef456...? I want to know how much gas each one cost.","exampleUseCases":[{"title":"Audit gas costs for DeFi trades","prompt":"I did a few swaps on Base yesterday — here are the tx hashes: 0xaaa111, 0xbbb222, 0xccc333. Can you pull the transaction fees for each so I can see how much I spent on gas?"},{"title":"Cross-chain fee comparison","prompt":"I have transactions on Ethereum and Arbitrum from last week. Can you fetch the fees for tx 0xddd444 on Ethereum and 0xeee555 on Arbitrum so I can compare what I paid in gas on each chain?"},{"title":"Expense reporting for on-chain operations","prompt":"Our team ran a batch of contract calls on Optimism this month. Here are up to 20 tx hashes — can you pull the transaction fees for all of them so we can include gas costs in our expense report?"}],"resultDescription":"Returns fee data (gas used, gas price, total fee in native token and/or USD) for each requested transaction hash on the specified EVM chain. Up to 20 transaction hashes can be queried per call.","failureModes":["Invalid or malformed transaction hash returns an error or null entry for that hash","Unsupported chain identifier returns a validation error","More than 20 tx hashes in a single request may be rejected","Transaction not found on specified chain returns empty or error result","Payment failure via x402 (insufficient USDC) blocks the request","Network timeouts when querying RPC nodes for fee data"],"whenToPreferThis":"Use this endpoint when you need to look up historical gas fees for specific transactions on Base, Ethereum, Optimism, Arbitrum, or Polygon by tx hash. It is especially useful for auditing costs, expense reporting, or enriching transaction records with fee data. Prefer this over block explorer scraping when you need programmatic, structured fee output for up to 20 transactions at once.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-23T18:44:37.469Z","isFirstParty":false,"canonicalSlug":"beggar-bot-transaction-fees-lookup-1d26ea39"}