Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
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.
openapi: 3.2.0
info:
title: Trading Data Polymarket API
version: 1.0.0-mvp
description: 'Agent-ready trading, market-data and on-chain API. 29 endpoints across crypto/stock prices & OHLCV, indicators (ATR, Fair Value Gaps, ICT liquidity levels), perp funding/OI, order books, Kalshi prediction markets, DeFi TVL, volatility, a verified macro calendar, an AI momentum score, and on-chain reads (balances, token balances, nonces, blocks, ENS, transactions) on 5 EVM chains.
**Access — two ways, both work on every /v1 endpoint:**
1. **API key** — send an `x-api-key` header for free, rate-limited access.
2. **x402 pay-per-call** — no signup: call any endpoint with no key, receive a `402` with a USDC price (currently $0.001/request on base), pay via an x402 client, and get `200` + data. Settled on-chain via the Coinbase CDP facilitator.'
x-guidance: All endpoints are GET /v1/<name> with query parameters (see each operation). Free endpoints (/v1/status, /v1/sentiment, /v1/macro-calendar, /v1/market-overview, /v1/gas, /v1/kalshi-probability) need no payment. Every other /v1 endpoint returns a 402 x402 (v2) challenge in the PAYMENT-REQUIRED header with a flat price of $0.001 USDC per request on Base; pay with an x402 client and retry the same request. Start with GET /v1/status for the full catalog.
contact:
url: https://api.wickedapi.com
termsOfService: https://api.wickedapi.com/
servers:
- url: https://api.wickedapi.com
description: Production
tags:
- name: Polymarket
paths:
/v1/polymarket:
get:
operationId: get_v1_polymarket
summary: 'Polymarket prediction markets with live probabilities: question, per-outcome…'
description: 'Polymarket prediction markets with live probabilities: question, per-outcome probability, 24h and total volume, liquidity, best bid/ask, one-day price change and end date. Top markets by volume, liquidity or soonest end, or free-text search.
**Example:** `/v1/polymarket?q=bitcoin&limit=5`'
tags:
- Polymarket
parameters:
- name: q
in: query
required: false
description: Optional. Free-text search, e.g. bitcoin, fed rate, election.
schema:
type: string
- name: sort
in: query
required: false
description: Optional. volume (default), liquidity or ending. Ignored when q is set.
schema:
type: string
- name: limit
in: query
required: false
description: Optional. 1-25 (default 10).
schema:
type: number
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/Envelope'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/PaymentRequired'
'429':
$ref: '#/components/responses/RateLimited'
'502':
$ref: '#/components/responses/UpstreamError'
security:
- ApiKeyAuth: []
- {}
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.001000'
protocols:
- x402: {}
components:
responses:
UpstreamError:
description: Upstream data error — never fabricated data, a real source failure
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
RateLimited:
description: Rate limit exceeded (keyed access)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Unauthorized:
description: Missing or invalid x-api-key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
PaymentRequired:
description: No valid x-api-key — pay per call via x402 (USDC on Base). See the `accepts` array for exact price/network/payTo.
content:
application/json:
schema:
$ref: '#/components/schemas/X402Challenge'
schemas:
Envelope:
type: object
required:
- data
- meta
properties:
data:
type: object
description: Endpoint-specific payload.
meta:
type: object
required:
- timestamp
properties:
timestamp:
type: string
format: date-time
additionalProperties: true
X402Challenge:
type: object
description: x402 v2 payment challenge. The base64-encoded challenge is in the PAYMENT-REQUIRED response header (decode to JSON with x402Version 2 and an `accepts` array); sign it and retry with a PAYMENT-SIGNATURE header. The response body is not the challenge.
properties: {}
additionalProperties: true
Error:
type: object
properties:
error:
type: string
source:
type: string
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: x-api-key
description: Free, rate-limited access.