monerometrics-net · Schema

SpreadResponse

Haveno peer-to-peer quotes against the centralised spot reference. ask_premium_pct is what it actually costs to buy without KYC right now: the lowest Haveno ask over the centralised spot. bid_premium_pct is the mirror image, what the best buyer pays you for XMR. The gap between the two amount-weighted averages is round_trip_cost_pct: buying and selling back. The last traded price is reported too, but it is a past fill in a thin book and is not a live level.

Company

Properties

Name Type Description
window string
points array
current_ask_premium_pct object
current_ask_avg_premium_pct object
avg_ask_premium_pct object
haveno_vol_24h object
current_ask_amount object
current_ask_offers object
current_bid_premium_pct object
current_bid_avg_premium_pct object
current_bid_amount object
current_bid_offers object
avg_bid_premium_pct object
current_round_trip_pct object
stats object
samples integer
View JSON Schema on GitHub

JSON Schema

monerometrics-net-spread-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/monerometrics-net/json-schema/monerometrics-net-spread-response-schema.json",
  "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.",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/monerometrics-net-openapi.json#/components/schemas/SpreadResponse",
  "properties": {
    "window": {
      "type": "string",
      "title": "Window"
    },
    "points": {
      "items": {
        "$ref": "#/$defs/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": "#/$defs/SeriesStats"
        },
        {
          "type": "null"
        }
      ]
    },
    "samples": {
      "type": "integer",
      "title": "Samples",
      "default": 0
    }
  },
  "type": "object",
  "required": [
    "window"
  ],
  "$defs": {
    "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"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/monerometrics-net-spread-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.