Pay-per-call APIs for AI agents: plain answers

Short answers to what developers ask before letting an agent pay for a tool, and worked examples with code. We run a small x402 shop, so we have a stake in this topic: these guides say when x402 is the wrong choice too.

All agent guides

Agents

What is x402, and how does a pay-per-call API work?

The whole flow in four steps, using a real 402 answer you can fetch yourself for free, and where x402 stops helping.

6 min read
Agents

How can an AI agent pay for an API without an API key?

A small wallet, a little USDC on Base and an x402 client. Working Node and Python code, what it costs, and why no ETH is needed.

7 min read
Agents

Bulk tech-stack and domain lookups for lead lists, at $2.10 per 1,000 domains

Which sites run Shopify or WordPress, which have no working mail setup, which domains expire soon: a script that enriches a whole list at $0.0021 per lookup.

7 min read
Agents

Turn web pages and PDFs into clean Markdown chunks for RAG, paid per call

Clean Markdown from a URL, text from a PDF and heading-aware chunks for your vector store, at $0.0021 a call, with a complete ingestion script.

7 min read
Agents

Am I charged if an x402 API call fails?

When money moves, the one exception for long jobs, what counts as a success you still pay for, and what to do for each error.

6 min read
Agents

How can an AI agent pay for an API without an account?

Three ways to let an agent pay for tools it finds at run time: your own scoped keys, one multi-API account, or pay per call with x402. What each costs in setup and risk.

6 min read
Agents

Web page to Markdown for RAG: what it must do and what it costs

What a page-to-Markdown step must get right for RAG, the three ways to do it, and the cost per 1,000 pages when you pay per page.

6 min read
Agents

Which CMS does each site on a list use? A bulk check

Check one site by hand for free, what a bulk platform and domain check can and cannot tell you, and what a list of domains costs.

5 min read
Agents

Website Security Check Before Launch: A Practical Checklist

Launch day is the easiest time to fix weak spots, because nobody depends on the site yet. Here is what to test, in order, and what to do with what you find.

4 min read
Agents

PDPA Website Security Malaysia: A Practical Checklist for Your Site

If your website collects names, e-mails or phone numbers, the Personal Data Protection Act applies to how you look after them. Here is what that means for the site itself, in plain words.

5 min read

Want code for a specific stack? The shop has integration guides for MCP clients, Node, Python, LangChain, CrewAI, the OpenAI Agents SDK and the Vercel AI SDK.

Try a pay-per-call tool

Web, domain and data checks for agents over x402, in USDC on Base. No account and no API key. Prices and inputs for every tool are in the catalogue.