{"uid":"cap_GvK980-gj21dhApKuQktg","slug":"get-transaction-count-nonce-for-ethereum-address-4e7a4888","name":"Get Transaction Count (Nonce) for Ethereum Address","description":"Which nonce should your next transaction use? Returns the number of confirmed transactions sent by an address on Base; pending ones are not counted ($0.002 per call).","url":"https://api.api-agent-ia.ch/nonce?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","required":["adresse"],"properties":{"adresse":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"nonce":70,"reseau":"base","adresse":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}},"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_cS56GmgQWF9yddqa1fVck","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":"Returns the transaction count (nonce) for a given Ethereum address","exampleAgentPrompt":"What's the current nonce (transaction count) for the Ethereum address 0x742d35Cc6634C0532925a3b844Bc454e4438f44e?","exampleUseCases":[{"title":"Pre-flight nonce check before sending ETH","prompt":"Before I broadcast my next Ethereum transaction, can you check the current nonce for my wallet 0x742d35Cc6634C0532925a3b844Bc454e4438f44e so I know what nonce to assign?"},{"title":"Audit wallet activity level","prompt":"How many transactions has the wallet 0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe ever sent? I want to know its nonce to gauge how active it is."},{"title":"Detect stuck or pending transactions","prompt":"I think there might be a stuck pending transaction on my wallet 0xAbcD1234efgh5678... — can you fetch its on-chain transaction count so I can figure out which nonce to use to replace it?"}],"resultDescription":"Returns a JSON object containing the nonce (total number of transactions sent from the address) and the queried Ethereum address itself, e.g. {\"nonce\": 42, \"adresse\": \"0x...\"}","failureModes":["Missing or malformed 'adresse' query parameter returns an error","Invalid Ethereum address format may return an error or unexpected result","Network or upstream node unavailability causes request failure","Payment not included or insufficient (x402 payment required) returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need a quick, low-cost lookup of an Ethereum address's transaction count (nonce) — particularly useful for transaction construction, fraud detection, activity auditing, or debugging stuck transactions. Part of a broader blockchain data API suite that includes ENS resolution, token metadata, and smart contract analysis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T12:36:07.848Z","isFirstParty":false,"canonicalSlug":"get-transaction-count-nonce-for-ethereum-address-4e7a4888"}