polystrike-xyz Portfolio API

The portfolio API from polystrike-xyz — 2 operation(s) for portfolio.

Operations 2

GET /api/v1/portfolio/elon Get Portfolio Analysis #
GET /api/v1/portfolio/elon/rebalancing Get Rebalancing Summary #

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/polystrike-xyz:polystrike-xyz-portfolio-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

polystrike-xyz-portfolio-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Polystrike Portfolio API
  description: Real-time prediction market intelligence for Polymarket
  version: 1.0.0
  x-tiers:
    FREE:
      rate_limit: 100 requests/hour
      features: Basic metadata, limited tweets, basic predictions
    PRO:
      rate_limit: 10,000 requests/hour
      features: Full access, trading signals, portfolio analysis
tags:
- name: Portfolio
paths:
  /api/v1/portfolio/elon:
    get:
      tags:
      - Portfolio
      summary: Get Portfolio Analysis
      description: 'Analyze wallet positions with EV-based recommendations (PRO tier required).


        Returns positions across all active Elon tweet markets with model-based analysis.


        Query Parameters:

        - wallet: Ethereum wallet address (hex format, required)

        - bankroll: Your bankroll in USD (1-1,000,000) for position sizing recommendations


        Authentication: PRO tier API key required


        Cache: 5 minutes TTL (aligned with prediction snapshot updates)'
      operationId: get_portfolio_analysis_api_v1_portfolio_elon_get
      parameters:
      - name: wallet
        in: query
        required: true
        schema:
          type: string
          description: Ethereum wallet address
          title: Wallet
        description: Ethereum wallet address
      - name: bankroll
        in: query
        required: false
        schema:
          type: number
          maximum: 1000000
          minimum: 1
          description: Your bankroll in USD for Kelly position sizing analysis. If omitted, position sizing recommendations are not provided.
          title: Bankroll
        description: Your bankroll in USD for Kelly position sizing analysis. If omitted, position sizing recommendations are not provided.
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      - name: x402
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X402
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/portfolio/elon/rebalancing:
    get:
      tags:
      - Portfolio
      summary: Get Rebalancing Summary
      description: 'Get rebalancing recommendations for wallet positions (PRO tier required).


        Returns only positions that need rebalancing (ADD_MORE or TRIM).

        Filters out positions with adjustments below the threshold.


        Query Parameters:

        - wallet: Ethereum wallet address (hex format, required)

        - bankroll: Your bankroll in USD (1-1,000,000, required)

        - threshold: Minimum adjustment amount in USD (default: $5)


        Authentication: PRO tier API key required


        Use Case: Manual rebalancing workflow'
      operationId: get_rebalancing_summary_api_v1_portfolio_elon_rebalancing_get
      parameters:
      - name: wallet
        in: query
        required: true
        schema:
          type: string
          description: Ethereum wallet address
          title: Wallet
        description: Ethereum wallet address
      - name: bankroll
        in: query
        required: true
        schema:
          type: number
          maximum: 1000000
          minimum: 1
          description: Your bankroll in USD for Kelly position sizing
          title: Bankroll
        description: Your bankroll in USD for Kelly position sizing
      - name: threshold
        in: query
        required: false
        schema:
          type: number
          maximum: 100
          minimum: 1
          description: 'Minimum adjustment amount in USD to show (default: $5)'
          default: 5.0
          title: Threshold
        description: 'Minimum adjustment amount in USD to show (default: $5)'
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      - name: x402
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X402
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key for authentication. Get yours at https://polystrike.xyz
    X402Auth:
      type: apiKey
      in: header
      name: x402
      description: Coinbase payment protocol for per-call payments