← gentechlabs.net Generated from the live manifest · 10 services

The 402 is the quote, not an error.

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.

1 · The loop

RequestCall any paid route with no payment. The answer is 402 with the price, the asset, the payTo address and the rails accepted.
That is the quoteNothing is charged. An unpaid 402 is how we tell you the price — it is not a failure.
PaySign a USDC transfer authorisation on Base for the quoted amount. No gas, no approval, no wallet connect.
RetryRepeat the identical request with the signed proof in PAYMENT-SIGNATURE. You get 200 and the data.
Never charged for a call we cannot serve: an unservable route answers 503 with a reason before any challenge is issued.

2 · Copy-paste: see the quote

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"
      }
    }
  ]
}

3 · JavaScript — the whole loop in eight lines

// 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());

4 · Agents: MCP

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.

5 · The services

Every entry below is generated from the same manifest the 402 comes from. Prices are what you are actually charged, not a range.

Token Risk Score

$0

Score any token before you swap

GET /v1/defender/classify/43114/0x8e53ad52980478794bb5b459b7cbdd836975e4cb
Known failure modes
  • Unknown chain id → 400 with the chain you sent; only 8453, 43114, 196 and 1 are wired
  • Token not a contract on that chain → KNOWN verdict with no reasons, not an error
  • Backend down → 503 BEFORE any payment challenge; you are never charged

LP Position Analytics

$0

Where a liquidity position sits, its active bin range, fees earned, and whether it is in range right now

GET /v1/defi/lp/0x7ebff188f2Eba16518C02864589b1403a5d1296a
Known failure modes
  • Unservable route → 503 with a reason BEFORE the challenge (never a paid failure)

Wallet Portfolio

$0

Balances and positions for any address across chains, valued in USD

GET /v1/wallet/portfolio/0x7ebff188f2Eba16518C02864589b1403a5d1296a
Known failure modes
  • Unservable route → 503 with a reason BEFORE the challenge (never a paid failure)

Agent Registry Search

$0

Find registered AI agents by capability, chain, or x402 support

GET /v1/agents/search?q=agent
Known failure modes
  • Unservable route → 503 with a reason BEFORE the challenge (never a paid failure)

Price and Market Data

$0

Live price and market state for a symbol, sourced from live exchange data

GET /v1/market/price/ETH
Known failure modes
  • Unknown symbol → 404 with the supported list
  • Rate-limited upstream → 200 with `stale: true` and the price as of `asOf`

Contract Safety Check

$0

Rug-check a token contract: mint authority, proxy and upgrade rights, owner privileges, LP lock state, and tradeability

GET /v1/security/score/EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
Known failure modes
  • Unservable route → 503 with a reason BEFORE the challenge (never a paid failure)

Asset Provenance

$0

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)
Known failure modes
  • Unservable route → 503 with a reason BEFORE the challenge (never a paid failure)

NFT Collection Search

$0

Search NFT collections and assets by name, contract, or chain

GET /v1/nft/search?q=ape
Known failure modes
  • Unservable route → 503 with a reason BEFORE the challenge (never a paid failure)

Gas Price

$0

Current gas price in gwei for Ethereum, Base and Polygon, sourced from live RPC

GET /v1/gas/gas
Known failure modes
  • Chain not wired → 400 naming the chains we serve
  • Upstream slow → last known gwei with `asOf`

ETF Flow Regime

$0

Bitcoin, Ethereum and Solana ETF net flows from settled SoSoValue data, with a falsifiable regime label (ACCUMULATING / DISTRIBUTING / FLAT)

GET /v1/flow/etf/BTC
Known failure modes
  • Unknown asset symbol → 404 asset_unknown (BTC, ETH, SOL only)
  • Upstream settled-data lag → values are the last settled day, `asOf` says which
  • Withheld route → 503 before the challenge, never a paid 500

6 · Known failure modes, stated up front

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:

7 · Discovery surfaces

8 · Getting listed elsewhere

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 →

9 · What we do not claim

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.