nightshift-x402.nightshift-labs.workers.dev
nightshift-x402.nightshift-labs.workers.dev
x402 seller preflight: check a paid endpoint BEFORE paying. Probes it unpaid, parses the 402 (v2 header or v1 body) and checks each option: scheme, network, asset is real USDC on Base, EIP-712 name/version match on-chain, payTo not a burn address, amount, timeout, discovery metadata. Plus on-chain seller reputation: USDC payments to payTo over 1-7 days (distinct payers, total, last payment). Retur
- Category
- Service
- Networks
- Base
- Starting price
- $0.003
- Paid calls, 30 days
- 18
- Payers, 30 days
- 1
How to pay
Call an endpoint, read the price in the 402 answer, and pay from your own wallet with any x402 client on Base. The payment goes straight to the provider: Autonomo lists this API but isn't part of the payment. See The x402 directory.
Paid endpoints
18 endpoints, sorted by usage. Prices are per request.
| Endpoint | Price | Network | Facilitator | Calls / 30d |
|---|---|---|---|---|
GET/v1/base/balance Base wallet balances: native ETH and USDC for any address, with the block number they were read at. | $0.005 | Base | Coinbase CDP | 1 |
GET/v1/base/gas Base gas snapshot: gas price, base fee, priority fee, 10-block base-fee trend, ETH/USD (Chainlink) and estimated USD cost of an ETH transfer, ERC-20 transfer, swap and contract deploy right now. | $0.005 | Base | Coinbase CDP | 1 |
GET/v1/base/portfolio Base wallet portfolio: ETH plus 12 major Base tokens (USDC, USDbC, DAI, EURC, WETH, cbETH, wstETH, cbBTC, AERO, DEGEN, VIRTUAL, BRETT) with non-zero balances, USD values from Chainlink ETH/USD and BTC/USD feeds, and a total. | $0.01 | Base | Coinbase CDP | 1 |
GET/v1/base/token-check Base token safety pre-check: name/symbol/decimals/supply, owner and renounce status, proxy implementation, privileged functions found in bytecode (mint, blacklist, pause, fee setters, upgrade) and a heuristic risk level. Call before buying or accepting an unknown token on Base. |
Is this your project? Suggest an edit.