{"uid":"cap_AVzP5jfFZf4EZ4WeSRviP","slug":"api-carbon-cashmere-de-c7ed93bc","name":"Kaspa BlockDAG Chain Density Ratio","description":"Kaspa chain-blocks (selected-parent chain) vs total DAG blocks per hour. Unique signal not available from generic block-explorer APIs — measures BlockDAG branching activity. Chain ratio drift signals DAG-mode shifts.","url":"https://api.carbon-cashmere.de/v1/kaspa-derivatives/chain-density","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"window":"24h","summary":{"chain_ratio":0.9735,"chain_blocks":84112,"total_blocks":86400,"blocks_per_hour_avg":3600}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_RtnpkO2r4g26oMRB-WRBb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns Kaspa chain-blocks (selected-parent chain) vs total DAG blocks per hour to measure BlockDAG branching activity and detect DAG-mode shifts","exampleAgentPrompt":"What's the current Kaspa BlockDAG chain density right now — show me the ratio of selected-parent chain blocks to total DAG blocks per hour so I can see if there's any branching activity or DAG-mode shift happening?","exampleUseCases":[{"title":"Monitor Kaspa DAG branching anomalies","prompt":"Has the Kaspa BlockDAG seen any unusual branching activity in the last few hours? I want to know if the chain-to-total-block ratio has drifted from normal so I can flag any potential DAG-mode shifts."},{"title":"Track Kaspa chain density over time","prompt":"Pull me the chain blocks versus total DAG blocks per hour for Kaspa over recent history — I'm researching how the chain density ratio has evolved and whether there have been any notable DAG-mode transitions."},{"title":"Compare Kaspa selected-parent chain ratio","prompt":"What's the ratio of selected-parent chain blocks to total DAG blocks for Kaspa right now, and is it higher or lower than usual? I need this to understand the current level of branching activity on the network."}],"resultDescription":"Returns chain-blocks count on the selected-parent chain per hour, total DAG block count per hour, the computed chain density ratio, and signals indicating whether DAG-mode shifts or unusual branching activity are occurring on the Kaspa network.","failureModes":["Node connectivity issue: Rusty Kaspa node unreachable, returns 503","Rate limit exceeded: too many requests in short window","Payment not processed: x402 payment required, returns 402 if USDC not provided","Data temporarily unavailable: node syncing or behind chain tip","Invalid request parameters: returns 400 with error details"],"whenToPreferThis":"Choose this endpoint when researching Kaspa-specific BlockDAG dynamics, particularly when you need the unique chain-to-total-block ratio signal that measures branching activity — not available from standard Kaspa block explorers. Ideal for DAG-protocol researchers tracking DAG-mode transitions or studying Kaspa network structure over time.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:49:03.252Z","isFirstParty":false}