Jupiter Profile API

The Profile API from Jupiter — 2 operation(s) for profile.

Operations 2

GET /profiles/{ownerPubkey} Get profile #
GET /profiles/{ownerPubkey}/pnl-history Get P&L history #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/jupiter-ag:jupiter-ag-profile-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

jupiter-ag-profile-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Jupiter Prediction Market Profile API
  version: 1.0.0
  description: Jupiter Prediction Market API Schema
servers:
- url: https://api.jup.ag/prediction/v1
  description: Jupiter Prediction Market API Endpoint
security:
- ApiKeyAuth: []
tags:
- name: Profile
paths:
  /profiles/{ownerPubkey}:
    get:
      tags:
      - Profile
      summary: Get profile
      description: 'Trading statistics of a wallet: realised P&L, volume, prediction counts, active contracts and portfolio value. USD values are in micro USD.'
      parameters:
      - schema:
          type: string
        required: true
        description: Wallet public key.
        name: ownerPubkey
        in: path
      responses:
        '200':
          description: Profile stats
          content:
            application/json:
              schema:
                type: object
                properties:
                  ownerPubkey:
                    type: string
                  realizedPnlUsd:
                    type: string
                  totalVolumeUsd:
                    type: string
                  predictionsCount:
                    type: string
                  correctPredictions:
                    type: string
                  wrongPredictions:
                    type: string
                  totalActiveContracts:
                    type: string
                    description: Legacy whole-contract count. Use totalActiveContractsMicro or totalActiveContractsDecimal for the exact value.
                  totalActiveContractsMicro:
                    type: string
                    description: Active contracts in micro-contract units (1000000 = 1 contract)
                  totalActiveContractsDecimal:
                    type: string
                    description: Active contracts as a decimal string
                  totalPositionsValueUsd:
                    type: string
                required:
                - ownerPubkey
                - realizedPnlUsd
                - totalVolumeUsd
                - predictionsCount
                - correctPredictions
                - wrongPredictions
                - totalActiveContracts
                - totalPositionsValueUsd
        '404':
          description: Profile not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
      operationId: getProfilesByOwnerPubkey
      x-operation-id-source: derived
  /profiles/{ownerPubkey}/pnl-history:
    get:
      tags:
      - Profile
      summary: Get P&L history
      description: 'Profit and loss time series of a wallet for charting: `count` points spaced by `interval`.'
      parameters:
      - schema:
          type: string
        required: true
        description: Wallet public key.
        name: ownerPubkey
        in: path
      - schema:
          type: string
          enum:
          - 24h
          - 1w
          - 1m
          default: 1w
        required: false
        description: 'Spacing between points: `24h`, `1w` or `1m`.'
        name: interval
        in: query
      - schema:
          type: integer
          maximum: 1000
          default: 10
          exclusiveMinimum: 0
        required: false
        description: Number of points to return.
        name: count
        in: query
      responses:
        '200':
          description: PnL history for charting
          content:
            application/json:
              schema:
                type: object
                properties:
                  ownerPubkey:
                    type: string
                  history:
                    type: array
                    items:
                      type: object
                      properties:
                        timestamp:
                          type: integer
                        realizedPnlUsd:
                          type: string
                      required:
                      - timestamp
                      - realizedPnlUsd
                required:
                - ownerPubkey
                - history
      operationId: getProfilesByOwnerPubkeyPnlHistory
      x-operation-id-source: derived
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Get API key via https://developers.jup.ag/portal
x-provenance:
  method: harvested
  publisher: Jupiter
  source: https://developers.jup.ag/docs/openapi-spec/prediction/prediction.yaml
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)