# Jupiter — Prediction API — Get position

Get Jupiter Prediction Position 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 position-account public key, position owner public key, external market identifier, decimal contract quantity, and contract quantity in millionths for position reference, and claim-state display.

Documentation: https://openany.si/market/apis/jupiter/jupiter-prediction-api-get-position/?offering=1e900ed2-20f8-4acc-879a-560bfa53def7
API ID: 1e900ed2-20f8-4acc-879a-560bfa53def7
Provider: jupiter
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/jupiter/prediction/v1/positions/{positionPubkey}
Page update time: 2026-12-03T02:49:37.744Z
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
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:49:37.209Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Jupiter — Prediction API — Get position 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": {
        "positionPubkey": {
          "type": "string",
          "description": "Position account public key",
          "minLength": 1
        }
      },
      "required": [
        "positionPubkey"
      ]
    },
    "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": {
    "avgPriceUsd": {
      "type": "string"
    },
    "bump": {
      "type": "integer"
    },
    "claimable": {
      "type": "boolean"
    },
    "claimableAt": {
      "type": "null"
    },
    "claimed": {
      "type": "boolean"
    },
    "claimedUsd": {
      "type": "string"
    },
    "contracts": {
      "type": "string"
    },
    "contractsDecimal": {
      "type": "string"
    },
    "contractsMicro": {
      "type": "string"
    },
    "eventId": {
      "type": "string"
    },
    "eventMetadata": {
      "type": "object",
      "properties": {
        "beginAt": {
          "type": "string"
        },
        "category": {
          "type": "string"
        },
        "closeCondition": {
          "type": "string"
        },
        "closeTime": {
          "type": "integer"
        },
        "eventId": {
          "type": "string"
        },
        "imageUrl": {
          "type": "string"
        },
        "isActive": {
          "type": "boolean"
        },
        "isLive": {
          "type": "boolean"
        },
        "subcategory": {
          "type": "string"
        },
        "subtitle": {
          "type": "string"
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "title": {
          "type": "string"
        }
      }
    },
    "feesPaidUsd": {
      "type": "string"
    },
    "integratorFeeUsd": {
      "type": "string"
    },
    "isYes": {
      "type": "boolean"
    },
    "markPriceUsd": {
      "type": "string"
    },
    "market": {
      "type": "string"
    },
    "marketId": {
      "type": "string"
    },
    "marketIdHash": {
      "type": "string"
    },
    "marketMetadata": {
      "type": "object",
      "properties": {
        "closeTime": {
          "type": "integer"
        },
        "description": {
          "type": "string"
        },
        "eventId": {
          "type": "string"
        },
        "gameNumber": {
          "type": "null"
        },
        "isTeamMarket": {
          "type": "boolean"
        },
        "marketId": {
          "type": "string"
        },
        "marketOptions": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "buyYes": {
                "type": "boolean"
              },
              "label": {
                "type": "string"
              }
            }
          }
        },
        "openTime": {
          "type": "integer"
        },
        "periodNumber": {
          "type": "null"
        },
        "periodType": {
          "type": "null"
        },
        "provider": {
          "type": "string"
        },
        "providerSportsLine": {
          "type": "null"
        },
        "result": {
          "type": "null"
        },
        "sportsLine": {
          "type": "null"
        },
        "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"
        }
      }
    },
    "maxSlippageBps": {
      "type": "integer"
    },
    "openOrders": {
      "type": "integer"
    },
    "openedAt": {
      "type": "integer"
    },
    "owner": {
      "type": "string"
    },
    "ownerPubkey": {
      "type": "string"
    },
    "payoutUsd": {
      "type": "string"
    },
    "pnlUsd": {
      "type": "string"
    },
    "pnlUsdAfterFees": {
      "type": "string"
    },
    "pnlUsdAfterFeesPercent": {
      "type": "number"
    },
    "pnlUsdPercent": {
      "type": "number"
    },
    "pubkey": {
      "type": "string"
    },
    "realizedPnlUsd": {
      "type": "integer"
    },
    "sellPriceUsd": {
      "type": "string"
    },
    "settlementDate": {
      "type": "integer"
    },
    "sizeUsd": {
      "type": "string"
    },
    "source": {
      "type": "string"
    },
    "totalCostUsd": {
      "type": "string"
    },
    "updatedAt": {
      "type": "integer"
    },
    "valueUsd": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/jupiter/prediction/v1/positions/5RgcHYYMPccH6a6oJnxtf6tvuNS2qfBStXxNokyWKLpf' \
  -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
{
  "avgPriceUsd": "329999",
  "bump": 252,
  "claimable": false,
  "claimableAt": null,
  "claimed": false,
  "claimedUsd": "0",
  "contracts": "102",
  "contractsDecimal": "102.93",
  "contractsMicro": "102930000",
  "eventId": "POLY-1272606",
  "eventMetadata": {
    "beginAt": "1793336700",
    "category": "sports",
    "closeCondition": "",
    "closeTime": 1793930400,
    "eventId": "POLY-1272606",
    "imageUrl": "https://polymarket-upload.s3.us-east-2.amazonaws.com/wta-logo-41f331bdf1.png",
    "isActive": true,
    "isLive": true,
    "subcategory": "wta",
    "subtitle": "",
    "tags": [
      "tennis",
      "sports",
      "games",
      "wta"
    ],
    "title": "Guangzhou Open: Paula Badosa vs Harriet Dart"
  },
  "feesPaidUsd": "1817380",
  "integratorFeeUsd": "0",
  "isYes": true,
  "markPriceUsd": "300000",
  "market": "HjNUPnizcAKb8JZ3RWBTT6o8aHVjtHHoxrFMfjNZthij",
  "marketId": "POLY-6347272-1",
  "marketIdHash": "6863d587602a48eb4fceb1a04f56bb30",
  "marketMetadata": {
    "closeTime": 1793930400,
    "description": "Harriet Dart",
    "eventId": "POLY-1272606",
    "gameNumber": null,
    "isTeamMarket": true,
    "marketId": "POLY-6347272-1",
    "marketOptions": [
      {
        "buyYes": true,
        "label": "Harriet Dart"
      }
    ],
    "openTime": 1793204062,
    "periodNumber": null,
    "periodType": null,
    "provider": "polymarket",
    "providerSportsLine": null,
    "result": null,
    "sportsLine": null,
    "sportsMarketType": "moneyline",
    "status": "open",
    "subtitle": "Harriet Dart",
    "team": {
      "abbreviation": "dart",
      "color": "#a22020",
      "imageUrl": "https://polymarket-upload.s3.us-east-2.amazonaws.com/country-flags/gbr.png",
      "name": "Harriet Dart"
    },
    "title": "Harriet Dart"
  },
  "maxSlippageBps": 2500,
  "openOrders": 0,
  "openedAt": 1793341123,
  "owner": "EqKSEoXiwA65pGbyZvmY6EfhEn5i7MuKwmUF4fVNuTg6",
  "ownerPubkey": "EqKSEoXiwA65pGbyZvmY6EfhEn5i7MuKwmUF4fVNuTg6",
  "payoutUsd": "102930000",
  "pnlUsd": "-3087899",
  "pnlUsdAfterFees": "-4905279",
  "pnlUsdAfterFeesPercent": -13.7,
  "pnlUsdPercent": -9.09,
  "pubkey": "5RgcHYYMPccH6a6oJnxtf6tvuNS2qfBStXxNokyWKLpf",
  "realizedPnlUsd": 0,
  "sellPriceUsd": "300000",
  "settlementDate": 1793930400,
  "sizeUsd": "33966899",
  "source": "program",
  "totalCostUsd": "33966899",
  "updatedAt": 1793341123,
  "valueUsd": "30879000"
}
```

## 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.

## Available implementations
- jupiter: https://openany.si/market/apis/jupiter/jupiter-prediction-api-get-position/?offering=1e900ed2-20f8-4acc-879a-560bfa53def7

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