x402 protocol · USDC on Base · no signup
Pay for any tool call. No account required.
Your agent gets an HTTP 402, signs a payment, retries — done. No accounts, no API keys, no monthly plans. Prices from $0.002 to $0.015 per call.
$ curl https://api.geekvault.dev/dev-tools/v1/hash?text=hi
HTTP/2 402 Payment Required
payment-required: eyJ4NDAyVmVyc2lvbiI6Mi...
# agent signs, retries with PAYMENT-SIGNATURE header
HTTP/2 200 OK
{"algo":"sha256","hash":"8f434346..."}How it works
Request
Your agent hits any endpoint. No API key, no header, nothing to configure first.
402 + sign
Server replies 402 with the price. Your x402-aware client signs a payment authorization — no gas, no wallet popup.
Retry, get result
Same request, now with the signed payment attached. Settles on Base, returns your actual result.
Catalog
6 categories of tools. Prices in USDC, per call.
Dev Tools
dev-tools/v1Hash, HMAC, TOTP, UUID/ULID, JSON, JWT, regex, cron, calculator, unit/CIDR converters — CPU-only utilities, instant.
| Method | Route | Price |
|---|---|---|
| GET | /dev-tools/v1/hash | $0.002 |
| GET | /dev-tools/v1/uuid-generate | $0.002 |
| POST | /dev-tools/v1/json-format | $0.002 |
| POST | /dev-tools/v1/json-validate | $0.002 |
| GET | /dev-tools/v1/jwt-decode | $0.002 |
| POST | /dev-tools/v1/regex-test | $0.002 |
| GET | /dev-tools/v1/cron-explain | $0.002 |
| GET | /dev-tools/v1/hmac | $0.002 |
| GET | /dev-tools/v1/base64 | $0.002 |
| GET | /dev-tools/v1/hex | $0.002 |
| GET | /dev-tools/v1/totp | $0.002 |
| GET | /dev-tools/v1/ulid-generate | $0.002 |
| GET | /dev-tools/v1/password-generate | $0.002 |
| GET | /dev-tools/v1/calculate | $0.002 |
| GET | /dev-tools/v1/statistics | $0.002 |
| GET | /dev-tools/v1/unit-convert | $0.002 |
| GET | /dev-tools/v1/cidr-calculate | $0.002 |
| GET | /dev-tools/v1/loan-calculate | $0.002 |
Image Tools
img-tools/v1Resize, convert, crop, QR codes, EXIF, color extraction.
| Method | Route | Price |
|---|---|---|
| POST | /img-tools/v1/strip-exif | $0.002 |
| POST | /img-tools/v1/metadata | $0.002 |
| GET | /img-tools/v1/qr-generate | $0.002 |
| POST | /img-tools/v1/qr-decode | $0.002 |
| POST | /img-tools/v1/resize | $0.002 |
| POST | /img-tools/v1/dominant-colors | $0.003 |
| POST | /img-tools/v1/crop | $0.003 |
| POST | /img-tools/v1/rotate | $0.003 |
| POST | /img-tools/v1/convert | $0.003 |
Docs Tools
docs-tools/v1PDF metadata, OCR, markdown conversion.
| Method | Route | Price |
|---|---|---|
| POST | /docs-tools/v1/pdf-metadata | $0.002 |
| POST | /docs-tools/v1/to-markdown | $0.003 |
| POST | /docs-tools/v1/ocr | $0.010 |
Network Tools
net-tools/v1DNS, WHOIS, SSL, ping, traceroute, port scan, blacklist checks.
| Method | Route | Price |
|---|---|---|
| GET | /net-tools/v1/dns-lookup | $0.002 |
| GET | /net-tools/v1/ssl-check | $0.002 |
| GET | /net-tools/v1/headers-audit | $0.002 |
| GET | /net-tools/v1/redirect-trace | $0.002 |
| GET | /net-tools/v1/email-auth-check | $0.002 |
| GET | /net-tools/v1/asn-lookup | $0.003 |
| GET | /net-tools/v1/whois-lookup | $0.003 |
| GET | /net-tools/v1/blacklist-check | $0.004 |
| GET | /net-tools/v1/cdn-fingerprint | $0.004 |
| GET | /net-tools/v1/ping | $0.005 |
| GET | /net-tools/v1/traceroute | $0.008 |
| GET | /net-tools/v1/port-scan | $0.010 |
Web Tools
web-tools/v1Screenshots, PDF export, article extraction, tech detection, broken links.
| Method | Route | Price |
|---|---|---|
| GET | /web-tools/v1/metadata | $0.003 |
| GET | /web-tools/v1/tech-detect | $0.003 |
| GET | /web-tools/v1/screenshot | $0.002 |
| GET | /web-tools/v1/extract-article | $0.005 |
| GET | /web-tools/v1/broken-links | $0.010 |
| GET | /web-tools/v1/pdf-export | $0.010 |
AI Tools
ai-tools/v1Text embeddings, image captioning, audio transcription — powered by Workers AI.
| Method | Route | Price |
|---|---|---|
| POST | /ai-tools/v1/embed | $0.002 |
| POST | /ai-tools/v1/transcribe | $0.015 |
| POST | /ai-tools/v1/image-caption | $0.010 |
Integration
Any x402-aware client works out of the box. Three ways to call it, same protocol underneath.
TypeScript — @x402/fetch
Drop-in fetch wrapper. Handles the 402 automatically.
import { x402Client } from "@x402/core/client";
import { wrapFetchWithPayment } from "@x402/fetch";
import { ExactEvmScheme } from "@x402/evm";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.EVM_PRIVATE_KEY);
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(account),
);
const fetchWithPayment = wrapFetchWithPayment(fetch, client);
const res = await fetchWithPayment(
"https://api.geekvault.dev/dev-tools/v1/hash?text=hi",
);
console.log(await res.json());curl — raw protocol
Useful to see exactly what's happening under the hood.
# 1. request, get the 402 challenge
curl -s -D - "https://api.geekvault.dev/dev-tools/v1/hash?text=hi"
# 2. sign the payment (needs a wallet lib — can't be done in curl alone)
# takes the Payment-Required header, returns a PAYMENT-SIGNATURE value
# 3. retry with the signed payment
curl -s -H "PAYMENT-SIGNATURE: ${XPAY}" \
"https://api.geekvault.dev/dev-tools/v1/hash?text=hi"MCP — mcp.geekvault.dev
Prefer MCP? All 51 tools are exposed as MCP tools too, same x402 payment underneath.
Server: https://mcp.geekvault.dev/mcp
Registry: dev.geekvault.mcp/gv-mcp
(registry.modelcontextprotocol.io)
Tools aren't statically listed here —
discover them via tools/list.mcp.geekvault.dev/mcpPayment details
- Network
- Base mainnet (eip155:8453)
- Asset
- USDC
- Scheme
- exact (EIP-3009, no gas for you)
Receiving address: 0x77612b38361fc591c86eaac19c05ced425caf252
Discovery
Everything below is machine-readable, meant to be fetched by an agent, not read by a human.
Full schema for every endpoint, generated from source.
x402 payment manifestEvery endpoint with method, price and network.
API catalog (RFC 9727)Standard discovery pointer to the OpenAPI spec.
llms.txtAgent-facing summary of this page.
llms-full.txtFull catalog and docs in plain text.
Health checkGET /health — free, no payment required.
Payments are idempotent by payment_id(x402 payment-identifier extension) — retrying the same signed payment is safe, it won't be charged twice.