x402 Pay-Per-Call Protocol — Live on Base

Stop Calling theLLM Blackbox

Calling an LLM for every task is slow, expensive, and inaccurate. APINow replaces blackbox inference with deterministic API tools and structured outputs. Give your agents faster, cheaper, and perfectly repeatable actions with full visibility.

...
Onchain API Calls
...Endpoints Live
Base NetworkBase
Network

The Problem & Solution

Two Problems, One Protocol

Problem 1

Traditional APIs Are Broken for AI

Every API requires its own key, credit card, and sign-up flow. AI agents can't sign up for accounts or enter credit cards. This friction kills autonomy.

Problem 2

AIs Waste Money on Raw LLM Calls

Today's AI apps burn tokens sending everything through expensive LLMs. A $0.03 LLM call to “translate text” could be a $0.001 API call. LLMs should orchestrate, not execute.

Pay-Per-Request via x402

One wallet key replaces countless API keys. No sign-ups, no subscriptions. AI agents pay per call with crypto.

🧠

Tools Over Tokens

Stop wasting LLM tokens on tasks with dedicated APIs. Structured tool calls are 10x cheaper and 10x faster.

💎

API Coins

Tokenize API usage into tradable assets. Developers earn from every call, users own a piece of the API economy.

Get Started

Two Ways Into the API Economy

For Developers

Build with Pay-Per-Call APIs

Skip API keys. One wallet connects you to 1,000+ endpoints. Integrate AI, data, crypto, and more into any app.

1

Discover Endpoints

Browse endpoints or use semantic search to find the right API.

2

Vibe Code

Drop into the AI coding assistant and integrate endpoints in minutes.

3

Pay & Call

Every call is a microtransaction. No subscriptions, no rate limits, no keys.

For Service Providers

Monetize Your API Onchain

Turn any API into a pay-per-call endpoint. Earn from every request with zero billing infrastructure.

1

Paste Your cURL

We auto-detect your API structure, auth, and schema from a single command.

2

Set Your Price

Choose per-call pricing in USDC or any token. You set the terms.

3

Earn Per Call

Payments go straight to your wallet. Track usage, versions, and analytics.

import { x402Client, wrapFetchWithPayment } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount("YOUR_WALLET_PRIVATE_KEY");
const client = new x402Client();
registerExactEvmScheme(client, { signer: account });
const fetchWithPayment = wrapFetchWithPayment(fetch, client);

const response = await fetchWithPayment("https://apinow.fun/api/endpoints/apinowfun/translate-TRANSLATE", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
      "text": "Hello world!"
    }),
});

const data = await response.json();
console.log(data);
Go to Developer Hub →

Endpoints

Popular Endpoints

Discover APIs ranked by API Market Cap, ready for onchain calls. Use AI-powered semantic search to find what you need.

Loading prices...

No endpoints found

Try adjusting your search or filters.

Live Feed

Recent Onchain Activity

Loading activity...

Social Proof

Accolades