{"openapi":"3.1.0","info":{"title":"monerometrics API","description":"Free, read-only JSON API over a reorg-aware Monero index: chain reorganizations, orphan blocks, mining-pool shares with the evidence behind each attribution, network series and the Haveno market. No key, no account.\n\n## Quick start\n\n```bash\ncurl -s https://api.monerometrics.net/status\ncurl -s \"https://api.monerometrics.net/pools/distribution?window=24h\"\n```\n\nEvery endpoint below comes with a command that runs as is.\n\n## Rate limit\n\n300 requests per minute per IP address, over a sliding window. Every response says where you stand:\n\n| Header | Meaning |\n|---|---|\n| `RateLimit-Limit` | requests allowed per minute |\n| `RateLimit-Remaining` | requests left in the current window |\n| `RateLimit-Reset` | seconds until a slot frees up |\n\nPast the limit the API answers `429` with a `Retry-After` header, in seconds.\n\n## Caching\n\nAggregates are recomputed once per period, so polling faster returns the same bytes. Responses carry `Cache-Control` and an `ETag`: send it back in `If-None-Match` and an unchanged answer costs an empty `304`.\n\n## Errors\n\nErrors are JSON with a `detail` field. `400` for a range the endpoint refuses, `404` for a block or hash that is not known, `422` for a malformed parameter, `429` past the rate limit.\n\n## Reading the data\n\n- A block's pool is labelled by evidence: `viewkey_proof`, `pool_api`, `coinbase_heuristic` or none. A claimed attribution is not a proven one.\n- Full indexing coverage starts at height 3490000. Below it only the canonical chain is known and pool attribution is mostly absent.\n- Reorganizations and orphans only cover what this node observed live.\n\n## Other interfaces\n\n- [Changelog](https://api.monerometrics.net/changelog)\n- [OpenAPI schema](https://api.monerometrics.net/openapi.json), [ReDoc](https://api.monerometrics.net/redoc)\n- Model Context Protocol server: `https://api.monerometrics.net/mcp`\n- [llms.txt](https://api.monerometrics.net/llms.txt)\n- Source: [github.com/nowi333/monerometrics](https://github.com/nowi333/monerometrics)\n","contact":{"name":"monerometrics","url":"https://monerometrics.net/","email":"contact@monerometrics.net"},"license":{"name":"MIT","url":"https://github.com/nowi333/monerometrics/blob/main/LICENSE"},"version":"0.33.3"},"servers":[{"url":"https://api.monerometrics.net"}],"paths":{"/thorchain/status":{"get":{"summary":"XMR integration status","description":"Whether native XMR is live on THORChain: pool, inbound vault, halts.\n\n```bash\ncurl -s \"https://api.monerometrics.net/thorchain/status\"\n```","operationId":"thorchain_status_thorchain_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"RateLimit-Limit":{"description":"Requests allowed per minute for this client.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window frees a slot.","schema":{"type":"integer"}}}},"429":{"$ref":"#/components/responses/RateLimited"}},"tags":["THORChain"],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -s \"https://api.monerometrics.net/thorchain/status\""}]}},"/confirmations/recommended":{"get":{"summary":"Recommended confirmations","description":"How many confirmations a merchant should wait, from observed reorgs and pool concentration.\n\n```bash\ncurl -s \"https://api.monerometrics.net/confirmations/recommended?amount_usd=250\"\n```","operationId":"confirmations_recommended_confirmations_recommended_get","parameters":[{"name":"amount_usd","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":1000000000.0,"minimum":0},{"type":"null"}],"title":"Amount Usd"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"RateLimit-Limit":{"description":"Requests allowed per minute for this client.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window frees a slot.","schema":{"type":"integer"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"$ref":"#/components/responses/RateLimited"}},"tags":["Reports"],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -s \"https://api.monerometrics.net/confirmations/recommended?amount_usd=250\""}]}},"/haveno/index":{"get":{"summary":"Haveno Premium Index","description":"monerometrics Haveno Premium Index: volume-weighted median premium of executed Haveno trades over spot, per week.\n\n```bash\ncurl -s \"https://api.monerometrics.net/haveno/index?weeks=12\"\n```","operationId":"haveno_index_haveno_index_get","parameters":[{"name":"weeks","in":"query","required":false,"schema":{"type":"integer","maximum":52,"minimum":1,"default":12,"title":"Weeks"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"RateLimit-Limit":{"description":"Requests allowed per minute for this client.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window frees a slot.","schema":{"type":"integer"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"$ref":"#/components/responses/RateLimited"}},"tags":["Price and Haveno"],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -s \"https://api.monerometrics.net/haveno/index?weeks=12\""}]}},"/reports/{ym}":{"get":{"summary":"Monthly mining report","description":"Monthly State of Monero mining report, as JSON (completed months only).\n\n```bash\ncurl -s \"https://api.monerometrics.net/reports/2026-10\"\n```","operationId":"report_json_reports__ym__get","parameters":[{"name":"ym","in":"path","required":true,"schema":{"type":"string","title":"Ym"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"RateLimit-Limit":{"description":"Requests allowed per minute for this client.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window frees a slot.","schema":{"type":"integer"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"$ref":"#/components/responses/RateLimited"}},"tags":["Reports"],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -s \"https://api.monerometrics.net/reports/2026-10\""}]}},"/health":{"get":{"summary":"Liveness check","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthResponse"}}},"headers":{"RateLimit-Limit":{"description":"Requests allowed per minute for this client.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window frees a slot.","schema":{"type":"integer"}}}},"429":{"$ref":"#/components/responses/RateLimited"}},"tags":["Service"],"description":"Liveness check and database connection status.\n\n```bash\ncurl -s \"https://api.monerometrics.net/health\"\n```","x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -s \"https://api.monerometrics.net/health\""}]}},"/info":{"get":{"summary":"Index totals","operationId":"info_info_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InfoResponse"}}},"headers":{"RateLimit-Limit":{"description":"Requests allowed per minute for this client.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window frees a slot.","schema":{"type":"integer"}}}},"429":{"$ref":"#/components/responses/RateLimited"}},"tags":["Service"],"description":"Global metadata: API version, latest indexed height, total blocks, orphans and reorgs.\n\n```bash\ncurl -s \"https://api.monerometrics.net/info\"\n```","x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -s \"https://api.monerometrics.net/info\""}]}},"/usage/external":{"get":{"summary":"External request counter","operationId":"usage_external_usage_external_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExternalUsageResponse"}}},"headers":{"RateLimit-Limit":{"description":"Requests allowed per minute for this client.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window frees a slot.","schema":{"type":"integer"}}}},"429":{"$ref":"#/components/responses/RateLimited"}},"tags":["Service"],"description":"External API requests served, excluding the dashboard and the MCP server. A single running total, nothing per client.\n\n```bash\ncurl -s \"https://api.monerometrics.net/usage/external\"\n```","x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -s \"https://api.monerometrics.net/usage/external\""}]}},"/chain/window":{"get":{"summary":"Blocks between two heights","operationId":"chain_window_chain_window_get","parameters":[{"name":"from","in":"query","required":true,"schema":{"type":"integer","minimum":0,"title":"From"}},{"name":"to","in":"query","required":true,"schema":{"type":"integer","minimum":0,"title":"To"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChainWindowResponse"}}},"headers":{"RateLimit-Limit":{"description":"Requests allowed per minute for this client.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window frees a slot.","schema":{"type":"integer"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"$ref":"#/components/responses/RateLimited"}},"tags":["Chain"],"description":"Raw blocks between two heights, both included. At most 1000 blocks per request.\n\n```bash\ncurl -s \"https://api.monerometrics.net/chain/window?from=3490000&to=3490010\"\n```","x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -s \"https://api.monerometrics.net/chain/window?from=3490000&to=3490010\""}]}},"/reorgs":{"get":{"summary":"Detected reorganizations","operationId":"reorgs_reorgs_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReorgsResponse"}}},"headers":{"RateLimit-Limit":{"description":"Requests allowed per minute for this client.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window frees a slot.","schema":{"type":"integer"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"$ref":"#/components/responses/RateLimited"}},"tags":["Reorgs and orphans"],"description":"Most recent reorganizations, newest first, with depth, fork point and number of displaced transactions.\n\n```bash\ncurl -s \"https://api.monerometrics.net/reorgs?limit=20\"\n```","x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -s \"https://api.monerometrics.net/reorgs?limit=20\""}]}},"/reorgs/stats":{"get":{"summary":"Reorganization statistics","operationId":"reorgs_stats_reorgs_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReorgStatsResponse"}}},"headers":{"RateLimit-Limit":{"description":"Requests allowed per minute for this client.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window frees a slot.","schema":{"type":"integer"}}}},"429":{"$ref":"#/components/responses/RateLimited"}},"tags":["Reorgs and orphans"],"description":"Count, average and maximum depth over 24h, 7d, 30d, 90d and everything recorded, with the date watching began.\n\n```bash\ncurl -s \"https://api.monerometrics.net/reorgs/stats\"\n```","x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -s \"https://api.monerometrics.net/reorgs/stats\""}]}},"/pools/distribution":{"get":{"summary":"Pool shares","operationId":"pools_distribution_pools_distribution_get","parameters":[{"name":"window","in":"query","required":false,"schema":{"type":"string","pattern":"^(1h|6h|24h|48h|7d)$","default":"24h","title":"Window"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PoolDistributionResponse"}}},"headers":{"RateLimit-Limit":{"description":"Requests allowed per minute for this client.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window frees a slot.","schema":{"type":"integer"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"$ref":"#/components/responses/RateLimited"}},"tags":["Mining pools"],"description":"Share of canonical blocks per mining pool over the window, with the Nakamoto coefficient.\n\n```bash\ncurl -s \"https://api.monerometrics.net/pools/distribution?window=24h\"\n```","x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -s \"https://api.monerometrics.net/pools/distribution?window=24h\""}]}},"/chain/block/{block_hash}":{"get":{"summary":"Block detail","description":"Full detail for one block: coinbase, weights, transactions, merge mining.\n\nRead live from the node so nothing extra has to be stored, and enriched with\nthe pool attribution and, when the block was proven, the public inputs that\nlet anyone re-verify the proof themselves.\n\n```bash\ncurl -s \"https://api.monerometrics.net/chain/block/c5a428adf9022ebeba27415969f5259a98774e40e38bdc5f0fcdd7088f8b4fb2\"\n```","operationId":"block_detail_chain_block__block_hash__get","parameters":[{"name":"block_hash","in":"path","required":true,"schema":{"type":"string","title":"Block Hash"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlockDetailResponse"}}},"headers":{"RateLimit-Limit":{"description":"Requests allowed per minute for this client.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window frees a slot.","schema":{"type":"integer"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"$ref":"#/components/responses/RateLimited"}},"tags":["Chain"],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -s \"https://api.monerometrics.net/chain/block/c5a428adf9022ebeba27415969f5259a98774e40e38bdc5f0fcdd7088f8b4fb2\""}]}},"/chain/search":{"post":{"summary":"Find a transaction or a block by hash","description":"Resolve a 64-character hash to a transaction or a block.\n\nPOST rather than GET so the hash never lands in a URL, an access log or the\nper-path usage counters: looking up your own transaction should not tie it\nto you. A transaction is read live from the node and placed on the chain\nmonerometrics has indexed, with the pool that mined its block and whether\nthat height was ever contested. No amount, sender or recipient: the protocol\nencrypts them.\n\n```bash\ncurl -s -X POST https://api.monerometrics.net/chain/search \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"query\": \"c5a428adf9022ebeba27415969f5259a98774e40e38bdc5f0fcdd7088f8b4fb2\"}'\n```","operationId":"chain_search_chain_search_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchResponse"}}},"headers":{"RateLimit-Limit":{"description":"Requests allowed per minute for this client.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window frees a slot.","schema":{"type":"integer"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"$ref":"#/components/responses/RateLimited"}},"tags":["Chain"],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -s -X POST https://api.monerometrics.net/chain/search \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"query\": \"c5a428adf9022ebeba27415969f5259a98774e40e38bdc5f0fcdd7088f8b4fb2\"}'"}]}},"/chain/provenance":{"get":{"summary":"Attribution provenance","description":"How our attribution was established over a window.\n\nMost trackers publish pool shares without saying where the number comes\nfrom. This reports the evidence behind ours: cryptographically proven,\nclaimed by a pool API, structurally inferred, or unattributed -- including\nclaims a pool could not prove with its own published key.\n\n```bash\ncurl -s \"https://api.monerometrics.net/chain/provenance?window=24h\"\n```","operationId":"chain_provenance_chain_provenance_get","parameters":[{"name":"window","in":"query","required":false,"schema":{"type":"string","pattern":"^(1h|6h|24h|48h|7d)$","default":"24h","title":"Window"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProvenanceResponse"}}},"headers":{"RateLimit-Limit":{"description":"Requests allowed per minute for this client.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window frees a slot.","schema":{"type":"integer"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"$ref":"#/components/responses/RateLimited"}},"tags":["Chain"],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -s \"https://api.monerometrics.net/chain/provenance?window=24h\""}]}},"/network/fees":{"get":{"summary":"Fee tiers","description":"Current Monero fee tiers, priced for a reference ~1500-byte transaction.\n\n```bash\ncurl -s \"https://api.monerometrics.net/network/fees\"\n```","operationId":"network_fees_network_fees_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeeEstimateResponse"}}},"headers":{"RateLimit-Limit":{"description":"Requests allowed per minute for this client.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window frees a slot.","schema":{"type":"integer"}}}},"429":{"$ref":"#/components/responses/RateLimited"}},"tags":["Network"],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -s \"https://api.monerometrics.net/network/fees\""}]}},"/network/fees/history":{"get":{"summary":"Fee history","description":"Normal-tier fee for the reference transaction, in XMR, over time.\n\n```bash\ncurl -s \"https://api.monerometrics.net/network/fees/history?window=30d\"\n```","operationId":"network_fees_history_network_fees_history_get","parameters":[{"name":"window","in":"query","required":false,"schema":{"type":"string","pattern":"^(24h|7d|30d|90d|1y)$","default":"30d","title":"Window"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeeHistoryResponse"}}},"headers":{"RateLimit-Limit":{"description":"Requests allowed per minute for this client.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window frees a slot.","schema":{"type":"integer"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"$ref":"#/components/responses/RateLimited"}},"tags":["Network"],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -s \"https://api.monerometrics.net/network/fees/history?window=30d\""}]}},"/price":{"get":{"summary":"XMR price","description":"XMR/USD: centralised reference plus the Haveno peer-to-peer street price.\n\n```bash\ncurl -s \"https://api.monerometrics.net/price\"\n```","operationId":"price_price_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PriceResponse"}}},"headers":{"RateLimit-Limit":{"description":"Requests allowed per minute for this client.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window frees a slot.","schema":{"type":"integer"}}}},"429":{"$ref":"#/components/responses/RateLimited"}},"tags":["Price and Haveno"],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -s \"https://api.monerometrics.net/price\""}]}},"/price/spread":{"get":{"summary":"Haveno spread history","description":"Haveno peer-to-peer quotes against centralised spot, over time.\n\n```bash\ncurl -s \"https://api.monerometrics.net/price/spread?window=30d\"\n```","operationId":"price_spread_price_spread_get","parameters":[{"name":"window","in":"query","required":false,"schema":{"type":"string","pattern":"^(24h|7d|30d|90d|1y)$","default":"7d","title":"Window"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpreadResponse"}}},"headers":{"RateLimit-Limit":{"description":"Requests allowed per minute for this client.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window frees a slot.","schema":{"type":"integer"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"$ref":"#/components/responses/RateLimited"}},"tags":["Price and Haveno"],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -s \"https://api.monerometrics.net/price/spread?window=30d\""}]}},"/status":{"get":{"summary":"Network verdict","description":"One-line health verdict, with every threshold that produced it.\n\n```bash\ncurl -s \"https://api.monerometrics.net/status\"\n```","operationId":"status_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusResponse"}}},"headers":{"RateLimit-Limit":{"description":"Requests allowed per minute for this client.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window frees a slot.","schema":{"type":"integer"}}}},"429":{"$ref":"#/components/responses/RateLimited"}},"tags":["Service"],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -s \"https://api.monerometrics.net/status\""}]}},"/news":{"get":{"summary":"Monero news","description":"Monero news: the project's own announcements, Monero Observer, GitHub releases.\n\n```bash\ncurl -s \"https://api.monerometrics.net/news\"\n```","operationId":"news_news_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewsResponse"}}},"headers":{"RateLimit-Limit":{"description":"Requests allowed per minute for this client.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window frees a slot.","schema":{"type":"integer"}}}},"429":{"$ref":"#/components/responses/RateLimited"}},"tags":["Service"],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -s \"https://api.monerometrics.net/news\""}]}},"/haveno/book":{"get":{"summary":"Haveno order book","description":"The live Haveno order book for XMR/USD, both sides, priced against spot.\n\n```bash\ncurl -s \"https://api.monerometrics.net/haveno/book\"\n```","operationId":"haveno_book_haveno_book_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderBookResponse"}}},"headers":{"RateLimit-Limit":{"description":"Requests allowed per minute for this client.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window frees a slot.","schema":{"type":"integer"}}}},"429":{"$ref":"#/components/responses/RateLimited"}},"tags":["Price and Haveno"],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -s \"https://api.monerometrics.net/haveno/book\""}]}},"/haveno/methods":{"get":{"summary":"Haveno premium by payment method","description":"Executed Haveno trades grouped by payment method, priced against centralized spot.\n\n```bash\ncurl -s \"https://api.monerometrics.net/haveno/methods?window=90d&currency=USD\"\n```","operationId":"haveno_methods_haveno_methods_get","parameters":[{"name":"window","in":"query","required":false,"schema":{"type":"string","pattern":"^(30d|90d|180d|1y|all)$","default":"180d","title":"Window"}},{"name":"currency","in":"query","required":false,"schema":{"type":"string","pattern":"^(USD|EUR)$","default":"USD","title":"Currency"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HavenoMethodsResponse"}}},"headers":{"RateLimit-Limit":{"description":"Requests allowed per minute for this client.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window frees a slot.","schema":{"type":"integer"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"$ref":"#/components/responses/RateLimited"}},"tags":["Price and Haveno"],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -s \"https://api.monerometrics.net/haveno/methods?window=90d&currency=USD\""}]}},"/haveno/liquidity":{"get":{"summary":"Haveno liquidity history","description":"Resting liquidity and open offer count on Haveno over time.\n\n```bash\ncurl -s \"https://api.monerometrics.net/haveno/liquidity?window=30d&currency=USD\"\n```","operationId":"haveno_liquidity_haveno_liquidity_get","parameters":[{"name":"window","in":"query","required":false,"schema":{"type":"string","pattern":"^(24h|7d|30d|90d|1y|all)$","default":"90d","title":"Window"}},{"name":"currency","in":"query","required":false,"schema":{"type":"string","pattern":"^(USD|EUR|AUD|GBP|BTC)$","default":"USD","title":"Currency"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HavenoLiquidityResponse"}}},"headers":{"RateLimit-Limit":{"description":"Requests allowed per minute for this client.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window frees a slot.","schema":{"type":"integer"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"$ref":"#/components/responses/RateLimited"}},"tags":["Price and Haveno"],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -s \"https://api.monerometrics.net/haveno/liquidity?window=30d&currency=USD\""}]}},"/haveno/trades":{"get":{"summary":"Recent Haveno trades","description":"Recent executed Haveno trades with their payment method.\n\n```bash\ncurl -s \"https://api.monerometrics.net/haveno/trades?limit=20&currency=EUR\"\n```","operationId":"haveno_trades_haveno_trades_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":100,"title":"Limit"}},{"name":"currency","in":"query","required":false,"schema":{"type":"string","pattern":"^(USD|EUR|AUD|GBP|BTC)$","default":"USD","title":"Currency"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HavenoTradesResponse"}}},"headers":{"RateLimit-Limit":{"description":"Requests allowed per minute for this client.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window frees a slot.","schema":{"type":"integer"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"$ref":"#/components/responses/RateLimited"}},"tags":["Price and Haveno"],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -s \"https://api.monerometrics.net/haveno/trades?limit=20&currency=EUR\""}]}},"/pools/latency":{"get":{"summary":"Pool declaration delay","description":"How long each pool takes to publicly claim a block it mined.\n\nPools report their own hashrate share from these announcements. A pool that\nannounces late looks smaller than it is over a short window; this says by\nhow much. Resolution is bounded by our own polling interval.\n\n```bash\ncurl -s \"https://api.monerometrics.net/pools/latency?window=7d\"\n```","operationId":"pools_latency_pools_latency_get","parameters":[{"name":"window","in":"query","required":false,"schema":{"type":"string","pattern":"^(24h|48h|7d|30d)$","default":"7d","title":"Window"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PoolLatencyResponse"}}},"headers":{"RateLimit-Limit":{"description":"Requests allowed per minute for this client.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window frees a slot.","schema":{"type":"integer"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"$ref":"#/components/responses/RateLimited"}},"tags":["Mining pools"],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -s \"https://api.monerometrics.net/pools/latency?window=7d\""}]}},"/pools/sources":{"get":{"summary":"Pool API reachability","operationId":"pools_sources_pools_sources_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PoolSourcesResponse"}}},"headers":{"RateLimit-Limit":{"description":"Requests allowed per minute for this client.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window frees a slot.","schema":{"type":"integer"}}}},"429":{"$ref":"#/components/responses/RateLimited"}},"tags":["Mining pools"],"description":"Reachability of the pool APIs used for block attribution.\n\n```bash\ncurl -s \"https://api.monerometrics.net/pools/sources\"\n```","x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -s \"https://api.monerometrics.net/pools/sources\""}]}},"/orphans/recent":{"get":{"summary":"Orphan blocks","description":"Orphan blocks over a time window, newest first.\n\nA window rather than a fixed count: how many orphans appeared in a week is\na fact about the network, while the last twenty of them covers a period\nthat changes with the network's own behaviour.\n\n```bash\ncurl -s \"https://api.monerometrics.net/orphans/recent?window=7d\"\n```","operationId":"orphans_recent_orphans_recent_get","parameters":[{"name":"window","in":"query","required":false,"schema":{"type":"string","pattern":"^(24h|48h|7d|30d|90d|180d|1y|all)$","default":"30d","title":"Window"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":500,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrphansResponse"}}},"headers":{"RateLimit-Limit":{"description":"Requests allowed per minute for this client.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window frees a slot.","schema":{"type":"integer"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"$ref":"#/components/responses/RateLimited"}},"tags":["Reorgs and orphans"],"x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -s \"https://api.monerometrics.net/orphans/recent?window=7d\""}]}},"/network/info":{"get":{"summary":"Current network state","operationId":"network_info_network_info_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NetworkInfoResponse"}}},"headers":{"RateLimit-Limit":{"description":"Requests allowed per minute for this client.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window frees a slot.","schema":{"type":"integer"}}}},"429":{"$ref":"#/components/responses/RateLimited"}},"tags":["Network"],"description":"Sync status, mempool size, difficulty and estimated hashrate, read live from the node.\n\n```bash\ncurl -s \"https://api.monerometrics.net/network/info\"\n```","x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -s \"https://api.monerometrics.net/network/info\""}]}},"/network/hashrate":{"get":{"summary":"Hashrate history","operationId":"network_hashrate_network_hashrate_get","parameters":[{"name":"window","in":"query","required":false,"schema":{"type":"string","pattern":"^(1h|24h|7d|30d|90d|1y|5y)$","default":"30d","title":"Window"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HashrateResponse"}}},"headers":{"RateLimit-Limit":{"description":"Requests allowed per minute for this client.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window frees a slot.","schema":{"type":"integer"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"$ref":"#/components/responses/RateLimited"}},"tags":["Network"],"description":"Network hashrate over the window, cut into about 300 points.\n\n```bash\ncurl -s \"https://api.monerometrics.net/network/hashrate?window=7d\"\n```","x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -s \"https://api.monerometrics.net/network/hashrate?window=7d\""}]}},"/network/blocktime":{"get":{"summary":"Block time history","operationId":"network_blocktime_network_blocktime_get","parameters":[{"name":"window","in":"query","required":false,"schema":{"type":"string","pattern":"^(1h|24h|7d|30d|90d|1y|5y)$","default":"24h","title":"Window"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlocktimeResponse"}}},"headers":{"RateLimit-Limit":{"description":"Requests allowed per minute for this client.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window frees a slot.","schema":{"type":"integer"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"$ref":"#/components/responses/RateLimited"}},"tags":["Network"],"description":"Time between consecutive canonical blocks over the window. The target is 120 seconds.\n\n```bash\ncurl -s \"https://api.monerometrics.net/network/blocktime?window=24h\"\n```","x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -s \"https://api.monerometrics.net/network/blocktime?window=24h\""}]}},"/network/mempool":{"get":{"summary":"Mempool history","operationId":"network_mempool_network_mempool_get","parameters":[{"name":"window","in":"query","required":false,"schema":{"type":"string","pattern":"^(1h|24h|7d|30d|90d|1y|5y)$","default":"24h","title":"Window"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MempoolResponse"}}},"headers":{"RateLimit-Limit":{"description":"Requests allowed per minute for this client.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window frees a slot.","schema":{"type":"integer"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"$ref":"#/components/responses/RateLimited"}},"tags":["Network"],"description":"Mempool size over time. Buckets follow the history actually recorded, so a young series keeps its density.\n\n```bash\ncurl -s \"https://api.monerometrics.net/network/mempool?window=24h\"\n```","x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -s \"https://api.monerometrics.net/network/mempool?window=24h\""}]}},"/network/emission":{"get":{"summary":"Emission history","operationId":"network_emission_network_emission_get","parameters":[{"name":"window","in":"query","required":false,"schema":{"type":"string","pattern":"^(1h|24h|7d|30d|90d|1y|5y)$","default":"30d","title":"Window"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmissionResponse"}}},"headers":{"RateLimit-Limit":{"description":"Requests allowed per minute for this client.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window frees a slot.","schema":{"type":"integer"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"$ref":"#/components/responses/RateLimited"}},"tags":["Network"],"description":"Average block reward over time, showing the tail emission of about 0.6 XMR per block.\n\n```bash\ncurl -s \"https://api.monerometrics.net/network/emission?window=30d\"\n```","x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -s \"https://api.monerometrics.net/network/emission?window=30d\""}]}},"/chain/fork-window":{"get":{"summary":"Recent blocks with orphans","operationId":"chain_fork_window_chain_fork_window_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":10,"default":250,"title":"Limit"}},{"name":"to","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"To"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForkWindowResponse"}}},"headers":{"RateLimit-Limit":{"description":"Requests allowed per minute for this client.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window frees a slot.","schema":{"type":"integer"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"429":{"$ref":"#/components/responses/RateLimited"}},"tags":["Chain"],"description":"The latest blocks, orphans included, each flagged when it is a fork point. `to` moves the top of the window down the chain.\n\n```bash\ncurl -s \"https://api.monerometrics.net/chain/fork-window?limit=50\"\n```","x-codeSamples":[{"lang":"Shell","label":"curl","source":"curl -s \"https://api.monerometrics.net/chain/fork-window?limit=50\""}]}}},"components":{"schemas":{"Block":{"properties":{"height":{"type":"integer","title":"Height"},"hash":{"type":"string","title":"Hash"},"prev_hash":{"type":"string","title":"Prev Hash"},"timestamp_unix":{"type":"integer","title":"Timestamp Unix"},"timestamp_human":{"type":"string","format":"date-time","title":"Timestamp Human"},"difficulty":{"type":"string","title":"Difficulty"},"tx_count":{"type":"integer","title":"Tx Count"},"size_bytes":{"type":"integer","title":"Size Bytes"},"miner_pool":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Miner Pool"},"pool_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pool Source"},"merge_mining":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Merge Mining"},"reward_xmr":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reward Xmr"},"is_canonical":{"type":"boolean","title":"Is Canonical","default":true}},"type":"object","required":["height","hash","prev_hash","timestamp_unix","timestamp_human","difficulty","tx_count","size_bytes"],"title":"Block"},"BlockDetailResponse":{"properties":{"height":{"type":"integer","title":"Height"},"hash":{"type":"string","title":"Hash"},"prev_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prev Hash"},"timestamp_unix":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Timestamp Unix"},"difficulty":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Difficulty"},"reward_xmr":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reward Xmr"},"size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Size Bytes"},"weight":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Weight"},"long_term_weight":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Long Term Weight"},"coinbase_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Coinbase Hash"},"coinbase_outputs":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Coinbase Outputs"},"tx_count":{"type":"integer","title":"Tx Count","default":0},"tx_hashes":{"items":{"type":"string"},"type":"array","title":"Tx Hashes","default":[]},"merge_mining":{"items":{"$ref":"#/components/schemas/MergeMinedChain"},"type":"array","title":"Merge Mining","default":[]},"miner_pool":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Miner Pool"},"pool_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pool Source"},"proof_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Proof Address"},"proof_viewkey":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Proof Viewkey"}},"type":"object","required":["height","hash"],"title":"BlockDetailResponse","description":"Full on-chain detail for one block, read live from the node."},"BlocktimePoint":{"properties":{"height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Height"},"timestamp_unix":{"type":"integer","title":"Timestamp Unix"},"delta_seconds":{"type":"integer","title":"Delta Seconds"}},"type":"object","required":["timestamp_unix","delta_seconds"],"title":"BlocktimePoint"},"BlocktimeResponse":{"properties":{"window":{"type":"string","title":"Window"},"avg_delta":{"type":"number","title":"Avg Delta"},"median_delta":{"type":"integer","title":"Median Delta"},"bucket_size":{"type":"string","title":"Bucket Size","default":"block"},"points":{"items":{"$ref":"#/components/schemas/BlocktimePoint"},"type":"array","title":"Points"}},"type":"object","required":["window","avg_delta","median_delta","points"],"title":"BlocktimeResponse"},"BookLevel":{"properties":{"price":{"type":"number","title":"Price"},"premium_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Premium Pct"},"amount":{"type":"number","title":"Amount"},"cumulative":{"type":"number","title":"Cumulative"},"offers":{"type":"integer","title":"Offers","default":1},"payment_methods":{"items":{"type":"string"},"type":"array","title":"Payment Methods","default":[]},"reversible":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Reversible"}},"type":"object","required":["price","amount","cumulative"],"title":"BookLevel"},"ChainWindowResponse":{"properties":{"from":{"type":"integer","title":"From"},"to":{"type":"integer","title":"To"},"count":{"type":"integer","title":"Count"},"blocks":{"items":{"$ref":"#/components/schemas/Block"},"type":"array","title":"Blocks"}},"type":"object","required":["from","to","count","blocks"],"title":"ChainWindowResponse"},"EmissionPoint":{"properties":{"bucket":{"type":"string","format":"date-time","title":"Bucket"},"avg_reward_xmr":{"type":"string","title":"Avg Reward Xmr"},"blocks":{"type":"integer","title":"Blocks"}},"type":"object","required":["bucket","avg_reward_xmr","blocks"],"title":"EmissionPoint"},"EmissionResponse":{"properties":{"window":{"type":"string","title":"Window"},"bucket_size":{"type":"string","title":"Bucket Size"},"points":{"items":{"$ref":"#/components/schemas/EmissionPoint"},"type":"array","title":"Points"}},"type":"object","required":["window","bucket_size","points"],"title":"EmissionResponse"},"ExternalUsageResponse":{"properties":{"external_requests":{"type":"integer","title":"External Requests"}},"type":"object","required":["external_requests"],"title":"ExternalUsageResponse","description":"Count of external API requests (excluding the dashboard and the MCP server)."},"FeeEstimateResponse":{"properties":{"reference_bytes":{"type":"integer","title":"Reference Bytes"},"spot_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Spot Usd"},"updated_unix":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Updated Unix"},"tiers":{"items":{"$ref":"#/components/schemas/FeeTier"},"type":"array","title":"Tiers","default":[]}},"type":"object","required":["reference_bytes"],"title":"FeeEstimateResponse","description":"Current Monero fee tiers, priced for a reference transaction.\n\nMonero fees are per-byte, not per-transaction. The four tiers are the node's\nown priority levels. typical_* is the fee for a reference ~1500-byte transaction\n(roughly 2 inputs, 2 outputs); real fees scale with transaction size."},"FeeHistoryResponse":{"properties":{"window":{"type":"string","title":"Window"},"reference_bytes":{"type":"integer","title":"Reference Bytes"},"points":{"items":{"$ref":"#/components/schemas/FeePoint"},"type":"array","title":"Points","default":[]},"stats":{"anyOf":[{"$ref":"#/components/schemas/SeriesStats"},{"type":"null"}]},"samples":{"type":"integer","title":"Samples","default":0}},"type":"object","required":["window","reference_bytes"],"title":"FeeHistoryResponse"},"FeePoint":{"properties":{"timestamp_unix":{"type":"integer","title":"Timestamp Unix"},"normal_xmr":{"type":"number","title":"Normal Xmr"}},"type":"object","required":["timestamp_unix","normal_xmr"],"title":"FeePoint"},"FeeTier":{"properties":{"tier":{"type":"string","title":"Tier"},"per_byte_pico":{"type":"integer","title":"Per Byte Pico"},"typical_xmr":{"type":"number","title":"Typical Xmr"},"typical_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Typical Usd"},"blocks_target":{"type":"integer","title":"Blocks Target"}},"type":"object","required":["tier","per_byte_pico","typical_xmr","blocks_target"],"title":"FeeTier"},"ForkBlock":{"properties":{"height":{"type":"integer","title":"Height"},"hash":{"type":"string","title":"Hash"},"prev_hash":{"type":"string","title":"Prev Hash"},"is_canonical":{"type":"boolean","title":"Is Canonical"},"miner_pool":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Miner Pool"},"pool_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pool Source"},"merge_mining":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Merge Mining"},"timestamp_unix":{"type":"integer","title":"Timestamp Unix"},"tx_count":{"type":"integer","title":"Tx Count"},"is_fork_point":{"type":"boolean","title":"Is Fork Point","default":false}},"type":"object","required":["height","hash","prev_hash","is_canonical","timestamp_unix","tx_count"],"title":"ForkBlock"},"ForkWindowResponse":{"properties":{"tip_height":{"type":"integer","title":"Tip Height"},"blocks_count":{"type":"integer","title":"Blocks Count"},"reorgs_count":{"type":"integer","title":"Reorgs Count"},"blocks":{"items":{"$ref":"#/components/schemas/ForkBlock"},"type":"array","title":"Blocks"}},"type":"object","required":["tip_height","blocks_count","reorgs_count","blocks"],"title":"ForkWindowResponse"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HashratePoint":{"properties":{"bucket":{"type":"string","format":"date-time","title":"Bucket"},"hashrate_h_s":{"type":"integer","title":"Hashrate H S"}},"type":"object","required":["bucket","hashrate_h_s"],"title":"HashratePoint"},"HashrateResponse":{"properties":{"window":{"type":"string","title":"Window"},"bucket_size":{"type":"string","title":"Bucket Size"},"points":{"items":{"$ref":"#/components/schemas/HashratePoint"},"type":"array","title":"Points"},"stats":{"anyOf":[{"$ref":"#/components/schemas/SeriesStats"},{"type":"null"}]}},"type":"object","required":["window","bucket_size","points"],"title":"HashrateResponse"},"HavenoLiquidityPoint":{"properties":{"timestamp_unix":{"type":"integer","title":"Timestamp Unix"},"max_liquidity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Liquidity"},"max_offers":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Offers"}},"type":"object","required":["timestamp_unix"],"title":"HavenoLiquidityPoint"},"HavenoLiquidityResponse":{"properties":{"window":{"type":"string","title":"Window"},"currency":{"type":"string","title":"Currency"},"points":{"items":{"$ref":"#/components/schemas/HavenoLiquidityPoint"},"type":"array","title":"Points","default":[]},"current_liquidity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Current Liquidity"},"current_offers":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Current Offers"},"stats":{"anyOf":[{"$ref":"#/components/schemas/SeriesStats"},{"type":"null"}]},"samples":{"type":"integer","title":"Samples","default":0}},"type":"object","required":["window","currency"],"title":"HavenoLiquidityResponse"},"HavenoMethod":{"properties":{"payment_method":{"type":"string","title":"Payment Method"},"trades":{"type":"integer","title":"Trades"},"volume_xmr":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Volume Xmr"},"avg_premium_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Avg Premium Pct"},"median_premium_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Median Premium Pct"},"stddev_premium_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Stddev Premium Pct"},"reversible":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Reversible"}},"type":"object","required":["payment_method","trades"],"title":"HavenoMethod"},"HavenoMethodsResponse":{"properties":{"window":{"type":"string","title":"Window"},"currency":{"type":"string","title":"Currency"},"methods":{"items":{"$ref":"#/components/schemas/HavenoMethod"},"type":"array","title":"Methods","default":[]},"trades_total":{"type":"integer","title":"Trades Total","default":0},"spot_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Spot Source"}},"type":"object","required":["window","currency"],"title":"HavenoMethodsResponse","description":"Executed Haveno trades grouped by payment method, priced against centralized spot.\n\nThe premium is each trade's price over the centralized daily close for that day.\n`reversible` flags payment rails that allow the buyer to claw funds back after\nrelease; it is our own classification, not a Haveno field."},"HavenoTrade":{"properties":{"timestamp_unix":{"type":"integer","title":"Timestamp Unix"},"price":{"type":"number","title":"Price"},"payment_method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Method"},"base_vol":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Base Vol"},"premium_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Premium Pct"}},"type":"object","required":["timestamp_unix","price"],"title":"HavenoTrade"},"HavenoTradesResponse":{"properties":{"currency":{"type":"string","title":"Currency"},"count":{"type":"integer","title":"Count","default":0},"trades":{"items":{"$ref":"#/components/schemas/HavenoTrade"},"type":"array","title":"Trades","default":[]}},"type":"object","required":["currency"],"title":"HavenoTradesResponse"},"HealthResponse":{"properties":{"status":{"type":"string","title":"Status","default":"ok"},"db_connected":{"type":"boolean","title":"Db Connected"}},"type":"object","required":["db_connected"],"title":"HealthResponse"},"InfoResponse":{"properties":{"api_version":{"type":"string","title":"Api Version","default":"0.1.0"},"network":{"type":"string","title":"Network","default":"mainnet"},"latest_indexed_height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Latest Indexed Height"},"total_blocks_indexed":{"type":"integer","title":"Total Blocks Indexed","default":0},"total_orphan_blocks":{"type":"integer","title":"Total Orphan Blocks","default":0},"total_reorgs_detected":{"type":"integer","title":"Total Reorgs Detected","default":0}},"type":"object","title":"InfoResponse"},"MempoolPoint":{"properties":{"bucket":{"type":"string","format":"date-time","title":"Bucket"},"tx_count":{"type":"integer","title":"Tx Count"}},"type":"object","required":["bucket","tx_count"],"title":"MempoolPoint"},"MempoolResponse":{"properties":{"window":{"type":"string","title":"Window"},"bucket_size":{"type":"string","title":"Bucket Size"},"current":{"type":"integer","title":"Current"},"points":{"items":{"$ref":"#/components/schemas/MempoolPoint"},"type":"array","title":"Points"},"stats":{"anyOf":[{"$ref":"#/components/schemas/SeriesStats"},{"type":"null"}]}},"type":"object","required":["window","bucket_size","current","points"],"title":"MempoolResponse"},"MergeMinedChain":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Height"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"}},"type":"object","title":"MergeMinedChain","description":"An auxiliary chain merge-mined into this Monero block."},"NetworkInfoResponse":{"properties":{"block_height":{"type":"integer","title":"Block Height"},"block_hash":{"type":"string","title":"Block Hash"},"target_height":{"type":"integer","title":"Target Height"},"sync_pct":{"type":"number","title":"Sync Pct"},"synced":{"type":"boolean","title":"Synced"},"difficulty":{"type":"string","title":"Difficulty"},"mempool_tx_count":{"type":"integer","title":"Mempool Tx Count"},"network_hashrate_h_s":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Network Hashrate H S"},"last_block_age_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Last Block Age Seconds"}},"type":"object","required":["block_height","block_hash","target_height","sync_pct","synced","difficulty","mempool_tx_count"],"title":"NetworkInfoResponse"},"NewsItem":{"properties":{"id":{"type":"string","title":"Id"},"source":{"type":"string","title":"Source","default":"getmonero"},"title":{"type":"string","title":"Title"},"url":{"type":"string","title":"Url"},"published_unix":{"type":"integer","title":"Published Unix"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories","default":[]}},"type":"object","required":["id","title","url","published_unix"],"title":"NewsItem"},"NewsResponse":{"properties":{"sources":{"items":{"type":"string"},"type":"array","title":"Sources","default":["getmonero.org","monero.observer","github.com"]},"items":{"items":{"$ref":"#/components/schemas/NewsItem"},"type":"array","title":"Items","default":[]},"fetched_unix":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Fetched Unix"},"stale":{"type":"boolean","title":"Stale","default":false}},"type":"object","title":"NewsResponse","description":"Monero news from three sources, each item labelled with the one it came from.\n\nThe project's own blog for releases and announcements, Monero Observer for\nthe day-to-day of the ecosystem, and the GitHub releases, which often land\nbefore the site announces them. Each source only gets a few slots: the\nObserver publishes several times a day and would otherwise fill the banner\non its own. Items carry their date — a banner that looks live while showing\na month-old entry is worse than no banner.\n\nFetched server-side and cached, so a visitor's browser never contacts any\nof these sites and no IP leaks to a third party."},"OrderBookResponse":{"properties":{"pair":{"type":"string","title":"Pair"},"observed_at":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Observed At"},"age_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Age Seconds"},"stale":{"type":"boolean","title":"Stale","default":false},"official_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Official Usd"},"asks":{"items":{"$ref":"#/components/schemas/BookLevel"},"type":"array","title":"Asks","default":[]},"bids":{"items":{"$ref":"#/components/schemas/BookLevel"},"type":"array","title":"Bids","default":[]},"ask_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ask Amount"},"bid_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Bid Amount"},"ask_offers":{"type":"integer","title":"Ask Offers","default":0},"bid_offers":{"type":"integer","title":"Bid Offers","default":0},"ask_avg_premium_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ask Avg Premium Pct"},"bid_avg_premium_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Bid Avg Premium Pct"},"round_trip_cost_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Round Trip Cost Pct"}},"type":"object","required":["pair"],"title":"OrderBookResponse","description":"The live Haveno order book for one pair, both sides, priced against spot.\n\n`asks` are makers selling XMR, so taking one means buying; `bids` are makers\nbuying XMR, so taking one means selling. Levels are sorted outward from spot\nand carry a running total, which is what a depth chart plots. `reversible`\nflags a level whose payment rails let the buyer claw funds back after the\nXMR is released; when a level aggregates several methods it is true if any\nof them is reversible.\n\n`observed_at` is when this book was actually read from the upstream feed and\n`age_seconds` how old it is. They matter: in a book this thin a single offer\nleaving moves the floor by several points, so a snapshot a few minutes old can\nbe badly wrong while looking exactly as clean as a fresh one. When the upstream\nfeed fails we serve the last book we know rather than an empty panel, and\n`stale` is set so that is visible instead of silent."},"OrphanBlock":{"properties":{"height":{"type":"integer","title":"Height"},"orphan_hash":{"type":"string","title":"Orphan Hash"},"canonical_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Canonical Hash"},"timestamp_human":{"type":"string","format":"date-time","title":"Timestamp Human"},"miner_pool":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Miner Pool"},"pool_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pool Source"},"merge_mining":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Merge Mining"},"tx_count":{"type":"integer","title":"Tx Count"}},"type":"object","required":["height","orphan_hash","timestamp_human","tx_count"],"title":"OrphanBlock"},"OrphansResponse":{"properties":{"count":{"type":"integer","title":"Count"},"window":{"type":"string","title":"Window","default":"30d"},"orphans":{"items":{"$ref":"#/components/schemas/OrphanBlock"},"type":"array","title":"Orphans"}},"type":"object","required":["count","orphans"],"title":"OrphansResponse"},"PoolDistributionResponse":{"properties":{"window":{"type":"string","title":"Window"},"total_blocks":{"type":"integer","title":"Total Blocks"},"top_pool":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Top Pool"},"top_pool_share":{"type":"number","title":"Top Pool Share","default":0.0},"nakamoto_coefficient":{"type":"integer","title":"Nakamoto Coefficient","default":0},"distribution":{"items":{"$ref":"#/components/schemas/PoolShare"},"type":"array","title":"Distribution"},"stats":{"anyOf":[{"$ref":"#/components/schemas/SeriesStats"},{"type":"null"}]}},"type":"object","required":["window","total_blocks","distribution"],"title":"PoolDistributionResponse"},"PoolLatency":{"properties":{"pool":{"type":"string","title":"Pool"},"blocks":{"type":"integer","title":"Blocks"},"median_seconds":{"type":"number","title":"Median Seconds"},"p90_seconds":{"type":"number","title":"P90 Seconds"}},"type":"object","required":["pool","blocks","median_seconds","p90_seconds"],"title":"PoolLatency","description":"Retard entre l'arrivee d'un bloc sur la chaine et le moment ou son pool\nle revendique publiquement."},"PoolLatencyResponse":{"properties":{"window":{"type":"string","title":"Window"},"resolution_seconds":{"type":"integer","title":"Resolution Seconds"},"pools":{"items":{"$ref":"#/components/schemas/PoolLatency"},"type":"array","title":"Pools","default":[]}},"type":"object","required":["window","resolution_seconds"],"title":"PoolLatencyResponse","description":"Delai de declaration des pools, mesure et non declare.\n\nLes parts de hashrate que publient les pools reposent sur leurs propres\nannonces. Celles-ci n'arrivent pas toutes a la meme vitesse : un pool lent\nparait plus petit qu'il n'est sur une fenetre courte. Cette mesure dit de\ncombien, pool par pool.\n\nLa resolution est bornee par notre propre cadence de releve, annoncee dans\n`resolution_seconds` : une valeur inferieure a ce pas ne veut rien dire."},"PoolShare":{"properties":{"pool":{"type":"string","title":"Pool"},"block_count":{"type":"integer","title":"Block Count"},"percentage":{"type":"number","title":"Percentage"}},"type":"object","required":["pool","block_count","percentage"],"title":"PoolShare"},"PoolSource":{"properties":{"pool":{"type":"string","title":"Pool"},"url":{"type":"string","title":"Url"},"ok":{"type":"boolean","title":"Ok"},"blocks":{"type":"integer","title":"Blocks"},"checked_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Checked At"}},"type":"object","required":["pool","url","ok","blocks"],"title":"PoolSource"},"PoolSourcesResponse":{"properties":{"sources":{"items":{"$ref":"#/components/schemas/PoolSource"},"type":"array","title":"Sources"}},"type":"object","required":["sources"],"title":"PoolSourcesResponse"},"PriceResponse":{"properties":{"official_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Official Usd"},"official_change_24h":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Official Change 24H"},"official_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Official Source"},"haveno_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Haveno Usd"},"haveno_bid":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Haveno Bid"},"haveno_ask":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Haveno Ask"},"premium_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Premium Pct"},"ask_premium_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ask Premium Pct"},"haveno_ask_avg":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Haveno Ask Avg"},"ask_avg_premium_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ask Avg Premium Pct"},"haveno_ask_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Haveno Ask Amount"},"haveno_ask_offers":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Haveno Ask Offers"},"haveno_bid_avg":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Haveno Bid Avg"},"bid_premium_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Bid Premium Pct"},"bid_avg_premium_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Bid Avg Premium Pct"},"haveno_bid_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Haveno Bid Amount"},"haveno_bid_offers":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Haveno Bid Offers"},"round_trip_cost_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Round Trip Cost Pct"},"premium_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Premium Note"}},"type":"object","title":"PriceResponse","description":"XMR/USD from a centralised reference and from Haveno (RetoSwap).\n\nThe official price is the spot rate exchanges quote; the Haveno street price\nis what XMR actually trades at peer-to-peer, usually at a premium."},"ProvenanceBucket":{"properties":{"source":{"type":"string","title":"Source"},"block_count":{"type":"integer","title":"Block Count"},"percentage":{"type":"number","title":"Percentage"}},"type":"object","required":["source","block_count","percentage"],"title":"ProvenanceBucket","description":"How many blocks were attributed by a given method."},"ProvenanceResponse":{"properties":{"window":{"type":"string","title":"Window"},"total_blocks":{"type":"integer","title":"Total Blocks"},"attributed":{"type":"integer","title":"Attributed"},"proven":{"type":"integer","title":"Proven"},"proven_share":{"type":"number","title":"Proven Share"},"unproven_claims":{"type":"integer","title":"Unproven Claims"},"merge_mined":{"type":"integer","title":"Merge Mined"},"merge_mined_share":{"type":"number","title":"Merge Mined Share"},"breakdown":{"items":{"$ref":"#/components/schemas/ProvenanceBucket"},"type":"array","title":"Breakdown"}},"type":"object","required":["window","total_blocks","attributed","proven","proven_share","unproven_claims","merge_mined","merge_mined_share","breakdown"],"title":"ProvenanceResponse","description":"Evidence quality of our own attribution over a window."},"Reorg":{"properties":{"id":{"type":"integer","title":"Id"},"detected_at":{"type":"string","format":"date-time","title":"Detected At"},"fork_point_height":{"type":"integer","title":"Fork Point Height"},"depth":{"type":"integer","title":"Depth"},"old_chain_tip_hash":{"type":"string","title":"Old Chain Tip Hash"},"new_chain_tip_hash":{"type":"string","title":"New Chain Tip Hash"},"affected_tx_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Affected Tx Count"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["id","detected_at","fork_point_height","depth","old_chain_tip_hash","new_chain_tip_hash"],"title":"Reorg"},"ReorgStatsResponse":{"properties":{"windows":{"items":{"$ref":"#/components/schemas/ReorgStatsWindow"},"type":"array","title":"Windows"},"since":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Since"}},"type":"object","required":["windows"],"title":"ReorgStatsResponse"},"ReorgStatsWindow":{"properties":{"window":{"type":"string","title":"Window"},"count":{"type":"integer","title":"Count"},"avg_depth":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Avg Depth"},"max_depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Depth"},"total_affected_tx":{"type":"integer","title":"Total Affected Tx","default":0}},"type":"object","required":["window","count"],"title":"ReorgStatsWindow"},"ReorgsResponse":{"properties":{"count":{"type":"integer","title":"Count"},"reorgs":{"items":{"$ref":"#/components/schemas/Reorg"},"type":"array","title":"Reorgs"}},"type":"object","required":["count","reorgs"],"title":"ReorgsResponse"},"SearchRequest":{"properties":{"query":{"type":"string","maxLength":128,"title":"Query"}},"type":"object","required":["query"],"title":"SearchRequest","description":"A 64-character hash, sent in the body so it never appears in a URL."},"SearchResponse":{"properties":{"kind":{"type":"string","title":"Kind"},"tx":{"anyOf":[{"$ref":"#/components/schemas/TxDetailResponse"},{"type":"null"}]},"height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Height"},"hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hash"}},"type":"object","required":["kind"],"title":"SearchResponse","description":"A hash resolved to a transaction or to a block."},"SeriesStats":{"properties":{"samples":{"type":"integer","title":"Samples"},"span_days":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Span Days"},"current":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Current"},"percentile":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Percentile"},"median":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Median"},"z_robust":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Z Robust"},"minimum":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Minimum"},"maximum":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Maximum"},"change_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Change Pct"}},"type":"object","required":["samples"],"title":"SeriesStats","description":"Where the latest value sits inside the window being displayed.\n\nA number on its own cannot be read: 161 XMR of resting liquidity is neither\ngood nor bad until you know that four fifths of the year sat higher. Every\nfield here is computed over the same window the caller asked for, so a wider\nwindow means a longer baseline and never a hidden one.\n\n`z_robust` uses the median absolute deviation rather than the standard\ndeviation. These series carry occasional spikes an order of magnitude above\nthe median, and a classical standard deviation would be inflated by them to\nthe point of calling everything normal."},"SpreadPoint":{"properties":{"timestamp_unix":{"type":"integer","title":"Timestamp Unix"},"official_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Official Usd"},"haveno_bid":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Haveno Bid"},"haveno_ask":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Haveno Ask"},"haveno_ask_avg":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Haveno Ask Avg"},"haveno_bid_avg":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Haveno Bid Avg"},"ask_premium_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ask Premium Pct"},"ask_avg_premium_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ask Avg Premium Pct"},"bid_premium_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Bid Premium Pct"},"bid_avg_premium_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Bid Avg Premium Pct"},"ask_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ask Amount"},"ask_offers":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Ask Offers"},"bid_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Bid Amount"},"bid_offers":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Bid Offers"}},"type":"object","required":["timestamp_unix"],"title":"SpreadPoint"},"SpreadResponse":{"properties":{"window":{"type":"string","title":"Window"},"points":{"items":{"$ref":"#/components/schemas/SpreadPoint"},"type":"array","title":"Points","default":[]},"current_ask_premium_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Current Ask Premium Pct"},"current_ask_avg_premium_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Current Ask Avg Premium Pct"},"avg_ask_premium_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Avg Ask Premium Pct"},"haveno_vol_24h":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Haveno Vol 24H"},"current_ask_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Current Ask Amount"},"current_ask_offers":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Current Ask Offers"},"current_bid_premium_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Current Bid Premium Pct"},"current_bid_avg_premium_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Current Bid Avg Premium Pct"},"current_bid_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Current Bid Amount"},"current_bid_offers":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Current Bid Offers"},"avg_bid_premium_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Avg Bid Premium Pct"},"current_round_trip_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Current Round Trip Pct"},"stats":{"anyOf":[{"$ref":"#/components/schemas/SeriesStats"},{"type":"null"}]},"samples":{"type":"integer","title":"Samples","default":0}},"type":"object","required":["window"],"title":"SpreadResponse","description":"Haveno peer-to-peer quotes against the centralised spot reference.\n\nask_premium_pct is what it actually costs to buy without KYC right now:\nthe lowest Haveno ask over the centralised spot. bid_premium_pct is the\nmirror image, what the best buyer pays you for XMR. The gap between the two\namount-weighted averages is round_trip_cost_pct: buying and selling back.\nThe last traded price is reported too, but it is a past fill in a thin book\nand is not a live level."},"StatusResponse":{"properties":{"level":{"type":"string","title":"Level"},"chain":{"type":"string","title":"Chain"},"concentration":{"type":"string","title":"Concentration"},"signals":{"items":{"$ref":"#/components/schemas/StatusSignal"},"type":"array","title":"Signals","default":[]},"generated_unix":{"type":"integer","title":"Generated Unix"}},"type":"object","required":["level","chain","concentration","generated_unix"],"title":"StatusResponse","description":"A one-line answer to the only question the dashboard exists to settle:\nis the chain healthy right now, and is it decentralised right now.\n\n`level` is the worst of the signals: ok, watch, or alert. Every threshold\nthat produced it is returned alongside, because a verdict nobody can audit\nis an opinion. Thresholds are ours and stated, not inherited from anywhere."},"StatusSignal":{"properties":{"key":{"type":"string","title":"Key"},"label":{"type":"string","title":"Label"},"value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Value"},"display":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display"},"level":{"type":"string","title":"Level","default":"ok"},"threshold":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Threshold"},"watch":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Watch"},"alert":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Alert"},"max_depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Depth"}},"type":"object","required":["key","label"],"title":"StatusSignal","description":"One reading behind the verdict, with the threshold that qualified it."},"TxDetailResponse":{"properties":{"tx_hash":{"type":"string","title":"Tx Hash"},"in_pool":{"type":"boolean","title":"In Pool"},"block_height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Block Height"},"block_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Block Hash"},"block_timestamp":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Block Timestamp"},"confirmations":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Confirmations"},"spendable":{"type":"boolean","title":"Spendable","default":false},"lock_blocks":{"type":"integer","title":"Lock Blocks","default":10},"double_spend_seen":{"type":"boolean","title":"Double Spend Seen","default":false},"version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version"},"unlock_time":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Unlock Time"},"coinbase":{"type":"boolean","title":"Coinbase","default":false},"input_count":{"type":"integer","title":"Input Count","default":0},"output_count":{"type":"integer","title":"Output Count","default":0},"ring_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Ring Size"},"rct_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rct Type"},"fee_xmr":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fee Xmr"},"fee_per_byte":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Fee Per Byte"},"size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Size Bytes"},"miner_pool":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Miner Pool"},"pool_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pool Source"},"reorg":{"$ref":"#/components/schemas/TxReorgExposure","default":{"contested":false,"reorgs_touching":0}}},"type":"object","required":["tx_hash","in_pool"],"title":"TxDetailResponse","description":"What a transaction makes public. No amount, sender or recipient: the\nprotocol encrypts them."},"TxReorgExposure":{"properties":{"contested":{"type":"boolean","title":"Contested","default":false},"reorgs_touching":{"type":"integer","title":"Reorgs Touching","default":0},"max_reorg_depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Reorg Depth"}},"type":"object","title":"TxReorgExposure","description":"What monerometrics knows about the height a transaction was included at."},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}},"responses":{"RateLimited":{"description":"Rate limit exceeded. Wait `Retry-After` seconds.","headers":{"RateLimit-Limit":{"description":"Requests allowed per minute for this client.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window frees a slot.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}},"content":{"application/json":{"example":{"detail":"Too many requests"}}}}}},"tags":[{"name":"Service","description":"Health of this API and of the index behind it."},{"name":"Network","description":"Hashrate, block time, mempool, emission and fees."},{"name":"Chain","description":"Blocks by height or hash, and how each was attributed to a pool."},{"name":"Reorgs and orphans","description":"Chain reorganizations and orphan blocks this node observed live."},{"name":"Mining pools","description":"Pool shares, and the pool APIs the attribution relies on."},{"name":"Price and Haveno","description":"Centralized spot price against the Haveno peer-to-peer market."},{"name":"Reports","description":"Derived readings: confirmations to wait, and the monthly State of Monero mining report."},{"name":"THORChain","description":"Native XMR on THORChain: integration status, then swap flows once live."}]}