Jupiter · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Jupiter Prediction Market Positions API

6 actions 6 updates phrasing extends openapi/jupiter-ag-positions-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Jupiter's API. It is a proposal applied on top of the contract, not a document Jupiter publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 6

$.info
$.paths['/positions'].get
$.paths['/positions'].delete
$.paths['/positions/{positionPubkey}'].get
$.paths['/positions/{positionPubkey}'].delete
$.paths['/positions/{positionPubkey}/claim'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Jupiter Prediction Market Positions API
  version: 1.0.0
extends: openapi/jupiter-ag-positions-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-21'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 5
- target: $.paths['/positions'].get
  update:
    x-apievangelist-phrasing:
      intent: List onchain prediction market positions
      effect: read
      questions:
      - Which YES and NO positions does a wallet hold in a prediction market?
      - Can I list only a user's positions in one market?
      instructions:
      - text: List positions for owner {ownerPubkey}.
        slots:
          ownerPubkey: query.ownerPubkey
      - text: Show positions in market {marketId} where side is {isYes}.
        slots:
          marketId: query.marketId
          isYes: query.isYes
      method: generated
      generated: '2026-11-21'
- target: $.paths['/positions'].delete
  update:
    x-apievangelist-phrasing:
      intent: Sell all open positions of a wallet
      effect: destructive
      questions:
      - How do I close every open position in a prediction market wallet at once?
      - What slippage do I set when selling all positions?
      instructions:
      - text: Close all positions for owner {ownerPubkey} with slippage {minSellPriceSlippageBps} bps.
        slots:
          ownerPubkey: requestBody.ownerPubkey
          minSellPriceSlippageBps: requestBody.minSellPriceSlippageBps
      - text: Sell every contract held by {ownerPubkey} in one batch.
        slots:
          ownerPubkey: requestBody.ownerPubkey
      method: generated
      generated: '2026-11-21'
- target: $.paths['/positions/{positionPubkey}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one prediction market position
      effect: read
      questions:
      - What side and unrealised P&L does a single position have?
      - How many contracts does one position hold?
      instructions:
      - text: Get position {positionPubkey}.
        slots:
          positionPubkey: path.positionPubkey
      - text: Show the contracts, cost basis and P&L of position {positionPubkey}.
        slots:
          positionPubkey: path.positionPubkey
      method: generated
      generated: '2026-11-21'
- target: $.paths['/positions/{positionPubkey}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Close one prediction market position
      effect: destructive
      questions:
      - How do I close a single open position before the market resolves?
      - Can I sell one position's contracts and submit the transaction later?
      instructions:
      - text: Close position {positionPubkey}.
        slots:
          positionPubkey: path.positionPubkey
      - text: Sell every contract in position {positionPubkey} for owner {ownerPubkey}.
        slots:
          positionPubkey: path.positionPubkey
          ownerPubkey: requestBody.ownerPubkey
      method: generated
      generated: '2026-11-21'
- target: $.paths['/positions/{positionPubkey}/claim'].post
  update:
    x-apievangelist-phrasing:
      intent: Claim a winning prediction market position
      effect: write
      questions:
      - How do I claim the payout of a winning position after the market resolves?
      - Does a winning contract pay $1?
      instructions:
      - text: Claim position {positionPubkey}.
        slots:
          positionPubkey: path.positionPubkey
      - text: Claim the payout for winning position {positionPubkey} owned by {ownerPubkey}.
        slots:
          positionPubkey: path.positionPubkey
          ownerPubkey: requestBody.ownerPubkey
      method: generated
      generated: '2026-11-21'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/jupiter-ag-positions-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.