{"uid":"cap_NY3PPVFB3nnYoVgjAzqQK","slug":"tzkt-contracts-count-16401d75","name":"TzKT Contracts Count","description":"TzKT is a comprehensive Tezos blockchain indexer API. Access blocks, operations, accounts, contracts, bigmaps, delegates, tokens and network stats through a fast REST API. No signup or API key required.","url":"https://x402.tzkt.io/v1/contracts/count","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"kind":{"enum":["smart_contract","delegator_contract"],"type":"string","description":"Contract kind filter"}}},"responseSchema":{"type":"integer"},"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_s_XNaEN9wLSbeKTM3_-Y5","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 total count of smart contracts on the Tezos blockchain, optionally filtered by contract kind","exampleAgentPrompt":"How many smart contracts are currently deployed on the Tezos blockchain? Only count 'originated' kind contracts.","exampleUseCases":null,"resultDescription":"A single integer representing the total count of Tezos smart contracts matching the optional kind filter (e.g. 'originated', 'delegator'). No pagination or additional metadata is returned — just the raw count.","failureModes":["Invalid 'kind' filter value returns an error or zero result","Network timeout if TzKT indexer is temporarily unavailable","Payment failure (HTTP 402) if the 0.002 USDC x402 payment is not submitted correctly","Empty response if indexer is reindexing or out of sync"],"whenToPreferThis":"Use this endpoint when you need a fast, single-integer count of Tezos smart contracts without needing full contract details. Prefer this over fetching a full contract list when only the total number matters, or when building dashboards, monitoring scripts, or statistics aggregations for the Tezos network. Ideal for agents that need to assess Tezos ecosystem size or monitor contract deployment growth.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:43:10.586Z","isFirstParty":false}