{"uid":"cap_nhjG0Fe-jrA_ggZwL5x5N","slug":"primeapi-crypto-transaction-trace-83d5b4c0","name":"PrimeAPI Crypto Transaction Trace","description":"Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.","url":"https://prime-api-seven.vercel.app/api/crypto/transaction/trace?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"query":{"type":"string","description":"Search query or input parameter"}}},"responseSchema":{"type":"object","description":"API response data"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.078241","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.078241/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.078241","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.078241","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_AGlnN5FFr2QzqbWjsZeJ3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.078241","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Traces a cryptocurrency transaction to retrieve its execution path, call stack, and state changes on-chain.","exampleAgentPrompt":"Can you trace the execution path of this transaction — 0xabc123def456... — and show me all the internal calls and state changes that happened inside it?","exampleUseCases":[{"title":"Debug failed DeFi smart contract calls","prompt":"I just had a transaction fail on Uniswap. Can you trace through what happened inside it and show me exactly where the execution went wrong?"},{"title":"Audit token transfers in complex transactions","prompt":"This transaction moved tokens across three different contracts but I only see one transfer on the block explorer. Can you trace the full execution and show me all the internal token movements that happened?"},{"title":"Understand MEV sandwich attack mechanics","prompt":"I think my transaction got sandwich attacked. Can you trace the full execution path and show me all the internal calls and state changes so I can see exactly how the attacker's contracts interacted with mine?"}],"resultDescription":"Returns a detailed transaction trace object including the call stack, internal contract calls, token transfers, gas consumed at each step, and state mutations triggered by the transaction.","failureModes":["Invalid or malformed transaction hash returns an error","Transaction not found on the queried chain returns 404-style error","Network congestion or RPC timeout may cause delayed or empty response","Transaction still pending (not yet mined) may return no trace data","Generic input schema means malformed query strings may yield no useful output"],"whenToPreferThis":"Use this endpoint when you need to inspect the internal execution details of a specific on-chain transaction — especially for debugging failed transactions, auditing DeFi interactions, or understanding internal token transfers that aren't visible at the surface level. Prefer this over block explorers when programmatic, structured trace data is needed by an agent.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T19:16:23.890Z","isFirstParty":false,"canonicalSlug":"primeapi-crypto-transaction-trace-83d5b4c0"}