# minia2a.uk Polymarket Quote (poly-quote)

> minia2a.uk Polymarket Quote (poly-quote) is a paid API for AI agents from minia2a.uk, paid per call via x402, $0.1/call, status unknown (last checked 2026-11-01).

Fetches a normalized, aggregated Polymarket market quote — prices, bid/ask spread, order book depth, volume, liquidity, and open interest — from three upstream sources (Gamma, CLOB, Data API v2) in a single call.

## Facts

- Endpoint: GET https://minia2a.uk/x402/poly-quote?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/minia2a-uk-polymarket-quote-poly-quote-df0268dc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7D1jcWiqR3VdTOXzUhCFf

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability minia2a-uk-polymarket-quote-poly-quote-df0268dc
```

Example prompt: Pull a full normalized Polymarket quote for the market slug 'will-the-fed-cut-rates-in-july' — I want the best bid/ask, spread, top 3 order book levels on each side, 24h volume, liquidity, open interest, and how stale the data is.

## When to prefer this

Choose this endpoint when you need a single, aggregated Polymarket market quote that spans price data, order book depth, and open interest from all three official Polymarket upstreams simultaneously — avoiding the need to call Gamma, CLOB, and Data API v2 separately and reconcile them yourself. Especially useful for agents that need staleness visibility (age_seconds) without building their own multi-source polling logic. Not suitable for placing orders.

## Known failure modes

- Invalid or unknown market slug returns an error — ensure the slug matches exactly as listed on Polymarket
- Invalid conditionId format (not a valid 0x… hex string) causes a parsing error
- Unknown token identifier for the specified market returns empty book data
- Upstream APIs (Gamma, CLOB, Data API v2) may be temporarily unavailable, resulting in partial or stale data
- Payment not provided or insufficient (requires 0.1 USDC via x402) results in a 402 Payment Required response
- High age_seconds value indicates one or more upstream sources are lagging

## How this service works

One normalized read of a Polymarket market across three upstreams — Gamma (outcome prices, best bid/ask, spread, 24h volume, liquidity, tick size), CLOB (the top three order-book levels on each side, correct end of the book) and Data API v2 (open interest). Returns age_seconds so staleness is visible, and never places orders. Pass `market` as a slug or 0x… conditionId; add `token` to pick a specific outcome's book.

## Output

Returns a single normalized JSON object combining data from three Polymarket upstreams: outcome prices, best bid/ask, spread, 24h volume, liquidity, tick size (from Gamma); top 3 order book levels on each side (from CLOB); open interest (from Data API v2); plus age_seconds indicating how stale the data is. No orders are placed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "method": {
     "type": "string"
    },
    "bodyType": {
     "type": "string"
    },
    "queryParams": {
     "type": "object"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "result": {
   "count": 1,
   "depth": {
    "token": "32338220190071351435772801779725302244575775216413325951443816017994629993401",
    "asksTop3": [
     {
      "size": 2735.3,
      "price": 0.021
     },
     {
      "size": 947.48,
      "price": 0.022
     },
     {
      "size": 798.31,
      "price": 0.023
     }
    ],
    "bidsTop3": [
     {
      "size": 27804.91,
      "price": 0.02
     },
     {
      "size": 23161.52,
      "price": 0.019
     },
     {
      "size": 12856.08,
      "price": 0.018
     }
    ]
   },
   "query": "xi-jinping-out-before-2027",
   "quote": {
    "slug": "xi-jinping-out-before-2027",
    "active": true,
    "closed": false,
    "prices": [
     0.0205,
     0.9795
    ],
    "spread": 0.001,
    "bestAsk": 0.021,
    "bestBid": 0.02,
    "endDate": "2027-01-01T04:59:00Z",
    "outcomes": [
     "Yes",
     "No"
    ],
    "question": "Xi Jinping out before 2027?",
    "tickSize": 0.001,
    "liquidity": 330664.45057,
    "volume24h": 119547.547702,
    "conditionId": "0xa467b14d51f01b957109d9cbb1d6c124fab2a089d52ed8f471d23c2812e743b7",
    "clobTokenIds": [
     "32338220190071351435772801779725302244575775216413325951443816017994629993401",
     "25659310674993675562345759665114759892400026242514633218387667107987341231962"
    ],
    "openInterest": 4700006.934028
   },
   "cached": false,
   "source": {
    "oi": "https://data-api.polymarket.com/v2/oi",
    "clob": "https://clob.polymarket.com",
    "gamma": "https://gamma-api.polymarket.com"
   },
   "noMatch": false,
   "age_seconds": 0,
   "depthWarning": null,
   "openInterestWarning": null
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/minia2a-uk-polymarket-quote-poly-quote-df0268dc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from minia2a.uk](https://www.zero.xyz/host/minia2a.uk/llms.txt)
