Payment-gated macro economic intelligence: FRED data, prediction markets, and X/Twitter sentiment via x402 USDC.
What it does
The `/alpha/macro` endpoint on the x402 Meta Gateway returns structured macroeconomic intelligence synthesized from multiple live sources including FRED (Federal Reserve Economic Data), prediction markets (Polymarket, Kalshi), and X/Twitter sentiment. It accepts an optional `theme` query parameter to focus on a specific macro topic such as inflation, rates, employment, recession, energy, housing, trade, markets, consumer spending, debt, manufacturing, wages, credit, crypto, money supply, currency, financial stress, commodities, banking, or a general overview.
The endpoint is part of a broader suite of 14+ crypto and macro intelligence endpoints served by the x402 Meta Gateway at x402.911fund.io. Payment is handled via the x402 protocol: each call costs $0.05 USDC (50,000 base units with 6 decimals), payable on either Base (EIP-155:8453) or Solana mainnet. The gateway returns JSON response envelopes that include metadata such as request ID, sources used, confidence score, time window, and warnings. Upstream data providers include CoinGecko, DexScreener, Alchemy, Helius, Grok AI, Exa, Firecrawl, Claude, Polymarket, Kalshi, and FRED.
The API uses a trust-first validation model: if the query lacks sufficient context, it returns a 422 with a clarification request and does not charge. Error responses follow a structured ErrorEnvelope schema with typed error codes (invalid_params, needs_clarification, unsupported, rate_limited, upstream_failed, timeout, internal). The endpoint is also accessible via MCP (Model Context Protocol) as the `alpha_macro` tool at the `/mcp` JSON-RPC endpoint.
Capabilities
Use cases
- —Autonomous trading agents querying real-time macro conditions before executing trades
- —Research dashboards pulling structured inflation, rates, and employment data
- —AI agents monitoring Fed policy signals and prediction market odds for rate decisions
- —Portfolio rebalancing bots incorporating macro regime detection
- —Analysts comparing market-implied recession probabilities with official economic data
Fit
Best for
- —AI agents needing structured macro data in a single API call
- —Developers wanting pre-aggregated FRED + prediction market + sentiment data
- —Crypto-native applications that can pay per-call with USDC on Base or Solana
- —MCP-compatible agent frameworks seeking macro intelligence tools
Not for
- —Applications requiring free or API-key-based access without crypto payments
- —Historical time-series bulk data downloads (this returns point-in-time intelligence, not raw FRED series)
- —Non-programmatic users who just want a chat interface (use the x402scan chat UI instead)
Quick start
curl -X GET "https://x402.911fund.io/alpha/macro?theme=inflation" \
-H "X-PAYMENT: <x402_payment_token>"Example
Request
{
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"theme": "inflation"
}
}
}Endpoint
Quality
Full OpenAPI 3.1 schema with detailed path definitions, live 402 challenge confirming the endpoint is operational, clear pricing ($0.05 USDC), and a well-documented landing page. Deducted because no example 200 response body schema is provided in the OpenAPI spec (only 'description: Success'), and /docs returns 404.
Warnings
- —No 200 response schema defined in OpenAPI — the structure of successful responses must be inferred from the landing page example for /alpha/token
- —The /docs, /api, /pricing, and /README paths all return 404; documentation lives only on the landing page
- —Response body structure for /alpha/macro specifically is not documented anywhere in the crawl material
Citations
- —The /alpha/macro endpoint costs $0.05 USDC per callhttps://x402.911fund.io
- —Payment is accepted on Base (EIP-155:8453) and Solana mainnet via x402 protocolhttps://x402.911fund.io
- —The theme parameter supports 20 values including inflation, rates, employment, recession, etc.https://x402.911fund.io
- —Upstream sources include FRED, Polymarket, Kalshi, and X/Twitterhttps://x402.911fund.io
- —The amount 50000 in base units with USDC (6 decimals) equals $0.05https://x402.911fund.io
- —The endpoint is also available as alpha_macro MCP tool at /mcphttps://x402.911fund.io
- —OpenAPI spec version 3.1.0 titled 'x402 Meta Gateway API' describes the full endpoint suitehttps://x402.911fund.io