{"uid":"cap_4J1bcoR6Q2zuV-A2Nmq02","slug":"kaspa-on-chain-metrics-history-059edefa","name":"Kaspa On-Chain Metrics History","description":"Hourly time series and summary statistics (min, max, average, trend) for Kaspa on-chain metrics (hashrate, difficulty, tx-count, active-addresses) for a given UTC date (YYYY-MM-DD).","url":"https://api.chainmarket-api.workers.dev/api/crypto/kaspa-metrics-history?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":{"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"UTC date in YYYY-MM-DD format (defaults to previous UTC day)."},"metric":{"enum":["hashrate","difficulty","tx-count","active-addresses"],"type":"string","description":"Metric to retrieve (default: hashrate)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YeCiGjrrY0gd5GDV6siqX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns hourly time series and summary statistics (min, max, average, trend) for Kaspa on-chain metrics — hashrate, difficulty, tx-count, or active-addresses — for a specified UTC date.","exampleAgentPrompt":"Can you pull the hourly hashrate history for Kaspa on 2024-11-15 and give me the min, max, average, and trend for that day?","exampleUseCases":[{"title":"Daily Kaspa mining difficulty review","prompt":"What did Kaspa's mining difficulty look like on 2024-10-20? Give me the hourly breakdown with the min, max, and average for the day."},{"title":"Tracking Kaspa network user activity","prompt":"Show me how Kaspa active addresses changed hour by hour on 2024-09-05 — I want to see the full daily summary stats too."},{"title":"Kaspa transaction volume analysis","prompt":"Pull the hourly tx-count data for Kaspa on 2024-11-01 so I can see when transaction activity peaked and what the average was across the day."}],"resultDescription":"An hourly time series of the requested Kaspa on-chain metric for the given UTC date, along with summary statistics including the daily minimum, maximum, average, and trend direction. The metric field determines which of hashrate, difficulty, tx-count, or active-addresses is returned.","failureModes":["Invalid date format (not YYYY-MM-DD) returns a 400 error","Date too far in the past may return empty or unavailable data","Invalid metric enum value returns a 400 or 422 error","Upstream Kaspa node unavailability may cause 503 or timeout","Date is in the future — data not yet available"],"whenToPreferThis":"Choose this endpoint when you need historical, day-level granularity for Kaspa on-chain metrics with hourly resolution and pre-computed summary stats. Prefer this over the current-state Kaspa endpoints when you need trend analysis, historical comparisons, or time series data for a specific past date rather than live snapshots.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T18:31:23.757Z","isFirstParty":false,"canonicalSlug":"kaspa-on-chain-metrics-history-059edefa"}