OpenAny
Get API keyAPI Key
APICrypto & DeFi

jupiter logo
Jupiter Prediction Position API

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.

Selected price
$0 / callPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
0Selected implementation · last 30 days
Success rate · 30d
—No requests in this period
USE THIS API

Jupiter Prediction Position API

Prepare your request, then continue with your agent.

Selected price

$0 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
Jupiter Prediction Position API

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.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs path: positionPubkey
Selected implementation jupiter · Jupiter — Prediction API — Get position
Billing Per call; check the selected implementation pricing and charge conditions

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

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Set the path variables shown in the URL to your target values; URL-encode each path segment before calling.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl --request GET --get \
  "https://api.openany.si/v1/agent-apis/jupiter/prediction/v1/positions/${POSITIONPUBKEY_URI:?Set POSITIONPUBKEY_URI}" \
  -H "Authorization: Bearer ${OPENANY_API_KEY}" \
  -H 'Content-Type: application/json'

Request and Response Examples

The saved response is a published documentation example. Its values may be historical; the request is an independent calling template. Use current returned identifiers and optional fields for your chosen resource.

Published Jupiter Prediction Position API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
Position account public key

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
jupiterCurrent
Jupiter — Prediction API — Get position · GET · View API reference
$0 / call0
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · jupiterUSD / call
Unit price
$0

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.

calls

Total $0

API

Method
GET
Endpoint
https://api.openany.si/v1/agent-apis/jupiter/prediction/v1/positions/{positionPubkey}
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
positionPubkeyURL path parameterspathstringYes

Position account public key

minLength: 1

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • avgPriceUsdstring
  • bumpinteger
  • claimableboolean
  • claimableAtnull
  • claimedboolean
  • claimedUsdstring
  • contractsstring
  • contractsDecimalstring
  • contractsMicrostring
  • eventIdstring
  • eventMetadataobject
    • beginAtstring
    • categorystring
    • closeConditionstring
    • closeTimeinteger
    • eventIdstring
    • imageUrlstring
    • isActiveboolean
    • isLiveboolean
    • subcategorystring
    • subtitlestring
    • tagsstring[]
    • titlestring
  • feesPaidUsdstring
  • integratorFeeUsdstring
  • isYesboolean
  • markPriceUsdstring
  • marketstring
  • marketIdstring
  • marketIdHashstring
  • marketMetadataobject
    • closeTimeinteger
    • descriptionstring
    • eventIdstring
    • gameNumbernull
    • isTeamMarketboolean
    • marketIdstring
    • marketOptionsobject[]
      • buyYesboolean
      • labelstring
    • openTimeinteger
    • periodNumbernull
    • periodTypenull
    • providerstring
    • providerSportsLinenull
    • resultnull
    • sportsLinenull
    • sportsMarketTypestring
    • statusstring
    • subtitlestring
    • teamobject
      • abbreviationstring
      • colorstring
      • imageUrlstring
      • namestring
    • titlestring
  • maxSlippageBpsinteger
  • openOrdersinteger
  • openedAtinteger
  • ownerstring
  • ownerPubkeystring
  • payoutUsdstring
  • pnlUsdstring
  • pnlUsdAfterFeesstring
  • pnlUsdAfterFeesPercentnumber
  • pnlUsdPercentnumber
  • pubkeystring
  • realizedPnlUsdinteger
  • sellPriceUsdstring
  • settlementDateinteger
  • sizeUsdstring
  • sourcestring
  • totalCostUsdstring
  • updatedAtinteger
  • valueUsdstring

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Documentation example

Published documentation example. Verify the actual response after an approved call.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 1

    Review these request fields before running. Keep the published provider and request method unchanged.

    positionPubkey
    Position account public key
    Terminal · cURL
    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'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "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"
    }

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.

Use Jupiter Prediction Position API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.