# Polymarket Batch Midpoint Prices

> Polymarket Batch Midpoint Prices is a paid API for AI agents from AIsa MPP Data APIs at api.aisa.one, paid per call via MPP, $0.012/call, status unknown (last checked 2026-10-14).

Retrieves midpoint prices (average of best bid and best ask) for multiple Polymarket token IDs in a single batch request

## Facts

- Endpoint: POST https://api.aisa.one/apis/v1/polymarket/midpoints?utm_source=zero.xyz
- Price: $0.012/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Provider: AIsa MPP Data APIs
- Website: https://aisa.one
- Tags: web-search, financial-data, prediction-markets, weather, travel, data, search
- Canonical page: https://www.zero.xyz/c/aisa-mpp-data-apis-polymarket-batch-midpoint-prices-310869bb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EExnhJlu_2rfPjHj3v3Wx

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 aisa-mpp-data-apis-polymarket-batch-midpoint-prices-310869bb -d '<json body>'
```

Example prompt: What are the current midpoint prices for these Polymarket tokens: 0xabc123def456, 0xdef789ghi012, and 0xjkl345mno678?

## When to prefer this

Use this endpoint when you need midpoint prices for multiple Polymarket tokens simultaneously and want to minimize API calls. Prefer this over the single-token Midpoint endpoint when you have 2 or more tokens to price. Choose this over the Prices endpoint when you want a neutral fair-value reference (mid) rather than a directional bid or ask quote.

## Known failure modes

- Invalid or non-existent token IDs return missing or zero values
- Empty array input may return an empty object
- Network timeout for large batches
- Token IDs for inactive or delisted markets may return stale or missing prices
- Malformed token ID strings may cause request rejection

## How this service works

Retrieves midpoint prices for multiple token IDs using query parameters. The midpoint is calculated as the average of the best bid and best ask prices.

<!-- aisa-pricing:start -->
Published reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.
<!-- aisa-pricing:end -->

## Output

A JSON object mapping each submitted token ID to its midpoint price as a string, where midpoint = (best bid + best ask) / 2. Returns one entry per token ID submitted.

## Request schema (JSON Schema)

```json
{
 "type": "array",
 "items": {
  "type": "object",
  "required": [
   "token_id"
  ],
  "properties": {
   "side": {
    "enum": [
     "BUY",
     "SELL"
    ],
    "type": "string",
    "example": "BUY",
    "description": "Order side (optional, not used for midpoint calculation)"
   },
   "token_id": {
    "type": "string",
    "example": "0xabc123def456...",
    "description": "Token ID (asset ID)"
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "Map of token ID to midpoint price",
 "additionalProperties": {
  "type": "string"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aisa-mpp-data-apis-polymarket-batch-midpoint-prices-310869bb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.aisa.one](https://www.zero.xyz/host/api.aisa.one/llms.txt)
