{"uid":"cap_99iBI8nHJGWLN1KEvqom7","slug":"kaspa-recent-blocks-lookup-de31ac9a","name":"Kaspa Recent Blocks Lookup","description":"The most recent Kaspa blocks (count between 1 and 144): hash, block timestamp, blue score, DAA score, transaction count, and selected-chain status.","url":"https://api.chainmarket-api.workers.dev/api/crypto/kaspa-recent-blocks?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"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"count":{"type":"integer","maximum":144,"minimum":1,"description":"Number of recent blocks to retrieve (1-144, default 5)"}}}},"additionalProperties":false}}},"responseSchema":null,"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_2aAxJUDu2WfS0GB4WOfIy","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 metadata for the most recent 1–144 Kaspa BlockDAG blocks, including hash, timestamp, blue score, DAA score, transaction count, and selected-chain status.","exampleAgentPrompt":"Pull the last 20 Kaspa blocks and show me their hashes, timestamps, blue scores, DAA scores, transaction counts, and whether each is on the selected chain.","exampleUseCases":[{"title":"BlockDAG activity monitoring dashboard","prompt":"Fetch the last 50 Kaspa blocks and tell me their transaction counts and blue scores — I want to see how busy the network has been recently."},{"title":"Confirm recent block finality","prompt":"Check the last 10 Kaspa blocks and tell me which ones are on the selected chain, along with their hashes and timestamps."},{"title":"Track DAA score progression","prompt":"Get the most recent 30 Kaspa blocks and show me the DAA score for each one so I can see how the difficulty adjustment is progressing."}],"resultDescription":"A list of up to 144 recent Kaspa block objects, each containing the block hash, block timestamp, blue score, DAA score, transaction count, and a boolean indicating selected-chain status.","failureModes":["count parameter out of range (must be 1–144) returns a validation error","upstream Kaspa node unavailable causes a 503 or timeout","payment not attached or invalid returns 402 Payment Required","malformed request returns 400 Bad Request"],"whenToPreferThis":"Use this endpoint when you need recent Kaspa block-level detail — hashes, timestamps, blue scores, DAA scores, transaction counts, and chain selection status — for monitoring, analytics, or verification. Choose this over the general BlockDAG snapshot endpoint when you need per-block granularity rather than network-level aggregates.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T18:31:05.371Z","isFirstParty":false,"canonicalSlug":"kaspa-recent-blocks-lookup-de31ac9a"}