X

X402stock · Conditions

by X402stock

GETBase

$0.01

per call · USD Coin on Base

Reference catalog of trade/quote condition codes (the numeric `conditions` seen on trades) with names, types, data types, and SIP mappings. From x402stock, a pay-per-call market & economic data API for AI agents. No API key or account; pay in USDC via x402.

Endpoint

GET https://x402stock.vercel.app/api/v1/conditions

1

Calls / 30d

1

Unique payers / 30d

Aug 30

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://x402stock.vercel.app/api/v1/conditions", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://x402stock.vercel.app/api/v1/conditions?limit=50" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "as_of": "2026-05-29T20:00:00.000Z",
  "conditions": [
    {
      "data_types": [
        "trade"
      ],
      "id": 1,
      "name": "Acquisition",
      "sip_mapping": {
        "UTP": "A"
      },
      "type": "sale_condition"
    }
  ],
  "count": 1,
  "source": "x402stock"
}

Payment details

Pay to0x3070fbb3803819fb5bdfe9286fdc6325a877fa85
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Developer Tools and the homepage with a featured placement.

Get featured →

More from X402stock & similar services