Utility API endpoints — pay-per-call, no accounts, no API keys.
Website: pyfile-toolkit.github.io — overview, pricing and discovery across x402 (USDC), Lightning (L402) and Nano.
A small set of deterministic utility endpoints that an agent can buy one call at a time. An unpaid request returns HTTP 402 with machine-readable payment terms; pay and retry.
| Endpoint | What it returns |
|---|---|
GET /data/hash |
SHA-256 / SHA-512 / keccak-256 of a string |
GET /data/hmac |
HMAC (sha256/sha512) |
GET /data/encode |
Base64 / hex / URL encoding |
GET /data/decode |
Base64 / hex / URL decoding |
GET /data/abi |
Ethereum function-selector lookup |
GET /data/bolt11/decode |
Decode a Lightning BOLT11 invoice |
GET /data/dns |
DNS-over-HTTPS lookup |
GET /data/whois |
Domain registration (RDAP) |
GET /data/ip |
IP geolocation |
GET /data/url |
URL metadata |
GET /data/ct |
Certificate transparency |
GET /data/network/status |
Block heights / node status |
GET /data/crypto |
Crypto spot prices |
GET /data/crypto/history |
Token price history |
GET /data/crypto/trending |
Trending coins |
GET /data/defi/yields |
DeFi yield pools (DefiLlama) |
GET /data/fx |
FX rates |
GET /data/gas/base |
Base L2 gas price |
GET /data/wallet/balance |
EVM wallet native balance |
GET /data/btc/fees |
Bitcoin fee estimates |
GET /data/btc/address |
Bitcoin address balance |
GET /data/wiki |
Wikipedia summary |
GET /data/weather |
Current weather (Open-Meteo) |
GET /data/hn/top |
Hacker News top stories |
GET /data/github/trending |
GitHub repos by stars |
GET /data/npm |
npm weekly downloads |
Free: GET /health, GET /openapi.json, GET /.well-known/x402.
- x402 — USDC on Base, Polygon or Arbitrum. Unpaid request returns
402with apayment-requiredheader (base64 JSONaccepts[]). - Lightning (L402) — the
GETvariants return aWWW-Authenticate: L402challenge with a BOLT11 invoice. - Nano (XNO) —
402carriespay_to,price_rawandquote=sha256(body).
Part of pyfile-toolkit. Related: nano-llm-api, l402-llm-mcp.