# Jupiter — Prediction API — Get orderbook

Get Jupiter Prediction Order Book data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Jupiter, pass parameters such as Set, and retrieve structured data including yes, no, yes dollars, and no dollars for depth reference, and price inspection, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/jupiter/jupiter-prediction-api-get-orderbook/71aea195-a03a-4dfd-a2c6-fdd153b0f8df/
API ID: 71aea195-a03a-4dfd-a2c6-fdd153b0f8df
Provider: jupiter
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/jupiter/prediction/v1/orderbook/{marketId}
Page update time: 2026-12-03T02:49:37.734Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
The published contract currently has no usage charge. Authentication and service limits still apply.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:49:37.182Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Jupiter Prediction Order Book API

Provide marketId in the path. The response contains yes and no level arrays alongside yes\_dollars and no\_dollars. Each level pairs a price with quantity; dollar arrays represent prices as decimal strings. Keep the representation attached to each level when processing the book.

## What You Can Build

- **Depth reference**: Present YES and NO levels with their price representations.
- **Price inspection**: Keep prices paired with the corresponding level quantities.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `yes` | YES levels in the native price representation |
| `no` | NO levels in the native price representation |
| `yes_dollars` | YES levels with decimal-string dollar prices |
| `no_dollars` | NO levels with decimal-string dollar prices |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Jupiter — Prediction API — Get orderbook request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {
        "marketId": {
          "type": "string",
          "description": "Kalshi or Polymarket market identifier",
          "minLength": 1
        }
      },
      "required": [
        "marketId"
      ]
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "no": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "number"
        }
      }
    },
    "no_dollars": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "number"
            }
          ]
        }
      }
    },
    "yes": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "number"
        }
      }
    },
    "yes_dollars": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "number"
            }
          ]
        }
      }
    }
  }
}
```

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/jupiter/prediction/v1/orderbook/POLY-562802' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "no": [
    [
      1,
      1526847.22
    ],
    [
      2,
      218988.21
    ],
    [
      3,
      46813.17
    ],
    [
      4,
      2495302.11
    ],
    [
      5,
      3970549.49
    ],
    [
      6,
      2402318.18
    ]
  ],
  "no_dollars": [
    [
      "0.0100",
      1526847.22
    ],
    [
      "0.0200",
      218988.21
    ],
    [
      "0.0300",
      46813.17
    ],
    [
      "0.0400",
      2495302.11
    ],
    [
      "0.0500",
      3970549.49
    ],
    [
      "0.0600",
      2402318.18
    ]
  ],
  "yes": [
    [
      1,
      2000039.73
    ],
    [
      2,
      1011555
    ],
    [
      3,
      210008.09
    ],
    [
      4,
      143521.43
    ],
    [
      5,
      152000
    ],
    [
      6,
      30000
    ],
    [
      7,
      69999.99
    ],
    [
      8,
      5000
    ],
    [
      9,
      227807.77
    ],
    [
      10,
      24758.66
    ],
    [
      11,
      5.15
    ],
    [
      14,
      17857.14
    ],
    [
      15,
      1500
    ],
    [
      16,
      1250
    ],
    [
      19,
      10526.31
    ],
    [
      25,
      17537.5
    ],
    [
      27,
      4444
    ],
    [
      28,
      1632.17
    ],
    [
      29,
      14461.21
    ],
    [
      33,
      12430.68
    ],
    [
      37,
      13547.04
    ],
    [
      38,
      1000
    ],
    [
      39,
      10000
    ],
    [
      40,
      2000
    ],
    [
      41,
      6509.15
    ],
    [
      45,
      5506.94
    ],
    [
      46,
      3934
    ],
    [
      49,
      4279.34
    ],
    [
      50,
      100
    ],
    [
      52,
      7000
    ],
    [
      53,
      4596.7
    ],
    [
      55,
      2186.4
    ],
    [
      57,
      3344.3
    ],
    [
      58,
      2050
    ],
    [
      60,
      25
    ],
    [
      61,
      2500
    ],
    [
      62,
      5000
    ],
    [
      63,
      1000
    ],
    [
      64,
      3796.47
    ],
    [
      65,
      923
    ],
    [
      70,
      400
    ],
    [
      71,
      145.69
    ],
    [
      73,
      710.93
    ],
    [
      74,
      135
    ],
    [
      75,
      6.66
    ],
    [
      76,
      2000
    ],
    [
      77,
      1000
    ],
    [
      80,
      2328.25
    ],
    [
      81,
      2722
    ],
    [
      82,
      2222
    ],
    [
      83,
      2782
    ],
    [
      84,
      2734.95
    ],
    [
      85,
      8590.9
    ],
    [
      86,
      2238.62
    ],
    [
      87,
      12457.74
    ],
    [
      88,
      315212
    ],
    [
      89,
      1145162.22
    ],
    [
      90,
      1270165.82
    ],
    [
      91,
      1748524.06
    ],
    [
      92,
      2115890.83
    ],
    [
      93,
      486663.13
    ]
  ],
  "yes_dollars": [
    [
      "0.0100",
      2000039.73
    ],
    [
      "0.0200",
      1011555
    ],
    [
      "0.0300",
      210008.09
    ],
    [
      "0.0400",
      143521.43
    ],
    [
      "0.0500",
      152000
    ],
    [
      "0.0600",
      30000
    ],
    [
      "0.0700",
      69999.99
    ],
    [
      "0.0800",
      5000
    ],
    [
      "0.0900",
      227807.77
    ],
    [
      "0.1000",
      24758.66
    ],
    [
      "0.1100",
      5.15
    ],
    [
      "0.1400",
      17857.14
    ],
    [
      "0.1500",
      1500
    ],
    [
      "0.1600",
      1250
    ],
    [
      "0.1900",
      10526.31
    ],
    [
      "0.2500",
      17537.5
    ],
    [
      "0.2700",
      4444
    ],
    [
      "0.2800",
      1632.17
    ],
    [
      "0.2900",
      14461.21
    ],
    [
      "0.3300",
      12430.68
    ],
    [
      "0.3700",
      13547.04
    ],
    [
      "0.3800",
      1000
    ],
    [
      "0.3900",
      10000
    ],
    [
      "0.4000",
      2000
    ],
    [
      "0.4100",
      6509.15
    ],
    [
      "0.4500",
      5506.94
    ],
    [
      "0.4600",
      3934
    ],
    [
      "0.4900",
      4279.34
    ],
    [
      "0.5000",
      100
    ],
    [
      "0.5200",
      7000
    ],
    [
      "0.5300",
      4596.7
    ],
    [
      "0.5500",
      2186.4
    ],
    [
      "0.5700",
      3344.3
    ],
    [
      "0.5800",
      2050
    ],
    [
      "0.6000",
      25
    ],
    [
      "0.6100",
      2500
    ],
    [
      "0.6200",
      5000
    ],
    [
      "0.6300",
      1000
    ],
    [
      "0.6400",
      3796.47
    ],
    [
      "0.6500",
      923
    ],
    [
      "0.7000",
      400
    ],
    [
      "0.7100",
      145.69
    ],
    [
      "0.7300",
      710.93
    ],
    [
      "0.7400",
      135
    ],
    [
      "0.7500",
      6.66
    ],
    [
      "0.7600",
      2000
    ],
    [
      "0.7700",
      1000
    ],
    [
      "0.8000",
      2328.25
    ],
    [
      "0.8100",
      2722
    ],
    [
      "0.8200",
      2222
    ],
    [
      "0.8300",
      2782
    ],
    [
      "0.8400",
      2734.95
    ],
    [
      "0.8500",
      8590.9
    ],
    [
      "0.8600",
      2238.62
    ],
    [
      "0.8700",
      12457.74
    ],
    [
      "0.8800",
      315212
    ],
    [
      "0.8900",
      1145162.22
    ],
    [
      "0.9000",
      1270165.82
    ],
    [
      "0.9100",
      1748524.06
    ],
    [
      "0.9200",
      2115890.83
    ],
    [
      "0.9300",
      486663.13
    ]
  ]
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### How is each order-book level structured?
Each level is a two-element array: price first, quantity second. Keep the parent array name so the price representation remains clear.

### Can I treat every price array as micro-USD?
No. The dollar arrays contain decimal-string dollar prices, while yes and no use a different native representation. Do not apply a shared conversion to all arrays.

### Can I use an event ID instead of marketId?
Use the specific market identifier. An event can contain multiple markets with separate order books.

### Is this a streaming subscription or a trade request?
It is a GET query returning an order-book response. It does not expose a stream or submit an order.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected implementation. Follow its billing unit and any request-dependent rules before sending the request.

## Available implementations
- jupiter: https://openany.si/jupiter/jupiter-prediction-api-get-orderbook/71aea195-a03a-4dfd-a2c6-fdd153b0f8df/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
