Pay-per-call HTTP data for AI agents. No account, no API key, no signup. You read a price in a 402, you pay it in USDC on Base, you get the data. That is the whole contract.
402 with the price, the asset, the payTo address and the rails accepted.PAYMENT-SIGNATURE. You get 200 and the data.503 with a reason
before any challenge is issued.curl -i https://api.gentechlabs.net/v1/flow/etf/BTC
# HTTP/2 402
# payment-required: (base64 of the JSON below)
# {
# "x402Version": 2,
# "accepts": [{
# "scheme": "exact",
# "network": "eip155:8453",
# "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", // USDC on Base
# "amount": "15000", // 6dp → $0.015
# "payTo": "0x7ebff188f2Eba16518C02864589b1403a5d1296a"
# }]
# }
A real challenge, captured from the live route when this page was built.
{
"x402Version": 2,
"resource": {
"url": "https://api.gentechlabs.net/v1/flow/etf/BTC/",
"description": "Bitcoin, Ethereum and Solana ETF net flows from settled SoSoValue data, with a falsifiable regime label (ACCUMULATING / DISTRIBUTING / FLAT). Returns 7- and 30-day net flows per asset. Call it when an agent needs a stated market regime it can later be scored against.",
"mimeType": "application/json",
"serviceName": "ETF Flow Regime",
"tags": [
"etf-flows",
"etf",
"bitcoin-etf",
"market-regime",
"flows",
"x402"
],
"iconUrl": "https://gentechlabs.net/gentech-logo.png"
},
"accepts": [
{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "15000",
"payTo": "0x7ebff188f2Eba16518C02864589b1403a5d1296a",
"maxTimeoutSeconds": 300,
"extra": {
"name": "USD Coin",
"version": "2",
"assetTransferMethod": "eip3009"
}
}
]
}
// npm i x402-fetch
import { wrapFetchWithPayment } from "x402-fetch";
const payFetch = wrapFetchWithPayment(fetch, walletClient); // your viem wallet, USDC on Base
const res = await payFetch("https://api.gentechlabs.net/v1/flow/etf/BTC");
console.log(await res.json());
POST https://api.gentechlabs.net/mcp
{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18"}}
{"jsonrpc":"2.0","id":2,"method":"tools/list"}
{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"gentech_list_services","arguments":{}}}
Call gentech_list_services first — it returns every tool, its price and its parameters.
The MCP handshake is free. Only a tools/call that maps to a paid route costs anything.
Every entry below is generated from the same manifest the 402 comes from. Prices are what you are actually charged, not a range.
Score any token before you swap
GET /v1/defender/classify/43114/0x8e53ad52980478794bb5b459b7cbdd836975e4cb
Where a liquidity position sits, its active bin range, fees earned, and whether it is in range right now
GET /v1/defi/lp/0x7ebff188f2Eba16518C02864589b1403a5d1296a
Balances and positions for any address across chains, valued in USD
GET /v1/wallet/portfolio/0x7ebff188f2Eba16518C02864589b1403a5d1296a
Find registered AI agents by capability, chain, or x402 support
GET /v1/agents/search?q=agent
Live price and market state for a symbol, sourced from live exchange data
GET /v1/market/price/ETH
Rug-check a token contract: mint authority, proxy and upgrade rights, owner privileges, LP lock state, and tradeability
GET /v1/security/score/EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
Trace where a token or dataset came from and what depends on it
GET /v1/lineage/guard?urn=urn:li:dataset:(urn:li:dataPlatform:powerbi,b2fd91.datahub_order_entries.Customer_Analytics_Measures,PROD)
Search NFT collections and assets by name, contract, or chain
GET /v1/nft/search?q=ape
Current gas price in gwei for Ethereum, Base and Polygon, sourced from live RPC
GET /v1/gas/gas
Bitcoin, Ethereum and Solana ETF net flows from settled SoSoValue data, with a falsifiable regime label (ACCUMULATING / DISTRIBUTING / FLAT)
GET /v1/flow/etf/BTC
An agent that knows how a call fails can handle it instead of retrying in a loop. Each service above lists its own. Fleet-wide, three rules hold:
402 parameter_required with a retry_with.asOf. We would rather date a number than hide that it is old.If you are publishing your own pay-per-call API and want to know where to put it: five directories, what each one actually requires, and the two commands that test a listing without asking anyone's permission. Where to list an x402 API →
We publish our own numbers, including the uncomfortable ones: this is a small catalogue, the prices are low, and the evidence you should weigh is the published manifest and the live 402s — not a customer story. Verify any route above with one unpaid call.