API Documentation
Complete API reference for Redcent. Every endpoint uses x402 for payment—no API keys or accounts required.
Introduction
Redcent provides pay-per-use APIs for AI agents and developers. Instead of managing API keys, rate limits, and subscriptions, you simply pay for each request using the x402 protocol.
Every API call costs 1¢ or less, paid in USDC on the Base network. Payments settle in ~200ms.
Authentication
Redcent uses the x402 protocol for authentication and payment. Instead of API keys, you include a signed payment token with each request.
# Every request includes a payment header curl "https://api.redcent.io/companies/AAPL" \ -H "X-PAYMENT: <signed-payment-token>"
The x402 client libraries handle this automatically. When you make a request:
- The server responds with
402 Payment Requiredand the price - Your wallet signs a payment authorization
- The request is retried with the payment header
- You receive your data
All of this happens automatically in ~200ms.
Available APIs
SEC EDGAR
liveCompany filings, financial statements, and full-text search across SEC data
NOAA Weather
coming soonForecasts, alerts, and historical weather data
Treasury Fiscal
coming soonFederal debt, spending, and revenue data
BLS Statistics
coming soonEmployment, wages, CPI, and labor market data