{"uid":"cap_TZefX-UFTOE21y7llIBE3","slug":"blockscout-smart-contract-counters-ab7a1422","name":"Blockscout Smart Contract Counters","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/smart-contracts/counters","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"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"smart_contracts":"string","new_smart_contracts_24h":"string","verified_smart_contracts":"string","new_verified_smart_contracts_24h":"string"}},"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_2wRKMw_75e7fECLn_2WQ9","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 aggregate counts of smart contracts and verified smart contracts on a specific blockchain, including 24-hour new contract statistics","exampleAgentPrompt":"Using Blockscout, how many smart contracts and verified smart contracts are currently deployed on Ethereum mainnet, and how many new ones were added in the last 24 hours?","exampleUseCases":[{"title":"Monitor daily contract deployment activity","prompt":"Check Blockscout for how many new smart contracts were deployed on Polygon in the last 24 hours and how many of those are verified."},{"title":"Assess chain verification health","prompt":"What fraction of smart contracts on Optimism are verified according to Blockscout? Give me the total count and the verified count."},{"title":"Track smart contract ecosystem growth","prompt":"I'm comparing blockchain ecosystems — can you pull the total smart contract counts for Ethereum and Base from Blockscout so I can see which chain has more deployed contracts?"}],"resultDescription":"Returns a JSON object with four string fields: total smart_contracts count, new_smart_contracts_24h (contracts deployed in the last 24 hours), verified_smart_contracts (total verified), and new_verified_smart_contracts_24h (newly verified in the last 24 hours).","failureModes":["Invalid or unsupported chain_id returns an error or empty response","Network timeout if the Blockscout node for that chain is unavailable","Missing chain_id path parameter causes a 404 or routing error","Chain not indexed by Blockscout returns no data"],"whenToPreferThis":"Use this endpoint when you need high-level aggregate statistics about smart contract deployment and verification on a specific blockchain chain supported by Blockscout. Prefer this over transaction-level queries when you want ecosystem-level metrics rather than individual contract details. It is ideal for dashboards, chain comparison tools, or monitoring deployment activity trends.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-09T06:35:23.503Z","isFirstParty":false}