# 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/jupiter/jupiter-prediction-api-get-position/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
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.209Z. 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 Position API

Set positionPubkey in the path. The position object includes owner and market references, contractsDecimal and contractsMicro, reported valuation and profit fields, and separate claimable and claimed flags. Preserve fractional quantities and distinguish fee-adjusted values from their corresponding pre-fee fields.

## What You Can Build

- **Position reference**: Link position and owner identities to market context.
- **Claim-state display**: Show claim eligibility separately from completed claims.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `pubkey` | Position-account public key |
| `ownerPubkey` | Position owner public key |
| `marketId` | External market identifier |
| `contractsDecimal` | Decimal contract quantity |
| `contractsMicro` | Contract quantity in millionths |
| `claimable` | Reported eligibility to claim |
| `claimed` | Reported completed-claim flag |
| `pnlUsdAfterFees` | Reported profit or loss after fees in the source money unit |

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

## Common questions
### Which contract quantity preserves fractions?
Use contractsDecimal as a decimal quantity or contractsMicro in millionths of a contract. Legacy contracts can omit the fractional component.

### Does claimed=false mean a position is ready to claim?
No. claimed and claimable are separate states. Read claimable and any claimableAt value independently.

### Are pnlUsd and pnlUsdAfterFees interchangeable?
No. The fee-adjusted field includes fees. Preserve their separate meanings and source money scale when displaying them.

### Does this request close or claim the position?
No. It reads the position object without placing an order or submitting a claim.

### 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-position/1e900ed2-20f8-4acc-879a-560bfa53def7/

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