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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/pmwallets-com:pmwallets-com-unlocks-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
openapi: 3.2.0
info:
title: PMWallets Unlocks 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: Unlocks
description: Buying the address behind a handle.
paths:
/v1/account/reveals:
post:
operationId: unlockEntity
tags:
- Unlocks
summary: Buy an entity's address
security:
- ApiKeyAuth: []
description: 'CHARGES THE BALANCE the entity''s band price (0 = free) and returns its address. Send the handle and maxPriceCents, the price shown (higher now: 409 price_changed, nothing charged). Paid unlocks are permanent. viaPlan uses the plan allowance instead. Spends 1 daily distinct-entity unit.'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- entityId
- maxPriceCents
properties:
entityId:
type: string
description: The 12-character handle from the board. A raw address is refused (400) unless you already own it.
maxPriceCents:
type: integer
minimum: 0
description: 'Ceiling in cents: the price you were shown. 0 is a real cap (free band).'
viaPlan:
type: boolean
description: Unlock from the active plan allowance instead of buying.
example:
entityId: 7KQ2MF9X4B1C
maxPriceCents: 100
responses:
'201':
description: 'Unlocked, or already owned (alreadyOwned: true, nothing charged). HTTP 201. A free unlock lasts only while the wallet stays in the free band.'
content:
application/json:
schema:
$ref: '#/components/schemas/UnlockResult'
'400':
description: Missing/invalid maxPriceCents, unknown handle, or a raw address you do not own.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
description: '`error: insufficient_balance` with priceCents and balanceCents; nothing charged.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
statusCode: 402
error: insufficient_balance
message: not enough balance to unlock this address; top up and retry
priceCents: 100
balanceCents: 20
'403':
description: Daily distinct-entity limit reached.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Entity is not in any published window.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: '`error: price_changed` (priceCents, agreedCents) or `error: plan_exhausted` (limit, priceCents). Nothing charged.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
statusCode: 409
error: price_changed
message: this wallet moved to another price band since the page loaded; confirm the new price
priceCents: 150
agreedCents: 100
'503':
$ref: '#/components/responses/Unavailable'
x-requires-human-confirmation: true
get:
operationId: listUnlocks
tags:
- Unlocks
summary: Addresses you have unlocked
security:
- ApiKeyAuth: []
description: 'Your unlock receipts, newest payment first (up to 500). A lapsed free unlock shows its handle, `entitled: false` and the price to take it back.'
responses:
'200':
description: OK
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Unlock'
'401':
$ref: '#/components/responses/Unauthorized'
components:
schemas:
UnlockResult:
type: object
properties:
entityId:
type: string
description: The full 0x address.
label:
type: string
priceCents:
type: integer
description: Charged now (0 when free, from the plan, or already owned).
alreadyOwned:
type: boolean
description: You already had it; nothing was charged.
viaPlan:
type: boolean
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
Unlock:
type: object
properties:
entityId:
type: string
description: Address while entitled; handle when a free unlock has lapsed.
label:
type: string
chain:
type: integer
priceCents:
type: integer
description: What was paid (0 = free unlock).
entitled:
type: boolean
description: false = a free unlock whose wallet has since moved into a paid band.
revealCents:
type: integer
description: 'Only when not entitled: the price to take it back.'
createdAt:
type: string
format: date-time
paidAt:
type:
- string
- 'null'
format: date-time
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
Unavailable:
description: Temporarily unavailable; nothing was charged. Retry shortly.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
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.'