{"uid":"cap_T0iUqExpl0QQxw2y8Yopp","slug":"tzkt-blocks-count-3c3ac08c","name":"TzKT Blocks 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/blocks/count","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"quote":{"enum":["Btc","Eur","Usd","Cny","Jpy","Krw","Eth","Gbp"],"type":"string","description":"Quote currency for balance fields"}}},"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_QvPeb_ByXewSLgnes12-V","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 number of blocks on the Tezos blockchain","exampleAgentPrompt":"How many blocks have been produced on the Tezos blockchain so far? Give me the current total block count.","exampleUseCases":[{"title":"Monitor Tezos chain growth","prompt":"Check the current total number of blocks on the Tezos blockchain and tell me how it compares to what it was last week — I want to track how fast the chain is growing."},{"title":"Validate Tezos node sync status","prompt":"My Tezos node says it's at block 5,800,000 — can you check the TzKT API to see what the actual current block count is on the Tezos blockchain so I can tell if my node is fully synced?"},{"title":"Dashboard block height display","prompt":"I'm building a Tezos dashboard — what's the latest total block count on the Tezos network right now so I can display the current chain height?"}],"resultDescription":"A single integer representing the total number of blocks that have been produced on the Tezos blockchain up to the current moment.","failureModes":["Network timeout or service unavailability returning a 5xx error","Invalid quote currency parameter resulting in a 400 bad request","Payment failure via x402 protocol preventing access to the endpoint"],"whenToPreferThis":"Use this endpoint when you need a simple, fast scalar count of total Tezos blocks without needing full block details or pagination. It is ideal for dashboards, sync checks, or chain health monitoring where only the block height integer is needed. Prefer this over fetching full block lists when you only need the count.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:46:48.987Z","isFirstParty":false}