sifting/io
x402 · USDC on Base

Market data for AI agents, paid per call.

Call the SiftingIO market data API without an account or API key. Each request is paid in USDC on Base through the x402 protocol, from $0.002 per call, and a failed request is never charged. Forex, crypto, commodities and metals, US stocks, SEC fundamentals, technical signals, and market calendars, with the same responses as our REST API.

  • 41 endpoints
    REST data plane, pay per call
  • From $0.002
    Per successful request
  • USDC on Base
    Gasless for the buyer
  • No API key
    No account, no subscription
Capabilities

One HTTP request, one payment, the data back.

The x402 gateway at x402.sifting.io serves the SiftingIO REST data plane with payment per call instead of an API key. Paths and parameters follow the API documentation.

No account, no API key

Call any endpoint directly. An unpaid request returns HTTP 402 with the price in a PAYMENT-REQUIRED header; sign it with an x402 client and retry. That is the whole onboarding.

Charged only for successful responses

Settlement happens after the data request succeeds. Invalid parameters, unknown symbols, and server errors are never settled, so a failed call costs nothing.

The same data as the REST API

Forex including TRY pairs, crypto, commodities and metals, US stocks, SEC fundamentals, technical signals, and market calendars, with the same paths and response shapes as api.sifting.io.

On-chain receipts

Every paid response includes a PAYMENT-RESPONSE header with the Base transaction hash, so each call has a verifiable settlement record.

Discoverable by agents

Listed in the x402 Bazaar and on x402scan, with an OpenAPI document that carries per-endpoint prices, a /.well-known/x402 file, and an llms.txt guide.

Free samples before you pay

Every route has a free sample response at /samples/{operationId}, so an agent can check the output shape before it spends anything.

Capabilities

Made for software that pays its own way.

Subscriptions suit teams with steady volume. x402 suits agents and tools that need a few calls at a time, without an account. For a monthly plan with an API key, see pricing.

Built for autonomous agents

An agent with a USDC wallet can discover an endpoint, read its price, pay, and get the data in one HTTP round trip, without a human creating an account first.

Pay for what you use

A single live price costs $0.002. There is no monthly minimum, which suits agents and prototypes with occasional or unpredictable usage.

Gasless USDC payments

Payments use the x402 exact scheme with EIP-3009 authorizations: the buyer signs, the facilitator settles on Base, and the buyer pays no gas.

x402 · request

Ask for the price, then pay with any x402 client.

An unpaid request returns 402 with the payment terms. An x402 client such as @x402/fetch signs the payment and retries automatically. Agents can read the full guide in llms.txt.

unpaid request · 402
$ curl -i https://x402.sifting.io/v1/last/trade/forex/USDTRY

HTTP/2 402
payment-required: eyJ4NDAyVmVyc2lvbiI6Mi…

{
  "error": "payment_required",
  "price": "$0.002",
  "network": "eip155:8453"
}
paying client · TypeScript
import { wrapFetchWithPaymentFromConfig } from "@x402/fetch";
import { ExactEvmScheme } from "@x402/evm";
import { privateKeyToAccount } from "viem/accounts";

const pay = wrapFetchWithPaymentFromConfig(fetch, {
  schemes: [{
    network: "eip155:8453",
    client: new ExactEvmScheme(privateKeyToAccount(KEY)),
  }],
});

const res = await pay("https://x402.sifting.io/v1/last/trade/forex/USDTRY");
// 200 {"s":"USDTRY","p":"…","t":…}
// PAYMENT-RESPONSE header: settlement tx hash

Shortened for readability. The PAYMENT-REQUIRED header carries the full x402 v2 payment requirements; KEY is the private key of a wallet that holds USDC on Base. Prices shown are examples; the current list is at x402.sifting.io/catalog.

Pricing

What a call costs.

Four price points, charged per successful request in USDC. The machine-readable list with every endpoint is at x402.sifting.io/catalog.

Live and reference

$0.002USDC / call

One live read or one catalog lookup.

  • Last trade and quote
  • Currency conversion
  • Symbol catalog
  • Market status, hours, calendar
GET /v1/last/trade/forex/USDTRY

Signals and fundamentals

$0.005USDC / call

Settlement prices, derived signals and SEC reads.

  • Previous close, end-of-day bar
  • Technical signal, movers, most active
  • Filings, ratios, earnings, insiders
  • Ownership, 13F holdings, economic calendar
GET /v1/last/signals/crypto/BTCUSD

History

$0.01USDC / call

One page of bars, up to 5,000 rows.

  • Stock, forex, commodity, crypto bars
  • 1m to 1mo intervals
  • Signal history
GET /v1/hist/stocks/AAPL/bars

Heavy reads

$0.02USDC / call

Wide responses and cross-sectional queries.

  • Multi-symbol snapshot
  • XBRL financials and concept series
  • Fundamentals screener
  • Risk-factor diff
GET /v1/fnd/stocks/AAPL/financials
  • No minimum
  • Failed calls are free
  • Settled on Base
  • Receipt in every response

DEX routes are not available over x402 yet. Ask us →

FAQ

x402 access, frequently asked.

What is x402?

x402 is an open payment protocol built on the HTTP 402 Payment Required status code. A server answers an unpaid request with its price; the client signs a USDC payment and retries the same request. There are no accounts, API keys, or subscriptions involved.

Do I need a SiftingIO account or API key?

No. The x402 gateway at x402.sifting.io needs only a wallet that holds USDC on Base. If you prefer an API key with a monthly plan, the regular API at api.sifting.io and the plans on the pricing page remain available.

Which network and token does it use?

USDC on Base mainnet, using the x402 exact payment scheme (EIP-3009). The buyer signs an authorization and pays no gas; settlement runs through the Coinbase Developer Platform facilitator.

What happens if a request fails?

You are not charged. The payment is settled only after the data request succeeds. Invalid parameters, unknown symbols, and server errors return a 4xx or 5xx response and the payment is never settled.

Is the data the same as the regular API?

Yes. The gateway serves the SiftingIO REST data plane with the same paths, parameters, and response shapes, so the documentation applies unchanged. Only authentication differs: payment per call instead of an API key.

Which endpoints are available, and what do they cost?

Live and historical prices for forex, crypto, commodities and metals, and US stocks; SEC fundamentals; technical signals; market hours and calendars; and the US economic calendar. Calls cost from $0.002 to $0.02. The machine-readable price list is at x402.sifting.io/catalog. DEX routes are not available over x402 yet.

How do AI agents find the service?

The gateway is listed in the x402 Bazaar and on x402scan, and publishes an OpenAPI document with per-endpoint prices, a /.well-known/x402 discovery document, an llms.txt guide, and a free sample response for every route.

How do I get a receipt for a payment?

Every paid response carries a PAYMENT-RESPONSE header with the on-chain transaction hash, which you can look up on any Base block explorer.

x402 · USDC on Base · No API key

Start with one paid call.

Point an x402 client at x402.sifting.io, or let your agent discover the service in the x402 Bazaar. Prefer an API key and a monthly plan? The regular API is one sign-up away.