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 Keys 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: Keys
paths:
/v1/keys/message:
get:
operationId: get_v1_keys_message
summary: 'Free API key, step 1: get the exact message to sign for a wallet'
description: 'Free API key, step 1: get the exact message to sign for a wallet. No funds needed; any wallet you control works (including smart-contract wallets).
**Example:** `/v1/keys/message?wallet=0x0000000000000000000000000000000000000001`'
tags:
- Keys
parameters:
- name: wallet
in: query
required: true
description: Required. The 0x wallet address that will sign and own the key.
schema:
type: string
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/Envelope'
'502':
$ref: '#/components/responses/UpstreamError'
security: []
/v1/keys:
post:
operationId: post_v1_keys
summary: 'Free API key, step 2: send the wallet, the message from step 1 and its EIP-191…'
description: 'Free API key, step 2: send the wallet, the message from step 1 and its EIP-191 signature to receive a key (shown once). One key per wallet; signing again rotates it. Each key gets a daily credit budget and a per-minute limit on paid endpoints; when credits run out the endpoint returns the normal x402 payment challenge.'
tags:
- Keys
parameters: []
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- wallet
- message
- signature
properties:
wallet:
type: string
description: The 0x wallet address that signed.
message:
type: string
description: The message returned by GET /v1/keys/message, unchanged.
signature:
type: string
description: 0x EIP-191 personal_sign signature of the message.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/Envelope'
'502':
$ref: '#/components/responses/UpstreamError'
security: []
/v1/keys/self:
get:
operationId: get_v1_keys_self
summary: 'Your free key''s usage today: credits used and remaining, calls, and limits'
description: 'Your free key''s usage today: credits used and remaining, calls, and limits. Send the key in the x-api-key header. DELETE the same path to revoke the key.'
tags:
- Keys
parameters: []
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/Envelope'
'502':
$ref: '#/components/responses/UpstreamError'
security: []
components:
responses:
UpstreamError:
description: Upstream data error — never fabricated data, a real source failure
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
schemas:
Error:
type: object
properties:
error:
type: string
source:
type: string
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
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: x-api-key
description: Free, rate-limited access.