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:

  1. The server responds with 402 Payment Required and the price
  2. Your wallet signs a payment authorization
  3. The request is retried with the payment header
  4. You receive your data

All of this happens automatically in ~200ms.

Available APIs

Future APIs

NOAA Weather

coming soon

Forecasts, alerts, and historical weather data

Treasury Fiscal

coming soon

Federal debt, spending, and revenue data

BLS Statistics

coming soon

Employment, wages, CPI, and labor market data

USPTO Patents

coming soon

Patent filings, assignees, and invention metadata

Census Data

coming soon

Population, housing, and demographic statistics