PMWallets Plans API

Monthly plans (Base / Pro / Max).

GitHub OpenAPI

Operations 4

GET /v1/plans Monthly plan tiers #
GET /v1/account/plan Your plan, balance and allowances #
POST /v1/account/plan/quote Price a plan tier change #
POST /v1/account/plan/balance Buy 30 days of a plan from the balance #

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/pmwallets-com:pmwallets-com-plans-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

pmwallets-com-plans-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PMWallets Plans API
  version: 1.0.0
  summary: Polymarket wallet leaderboard, address unlocks, live fill subscriptions and trade-history exports.
  description: 'PMWallets tracks every Polymarket fill on Polygon, groups wallets that belong together into **entities**, and ranks them by forward-only PnL over published windows (`30d`, `7d`; each recomputed about once a day). It sells three things: the **address** behind an entity, a **live stream of its fills** (billed per hour), and **per-wallet daily trade-history files**.


    **Handles vs addresses.** An entity whose address you have not bought is named by a 12-character **handle** in `entityId` (Crockford base32, e.g. `7KQ2MF9X4B1C`) with a masked address in `label` (`0x4b96…984e`). After you unlock it (`POST /v1/account/reveals`), follow it, or unlock it from a plan, `entityId` and `label` are the full 0x address. Send handles back to every endpoint that takes an entity; a raw address is only accepted from a caller who already holds it. A masked label is never accepted.


    **Money.** Prices are integer US cents. Charges come from the prepaid account balance (top-ups happen on https://pmwallets.com). Every charging call takes a ceiling (`maxPriceCents` / `maxCents`) and answers 409 instead of charging more. 402 means not enough balance; nothing was charged.


    **Quotas.** A signed-in board read spends rows from a 20,000-row daily allowance (UTC day). Opening an entity page as a subscriber, unlocking, subscribing and exporting each spend one unit of a daily *distinct-entity* budget (50 by default, raised by plans); touching the same entity again that day is free. Over-limit answers are 403. Heavy reads are rate limited per account and per IP (429).


    **Auth.** Send an API key `pmw__` in `x-api-key` (`Authorization: Bearer ` also works). Create keys at https://pmwallets.com/keys. A key can spend the balance but cannot manage keys, add/remove webhooks or change a card plan (session-only, not in this document). Without a key: the 20-row board sample, periods, plans, rate card, markets, latency and readiness.


    **Live fills are not in this document.** They arrive over the WebSocket `wss://api.pmwallets.com/v1/ws` (send the key in `x-api-key`; one API connection per account, `?clientId=&takeover=1` replaces another) or as signed webhooks (see `webhooks.fill`; the endpoint is registered on the website). An agent without a long-running process can poll `GET /v1/account/fills` with the `next` cursor instead: same fills, same `eventId`, scoped to active subscriptions, retained 60 days.


    **Units.** In fills, `usdc`, `shares` and `fee` are integer strings in 1e-6 units (`"1824000000"` = $1,824); `price` is a decimal string; `ts` is UTC `YYYY-MM-DD HH:MM:SS`. Board and entity figures (`realizedPnl`, `grossBuyUsdc`, …) are dollars as numbers.'
  contact:
    name: PMWallets
    url: https://pmwallets.com
    email: support@pmwallets.com
servers:
- url: https://api.pmwallets.com
  description: Production
security:
- ApiKeyAuth: []
tags:
- name: Plans
  description: Monthly plans (Base / Pro / Max).
paths:
  /v1/plans:
    get:
      operationId: listPlans
      tags:
      - Plans
      summary: Monthly plan tiers
      security: []
      description: Base / Pro / Max with price and allowances, and whether each is on sale.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  currency:
                    type: string
                    const: usd
                  interval:
                    type: string
                    const: month
                  tiers:
                    type: array
                    items:
                      $ref: '#/components/schemas/PlanTier'
        '429':
          $ref: '#/components/responses/RateLimited'
  /v1/account/plan:
    get:
      operationId: getPlan
      tags:
      - Plans
      summary: Your plan, balance and allowances
      security:
      - ApiKeyAuth: []
      description: Current plan (card or balance-paid), period, queued period, balance, and what is used of unlock / push / export allowances.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PlanStatus'
        '401':
          $ref: '#/components/responses/Unauthorized'
  /v1/account/plan/quote:
    post:
      operationId: quotePlanChange
      tags:
      - Plans
      summary: Price a plan tier change
      security:
      - ApiKeyAuth: []
      description: 'What moving to `tier` would do today (kind: upgrade with `cents` charged now, downgrade, same, keep, or a refusal kind such as not_active). Charges nothing. Card-plan changes themselves are session-only (website); a balance-paid plan is extended or moved down with POST /v1/account/plan/balance.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                tier:
                  type: string
                  enum:
                  - base
                  - pro
                  - max
              required:
              - tier
      responses:
        '201':
          description: Quote (HTTP 201, nothing charged).
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  kind:
                    type: string
                    enum:
                    - upgrade
                    - downgrade
                    - same
                    - keep
                    - balance_downgrade
                    - not_active
                    - not_on_sale
                    - downgrade_pending
                    - payment_pending
                    - trialing
                  from:
                    type: string
                  to:
                    type: string
                  cents:
                    type: integer
                    description: Charged today for an upgrade.
                  periodEnd:
                    type: string
                  caps:
                    type: object
                    properties:
                      monthly:
                        type: integer
                      exports:
                        type: integer
                  period:
                    type: integer
                    description: 'Balance plans: the period number the quote is for.'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
  /v1/account/plan/balance:
    post:
      operationId: buyPlanFromBalance
      tags:
      - Plans
      summary: Buy 30 days of a plan from the balance
      security:
      - ApiKeyAuth: []
      description: 'CHARGES THE BALANCE the tier price for 30 days that never renew (starts now, or queues behind the running period). maxCents caps the charge (409 price_changed). requestId is required: a retry with it returns the same period, never a second charge. Refused while a card plan is active.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - tier
              - maxCents
              - requestId
              properties:
                tier:
                  type: string
                  enum:
                  - base
                  - pro
                  - max
                  description: Base 499, Pro 1499, Max 3999 cents per 30 days.
                maxCents:
                  type: integer
                  minimum: 0
                  description: Most you agree to be charged, in cents.
                requestId:
                  type: string
                  pattern: ^[A-Za-z0-9_-]{8,64}$
                  description: Your idempotency key for this purchase; reuse it on retry, use a new one for a new purchase.
            example:
              tier: base
              maxCents: 499
              requestId: buy-2026-10-14-001
      responses:
        '201':
          description: Bought (HTTP 201); the body also carries the updated plan status.
          content:
            application/json:
              schema:
                allOf:
                - type: object
                  properties:
                    outcome:
                      type: string
                      enum:
                      - started
                      - queued
                      - replayed
                    startsAt:
                      type: string
                    endsAt:
                      type: string
                    cents:
                      type: integer
                - $ref: '#/components/schemas/PlanStatus'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          description: '`code: insufficient_balance`; nothing charged.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                statusCode: 402
                code: insufficient_balance
                message: the period costs 499 cents, more than your balance; top up first
                cents: 499
        '409':
          description: '`code` one of: price_changed (with `cents`), card_active, fix_payment, checkout_open, already_queued, request_conflict. Nothing charged.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: '`code: stripe_unavailable` or temporarily unavailable; nothing charged.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-requires-human-confirmation: true
components:
  schemas:
    Error:
      type: object
      description: Error body. `message` is always present; machine-readable refusals add `error` (unlock, export, subscription paths) or `code` (plan paths) plus the figures the caller needs.
      properties:
        statusCode:
          type: integer
        message:
          description: Human-readable reason (English).
          oneOf:
          - type: string
          - type: array
            items:
              type: string
        error:
          type: string
          description: Machine code, e.g. insufficient_balance, price_changed, not_unlocked, address_not_unlocked, entity_budget, not_sellable, plan_exhausted, no_plan.
        code:
          type: string
          description: Machine code on plan endpoints, e.g. insufficient_balance, price_changed, card_active, already_queued, request_conflict.
      required:
      - message
      additionalProperties: true
    PlanTier:
      type: object
      properties:
        tier:
          type: string
          enum:
          - base
          - pro
          - max
        cents:
          type: integer
          description: Monthly price.
        daily:
          type: integer
          description: Paid-band address unlocks per UTC day.
        monthly:
          type: integer
          description: Paid-band address unlocks per period.
        push:
          type: integer
          description: Wallets followed without the hourly charge.
        exports:
          type: integer
          description: Distinct wallets exported (full range) per period.
        rank:
          type: integer
        onSale:
          type: boolean
        trialDays:
          type: integer
    PlanStatus:
      type: object
      properties:
        tiers:
          type: array
          items:
            $ref: '#/components/schemas/PlanTier'
        plan:
          type:
          - object
          - 'null'
          properties:
            state:
              type: string
              enum:
              - active
              - grace
            tier:
              type: string
            source:
              type: string
              enum:
              - card
              - balance
            periodStart:
              type:
              - string
              - 'null'
            periodEnd:
              type: string
            endedAt:
              type: string
            graceUntil:
              type: string
            cancelAtPeriodEnd:
              type: boolean
            renewing:
              type: boolean
            nextTier:
              type:
              - string
              - 'null'
            queued:
              type:
              - object
              - 'null'
              properties:
                tier:
                  type: string
                startsAt:
                  type: string
                endsAt:
                  type: string
            failedPayment:
              type: boolean
            trialing:
              type: boolean
        balance:
          type: object
          properties:
            cents:
              type: integer
            periodDays:
              type: integer
        baseTrial:
          type: object
          properties:
            days:
              type: integer
            eligible:
              type: boolean
            refused:
              type: boolean
        usage:
          type: object
          properties:
            daily:
              type: integer
            dailyUsed:
              type: integer
            monthly:
              type: integer
            monthlyUsed:
              type: integer
            push:
              type: object
              properties:
                slots:
                  type: integer
                used:
                  type: integer
            exports:
              type: object
              properties:
                cap:
                  type: integer
                used:
                  type: integer
            lookups:
              type: object
              properties:
                cap:
                  type: integer
                usedToday:
                  type: integer
        trial:
          type: object
          additionalProperties: true
  responses:
    Unauthorized:
      description: No valid API key (missing, malformed, unknown or revoked).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            statusCode: 401
            message: Unauthorized
    BadRequest:
      description: Invalid parameter or body; `message` names what was expected.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: Rate limited. Per IP 240/min overall and 180/min on the board and entity routes; per account 120/min (anonymous 60/min per IP) on board, entity and market reads. A `retry-after` header may be set.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            statusCode: 429
            message: rate limited
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: 'API key `pmw_<12 hex>_<64 hex>` from https://pmwallets.com/keys. `Authorization: Bearer <key>` is accepted too.'