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/wickedapi-com:wickedapi-com-markets-macro-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: 3.2.0
info:
title: Trading Data Markets & Macro 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: Markets & Macro
description: Kalshi prediction markets, macro event calendar
paths:
/v1/kalshi-probability:
get:
operationId: get_v1_kalshi_probability
summary: Free, no signup required
description: 'Free, no signup required. Kalshi prediction-market probabilities. Query by category (returns the most active open markets) or a specific market ticker.
**Example:** `/v1/kalshi-probability?category=crypto`'
tags:
- Markets & Macro
parameters:
- name: category
in: query
required: true
description: 'Optional. One of: crypto, macro, fed-rate, financials, politics, sports, world, companies, climate, science, health, entertainment, elections. Either category or ticker is required.'
schema:
type: string
- name: ticker
in: query
required: false
description: Optional. A specific Kalshi market ticker (e.g. KXBTCD-...).
schema:
type: string
- name: limit
in: query
required: false
description: Optional. Max markets to return for a category query (default 25, max 100).
schema:
type: number
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/Envelope'
'502':
$ref: '#/components/responses/UpstreamError'
security: []
/v1/kalshi-market:
get:
operationId: get_v1_kalshi_market
summary: 'Single Kalshi market depth: orderbook (yes/no levels) + recent trades for a…'
description: 'Single Kalshi market depth: orderbook (yes/no levels) + recent trades for a specific ticker.
**Example:** `/v1/kalshi-market?ticker=KXBTCD-26JUN1315-T64099.99`'
tags:
- Markets & Macro
parameters:
- name: ticker
in: query
required: true
description: Required. A Kalshi market ticker (e.g. KXBTCD-26JUN1315-T64099.99).
schema:
type: string
- name: depth
in: query
required: false
description: Optional. Orderbook depth per side (default 10, max 100).
schema:
type: number
- name: trades
in: query
required: false
description: Optional. Recent trades to return (default 20, max 100).
schema:
type: string
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: {}
/v1/macro-calendar:
get:
operationId: get_v1_macro_calendar
summary: Free, no signup required
description: 'Free, no signup required. Upcoming US macro events (FOMC rate decisions, CPI, jobs report) with verified Fed/BLS dates, days-until, and Kalshi rate-decision odds (cut/hold/hike) for FOMC meetings.
**Example:** `/v1/macro-calendar`'
tags:
- Markets & Macro
parameters:
- name: days
in: query
required: false
description: Optional. Only events within the next N days.
schema:
type: number
- name: type
in: query
required: false
description: Optional. Filter to FOMC, CPI, or NFP.
schema:
type: string
enum:
- FOMC
- CPI
- NFP
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'
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.