MarketAtTime

Response shape for `GET /api/snapshot` when `marketId` is supplied. Both sides of the binary market at the requested timestamp.

DataFinancePrediction MarketsAPIBacktesting

Properties

Name Type Description
market_id string
timestamp string
crypto string
timeframe string
crypto_price numbernull
up object
down object
View JSON Schema on GitHub

JSON Schema

resolvedmarkets-com-market-at-time-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/resolvedmarkets-com/json-schema/resolvedmarkets-com-market-at-time-schema.json",
  "title": "MarketAtTime",
  "description": "Response shape for `GET /api/snapshot` when `marketId` is supplied. Both sides of the binary market at the requested timestamp.",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/resolvedmarkets-com-openapi.json#/components/schemas/MarketAtTime",
  "type": "object",
  "properties": {
    "market_id": {
      "type": "string"
    },
    "timestamp": {
      "type": "string",
      "format": "date-time"
    },
    "crypto": {
      "type": "string"
    },
    "timeframe": {
      "type": "string"
    },
    "crypto_price": {
      "type": [
        "number",
        "null"
      ]
    },
    "up": {
      "$ref": "#/$defs/Snapshot"
    },
    "down": {
      "$ref": "#/$defs/Snapshot"
    }
  },
  "$defs": {
    "OrderbookLevel": {
      "type": "object",
      "properties": {
        "price": {
          "type": "number"
        },
        "size": {
          "type": "number"
        }
      }
    },
    "Snapshot": {
      "type": "object",
      "properties": {
        "market_id": {
          "type": "string"
        },
        "token_id": {
          "type": "string"
        },
        "token_side": {
          "type": "string",
          "enum": [
            "UP",
            "DOWN"
          ]
        },
        "crypto": {
          "type": "string"
        },
        "timeframe": {
          "type": "string"
        },
        "timestamp": {
          "type": "string",
          "format": "date-time"
        },
        "crypto_price": {
          "type": [
            "number",
            "null"
          ]
        },
        "best_bid": {
          "type": "number"
        },
        "best_ask": {
          "type": "number"
        },
        "mid_price": {
          "type": "number"
        },
        "spread": {
          "type": "number"
        },
        "bid_depth_total": {
          "type": "number"
        },
        "ask_depth_total": {
          "type": "number"
        },
        "event_timestamp": {
          "type": "string",
          "format": "date-time",
          "description": "When Polymarket emitted the orderbook event (their clock)."
        },
        "capture_timestamp": {
          "type": "string",
          "format": "date-time",
          "description": "When we processed/stored it (our clock). capture - event = ingestion latency."
        },
        "sequence_number": {
          "type": "integer",
          "description": "Per-token count of orderbook events the collector APPLIED. Capture stores at most one row per 50ms per token and drops unchanged books, so a jump between adjacent rows is normal sampling (98.4% of pairs), NOT a dropped update. Resets on re-subscribe; 0 on backfilled rows. Do not build gap detection on it."
        },
        "crypto_price_age_ms": {
          "type": "integer",
          "description": "Age in ms of the spot crypto_price at capture (-1 when not tracked). Absent on interval/OHLC rows."
        },
        "bids": {
          "type": "array",
          "description": "Only present when `includebook=true`.",
          "items": {
            "$ref": "#/$defs/OrderbookLevel"
          }
        },
        "asks": {
          "type": "array",
          "description": "Only present when `includebook=true`.",
          "items": {
            "$ref": "#/$defs/OrderbookLevel"
          }
        }
      }
    }
  }
}

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/resolvedmarkets-com-market-at-time"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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