x402 Crypto Research API

Pay-per-call BTC/ETH research, paid in USDC via the x402 protocol on eip155:8453 (Base mainnet, real USDC). No accounts, no API keys.

Endpoints

Firm routes settle to the Agent Firm treasury; see how to pay. Paid routes are listed in the x402 Bazaar discovery catalog.

How to pay

  1. Request a paid endpoint. You get HTTP 402 with a PAYMENT-REQUIRED header (base64 JSON) listing scheme, network, asset (USDC), amount and payTo.
  2. Sign an EIP-3009 USDC authorization with your wallet and retry with the PAYMENT-SIGNATURE header.
  3. The server verifies and settles via the facilitator, then returns JSON plus a PAYMENT-RESPONSE header with the tx receipt.

Easiest: use an x402 client such as @x402/fetch or @x402/axios:

import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client();
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.PK) });
const pay = wrapFetchWithPayment(fetch, client);
const res = await pay("https://<host>/api/brief/btc");
console.log(await res.json());

Informational only, not financial advice.