Pay-Per-Call APIs on Tempo Mainnet with mppx: Sub-Cent Endpoints for AI Agents (No API Keys)
Pay-Per-Call APIs on Tempo Mainnet with mppx: Sub-Cent Endpoints for AI Agents (No API Keys) FMF Tools is a pay-per-call API suite for AI agents: no API keys, just an HTTP 402 on Tempo mainnet paid with npx mppx . This is a first-call guide for builders and agents that already have a funded Tempo m

FMF Tools is a pay-per-call API suite for AI agents: no API keys, just an HTTP 402 on Tempo mainnet paid with npx mppx.
This is a first-call guide for builders and agents that already have a funded Tempo mainnet wallet (USDC.e or pathUSD). Every URL, price, and CLI flag below was verified live on 2026-11-27 against unpaid curl -i responses. The runtime WWW-Authenticate: Payment header is the source of truth, not a marketing table.
Disclosure: this guide is published by FMF Tools ( fmf-tools@agentmail.to ). The APIs are ours. Contact: fmf-tools@agentmail.to. Catalog: https://tools.fmf-x402.workers.dev/?ref=devto.
Create the mainnet account first. npx mppx account fund is testnet-only — it will not fund mainnet.
npx mppx account create --network mainnet npx mppx account view --network mainnet Enter fullscreen mode Exit fullscreen mode Send USDC.e ( 0x20C000000000000000000000b9537d11c60E8b50 ) or pathUSD ( 0x20c0000000000000000000000000000000000000 ) on Tempo mainnet to that address. Then call any paid route. mppx handles the 402 automatically.
--network mainnet matters. In mppx 0.22.1, if you omit --network and do not set a custom RPC URL, funding/account helpers default to testnet. Our live challenges are mainnet ( chainId: 4217 ). Pass the flag.
Embeddings at $0.0005 (up to 100 texts, BAAI bge-m3, 1024 dimensions, L2-normalised, OpenAI-style data[i].embedding ):
npx mppx https://mpp-ai.fmf-x402.workers.dev/mpp/embeddings --network mainnet -J '{"texts":["machine payments","pay per call API"]}' Enter fullscreen mode Exit fullscreen mode -J is mppx 's JSON-body flag: it sets Content-Type and Accept and implies POST. Equivalent long form (also valid):
npx mppx https://mpp-ai.fmf-x402.workers.dev/mpp/embeddings --network mainnet -X POST -H 'content-type: application/json' -d '{"texts":["machine payments","pay per call API"]}' Enter fullscreen mode Exit fullscreen mode Optional: add --protocol mpp if you want to require Machine Payments Protocol. The CLI default is --protocol auto, which already prefers MPP when a server offers both MPP and x402.
An unpaid curl is not charged. It returns HTTP 402 and the challenge:
curl -i -X POST https://mpp-ai.fmf-x402.workers.dev/mpp/embeddings \ -H 'content-type: application/json' \ -d '{"texts":["machine payments","pay per call API"]}' Enter fullscreen mode Exit fullscreen mode What we observed on that unpaid call:
Prices are from the live OpenAPI x-payment-info.price.amount and matched the unpaid Tempo challenge amount (6 decimals). Inputs are the official examples. Outputs are from the live product docs; OpenAPI 200 schemas are currently generic objects.
Failure / "refund" behavior, from each host's live /openapi.json 402 description and docs: invalid input, a failed upstream/model call, or a daily capacity limit returns HTTP 402 with an error and is not charged. There is no separate refund call; a failed request does not settle.
npx mppx https://mpp-ai.fmf-x402.workers.dev/mpp/embeddings --network mainnet -J '{"texts":["machine payments","pay per call API"]}' Enter fullscreen mode Exit fullscreen mode Docs: mpp-ai.fmf-x402.workers.dev/docs · llms.txt
npx mppx https://mpp-ai.fmf-x402.workers.dev/mpp/sentiment --network mainnet -J '{"texts":["I love how fast this API is.","The checkout keeps failing."]}' Enter fullscreen mode Exit fullscreen mode 3. DNS lookup — $0.0005 URL: POST https://mpp-tools.fmf-x402.workers.dev/mpp/dns/lookup Price: $0.0005 (challenge amount 500 ) Mainnet Tempo 402: yes ( realm="mpp-tools.fmf-x402.workers.dev" ) Input: {"domain":"mpp.dev"} (optional types ) Output (docs): DNS lookup across record types Not charged on: invalid input or upstream failure npx mppx https://mpp-tools.fmf-x402.workers.dev/mpp/dns/lookup --network mainnet -J '{"domain":"mpp.dev"}' Enter fullscreen mode Exit fullscreen mode Docs: mpp-tools.fmf-x402.workers.dev/docs
npx mppx https://mpp-tools.fmf-x402.workers.dev/mpp/data/convert --network mainnet -J '{"input":"name: widget\nprice: 10\ntags:\n - a\n - b","from":"yaml","to":"json"}' Enter fullscreen mode Exit fullscreen mode 5. UUID / ULID generator — $0.001 URL: POST https://mpp-utils.fmf-x402.workers.dev/id/uuid Price: $0.001 (challenge amount 1000 ) Mainnet Tempo 402: yes ( realm="mpp-utils.fmf-x402.workers.dev" ) Input: {"type":"v7","count":3} (also decodes) Output (docs): UUID v4/v7 or ULID values, or a decoded identifier Not charged on: invalid input npx mppx https://mpp-utils.fmf-x402.workers.dev/id/uuid --network mainnet -J '{"type":"v7","count":3}' Enter fullscreen mode Exit fullscreen mode Docs: mpp-utils.fmf-x402.workers.dev/docs
npx mppx https://mpp-agent-data.fmf-x402.workers.dev/mpp/daily/number --network mainnet -J '{"n":42}' Enter fullscreen mode Exit fullscreen mode Docs: mpp-agent-data.fmf-x402.workers.dev/docs
npx mppx https://mpp-docs.fmf-x402.workers.dev/mpp/html/markdown --network mainnet -J '{"url":"https://example.com"}' Enter fullscreen mode Exit fullscreen mode Docs: mpp-docs.fmf-x402.workers.dev/docs
npx mppx https://mpp-compat.fmf-x402.workers.dev/edgar/company-submissions --network mainnet -J '{"cik":"320193"}' Enter fullscreen mode Exit fullscreen mode Docs: mpp-compat.fmf-x402.workers.dev/docs
Every unpaid probe above returned three Payment offers in one WWW-Authenticate header:
Recipient on all of them: 0xB2070a4A874E7141E551890a3642bF7B24a1a148.
npx mppx with --network mainnet (and --protocol mpp if you want to be explicit) pays offer 1 or 2 from a funded Tempo wallet.
These were live with /llms.txt and /openapi.json when we checked, and use the same MPP + Tempo mainnet payment pattern (not all were 402-probed in this pass):
The directory that lists these (and everyone else's verified MCP / paid APIs) is https://tools.fmf-x402.workers.dev/?ref=devto.
Each host also serves Streamable HTTP MCP at /mcp. tools/list is free. tools/call still needs an MPP Payment credential (or just call the HTTP route with mppx ).
{ "mcpServers": { "fmf-mpp-ai": { "url": "https://mpp-ai.fmf-x402.workers.dev/mcp" } } } Enter fullscreen mode Exit fullscreen mode Official client docs mppx CLI: https://mpp.dev/sdk/typescript/cli Getting started: https://mpp.dev/sdk/typescript About FMF Tools FMF Tools builds pay-per-call APIs and a daily-tested directory of MCP servers and agent APIs. We do not require accounts or API keys on these routes. We are the authors of the endpoints in this guide.
Questions or a broken challenge: fmf-tools@agentmail.to.