# Jupiter — Prediction API — Get order

Get Jupiter Prediction Order 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 order-account public key, owner wallet public key, client order reference, external order reference, and reported order status for order panels, and history investigation.

Documentation: https://openany.si/jupiter/jupiter-prediction-api-get-order/9c2a8252-09e5-486d-a74e-8b022d9e8096/
API ID: 9c2a8252-09e5-486d-a74e-8b022d9e8096
Provider: jupiter
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/jupiter/prediction/v1/orders/{orderPubkey}
Page update time: 2026-12-03T02:49:37.712Z
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.126Z. 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 API

The required path input is orderPubkey. Keep pubkey, clientOrderId, externalOrderId, market and market metadata identifiers in their own roles. Read status and settled separately, and use fractional quantity fields rather than only the legacy whole-contract field.

## What You Can Build

- **Order panels**: Show order status and fractional quantities together.
- **History investigation**: Keep account, client and market references distinct.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `pubkey` | Order-account public key |
| `ownerPubkey` | Owner wallet public key |
| `clientOrderId` | Client order reference |
| `externalOrderId` | External order reference |
| `status` | Reported order status |
| `settled` | Settlement flag |
| `contractsDecimal` | Decimal contract quantity |
| `contractsMicro` | Micro-contract quantity |
| `marketMetadata.marketId` | Market identifier in metadata |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Jupiter — Prediction API — Get order 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": {
        "orderPubkey": {
          "type": "string",
          "description": "Order account public key",
          "minLength": 1
        }
      },
      "required": [
        "orderPubkey"
      ]
    },
    "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": {
    "avgFillPriceUsd": {
      "type": "string"
    },
    "bump": {
      "type": "integer"
    },
    "clientOrderId": {
      "type": "string"
    },
    "contracts": {
      "type": "string"
    },
    "contractsDecimal": {
      "type": "string"
    },
    "contractsMicro": {
      "type": "string"
    },
    "createdAt": {
      "type": "integer"
    },
    "eventId": {
      "type": "string"
    },
    "eventMetadata": {
      "type": "object",
      "properties": {
        "beginAt": {
          "type": "string"
        },
        "category": {
          "type": "string"
        },
        "closeTime": {
          "type": "integer"
        },
        "eventId": {
          "type": "string"
        },
        "imageUrl": {
          "type": "string"
        },
        "isLive": {
          "type": "boolean"
        },
        "subcategory": {
          "type": "string"
        },
        "subtitle": {
          "type": "string"
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "title": {
          "type": "string"
        }
      }
    },
    "externalOrderId": {
      "type": "string"
    },
    "filledAt": {
      "type": "integer"
    },
    "filledContracts": {
      "type": "string"
    },
    "filledContractsDecimal": {
      "type": "string"
    },
    "filledContractsMicro": {
      "type": "string"
    },
    "isBuy": {
      "type": "boolean"
    },
    "isYes": {
      "type": "boolean"
    },
    "market": {
      "type": "string"
    },
    "marketId": {
      "type": "string"
    },
    "marketIdHash": {
      "type": "string"
    },
    "marketMetadata": {
      "type": "object",
      "properties": {
        "closeTime": {
          "type": "integer"
        },
        "description": {
          "type": "string"
        },
        "eventId": {
          "type": "string"
        },
        "gameNumber": {
          "type": "integer"
        },
        "isTeamMarket": {
          "type": "boolean"
        },
        "marketId": {
          "type": "string"
        },
        "marketOptions": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "buyYes": {
                "type": "boolean"
              },
              "label": {
                "type": "string"
              }
            }
          }
        },
        "openTime": {
          "type": "integer"
        },
        "periodNumber": {
          "type": "integer"
        },
        "periodType": {
          "type": "string"
        },
        "providerSportsLine": {
          "type": "string"
        },
        "result": {
          "type": "string"
        },
        "sportsLine": {
          "type": "string"
        },
        "sportsMarketType": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "subtitle": {
          "type": "string"
        },
        "team": {
          "type": "object",
          "properties": {
            "abbreviation": {
              "type": "string"
            },
            "color": {
              "type": "string"
            },
            "imageUrl": {
              "type": "string"
            },
            "name": {
              "type": "string"
            }
          }
        },
        "title": {
          "type": "string"
        }
      }
    },
    "maxBuyPriceUsd": {
      "type": "null"
    },
    "maxFillPriceUsd": {
      "type": "string"
    },
    "minSellPriceUsd": {
      "type": "string"
    },
    "orderId": {
      "type": "string"
    },
    "orderType": {
      "type": "string"
    },
    "owner": {
      "type": "string"
    },
    "ownerPubkey": {
      "type": "string"
    },
    "position": {
      "type": "string"
    },
    "pubkey": {
      "type": "string"
    },
    "settled": {
      "type": "boolean"
    },
    "sizeUsd": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "updatedAt": {
      "type": "integer"
    }
  }
}
```

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/jupiter/prediction/v1/orders/CGSxcBNiAivrewJA7prwA5Xu1gr3XMF7p5DAon1rfRe4' \
  -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
{
  "avgFillPriceUsd": "0",
  "bump": 255,
  "clientOrderId": "86682dcce9cf440986088a6d7c892285",
  "contracts": "283",
  "contractsDecimal": "283.27",
  "contractsMicro": "283270000",
  "createdAt": 1793112953,
  "eventId": "POLY-1195427",
  "eventMetadata": {
    "beginAt": "1793111100",
    "category": "esports",
    "closeTime": 1793132700,
    "eventId": "POLY-1195427",
    "imageUrl": "https://polymarket-upload.s3.us-east-2.amazonaws.com/counter-strike-image-16c415c538.png",
    "isLive": false,
    "subcategory": "cs2",
    "subtitle": "",
    "tags": [
      "esports",
      "counter-strike-2",
      "games",
      "sports",
      "cs2"
    ],
    "title": "Counter-Strike: Inner Circle Esports vs Team Nemesis (BO3) - Stake Ranked Episode 5 Playoffs"
  },
  "externalOrderId": "86682dcce9cf440986088a6d7c892285",
  "filledAt": 0,
  "filledContracts": "0",
  "filledContractsDecimal": "0",
  "filledContractsMicro": "0",
  "isBuy": false,
  "isYes": true,
  "market": "BLwdY7aYG2CXKYtxDP4ZRz36V9cCiYSTT7QVX5Qj8BWg",
  "marketId": "2723664599d7e4edbf6f6d948d67dee3",
  "marketIdHash": "2723664599d7e4edbf6f6d948d67dee3",
  "marketMetadata": {
    "closeTime": 1793132700,
    "description": "Team Nemesis",
    "eventId": "POLY-1195427",
    "gameNumber": 1,
    "isTeamMarket": true,
    "marketId": "POLY-5746690-1",
    "marketOptions": [
      {
        "buyYes": true,
        "label": "Team Nemesis"
      }
    ],
    "openTime": 1792086936,
    "periodNumber": 1,
    "periodType": "map",
    "providerSportsLine": "1",
    "result": "no",
    "sportsLine": "1",
    "sportsMarketType": "child_moneyline",
    "status": "closed",
    "subtitle": "Team Nemesis",
    "team": {
      "abbreviation": "nem",
      "color": "#457CFF",
      "imageUrl": "https://polymarket-upload.s3.us-east-2.amazonaws.com/team_logos/esports/cs2/cs-go_team nemesis_137289.png",
      "name": "Team Nemesis"
    },
    "title": "Team Nemesis"
  },
  "maxBuyPriceUsd": null,
  "maxFillPriceUsd": "30000",
  "minSellPriceUsd": "30000",
  "orderId": "",
  "orderType": "market",
  "owner": "ANpyV7ED9o6HbJZWwUwESrHHDcDu2EuL7vV6veWgcm54",
  "ownerPubkey": "ANpyV7ED9o6HbJZWwUwESrHHDcDu2EuL7vV6veWgcm54",
  "position": "HJMasSxAaGdzxsxNUCibEps2s9bCDgZ7XB1skNTk1Zqj",
  "pubkey": "CGSxcBNiAivrewJA7prwA5Xu1gr3XMF7p5DAon1rfRe4",
  "settled": false,
  "sizeUsd": "8498100",
  "status": "pending",
  "updatedAt": 1793112953
}
```

## 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
### Can I use clientOrderId as the path input?
This route requires the order account’s public key. Client and external order identifiers are separate response references.

### Can contracts contain the full fractional quantity?
Use contractsDecimal or contractsMicro for fractional quantities. Preserve those values instead of relying only on the legacy whole-contract field.

### Are all market-related fields interchangeable IDs?
No. Keep the market account, hashes and metadata market identifier separate, and use the value required by the next query.

### Does this GET settle or cancel the order?
No. It reads an order record and does not submit a settlement, cancellation or trade.

### 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-order/9c2a8252-09e5-486d-a74e-8b022d9e8096/

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