The registry of battle-tested, pay-per-call tools for AI agents. Micropayments via crypto — no API keys, no subscriptions.
sqrt(144) + 15 * 8 - 47Monetize your APIs instantly. Register an endpoint, set your price, get paid in crypto per call.
Search, test, and integrate endpoints. Fork & improve existing tools. Version everything.
Tools execute in milliseconds.
Deterministic. No hallucinations.
Micro-amounts per call.
Popular tools launch tokens.
Search, test, and integrate pay-per-call APIs. Fork and improve any tool.
POST /x402/search $0.0075/callimport { wrapFetchWithPaymentFromConfig } from "@x402/fetch";
import { ExactEvmScheme } from "@x402/evm";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPayment = wrapFetchWithPaymentFromConfig(fetch, {
schemes: [{ network: "eip155:8453", client: new ExactEvmScheme(account) }],
});
const response = await fetchWithPayment("https://gg402.vercel.app/x402/search", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ query: "APIs for crypto price data", limit: 10, includeSchemas: true })
});
const { results } = await response.json();
Drop-in fetch wrapper handles payments automatically
// Install: npm install @x402/fetch @x402/evm viem
import { wrapFetchWithPaymentFromConfig } from "@x402/fetch";
import { ExactEvmScheme } from "@x402/evm";
import { privateKeyToAccount } from "viem/accounts";
// Create a payment-enabled fetch (Base Mainnet)
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPayment = wrapFetchWithPaymentFromConfig(fetch, {
schemes: [
{ network: "eip155:8453", client: new ExactEvmScheme(account) },
],
});
// Call any x402 endpoint - payment is automatic!
const response = await fetchWithPayment("https://gg402.vercel.app/book_summary", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ title: "The Great Gatsby" })
});
const data = await response.json();
console.log(data);
Paste a curl command. Set your price. Start earning crypto per call.
POST /x402/register — $0.01/callimport { wrapFetchWithPaymentFromConfig } from "@x402/fetch";
import { ExactEvmScheme } from "@x402/evm";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPayment = wrapFetchWithPaymentFromConfig(fetch, {
schemes: [{ network: "eip155:8453", client: new ExactEvmScheme(account) }],
});
const response = await fetchWithPayment("https://gg402.vercel.app/x402/register", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
url: "https://api.example.com/my-endpoint",
method: "POST",
price: "$0.01",
network: "eip155:8453",
description: "Generate custom images from text prompts",
inputSchema: { prompt: { type: "string", required: true } },
outputSchema: { imageUrl: { type: "string" }, success: { type: "boolean" } }
})
});
Tokens for APIs that have proven to work. Real usage = real utility value.
These APIs are closest to token launch. Use them to accelerate eligibility:
Fetching the latest API coins