PAY PER CALL

Your agents use APIs.
Pay per call, not per month.

2,250+ APIs, zero subscriptions. Starting at $0.001 per call.

INSIDE YOUR AI AGENTProspecting agent
Task complete
YOUR REQUEST

“Find 25 French fintech companies, their sales leaders and verified work emails.”

Company data25 targets found$0.18
Decision-makers25 contacts enriched$0.22
Email verification25 emails verified$0.14
RESULT RETURNED TO THE AGENT25 prospects ready to contact$0.54 total
LMLéa MartinNovaPayVerified
MRMaxime RouxFinoraVerified
2,250+ TOOLSHARD CAPSBASE USDCSTRIPE FIATNO DOUBLE CHARGE
01Agent

Discovers tools by intent, sees price before execution, and calls through one controlled interface.

02Operator

Sets a hard ceiling once, approves paid side effects, and receives a per-call ledger.

03Tool provider

Keeps standard x402. tryx402 handles policy, idempotency and billing above the rail.

01 / cost proof

Pay for the mission, not the subscription.

tryx402 cost on the left. Competitor price on the right. Same mission.

Seedance video

10 seconds · 720p

tryx402$2.40
vs
fal.ai standard≈ $3.03
Same model · ≈ 21% lower

Email validation

200 professional addresses

tryx402$1
vs
ZeroBounce$39 minimum
No minimum purchase

SEO diagnostic

1 audit · 10 SERP · 10 keyword-volume checks.

tryx402$0.13
vs
Semrush$99/month
No SEO subscription

Campaign visuals

10 generations

tryx402$0.80
vs
Midjourney Basic$10/month
No creative subscription

Illustrative workloads, excluding tax. Prices vary by provider and parameters. ZeroBounce includes a free monthly quota; the SEO comparison is for a one-off diagnostic.

00 / developer workflow

From Dashboard to Agent: the 3-step setup.

No web3 wallet or crypto setup. Manage your budget from the web, and let your agents call pay-per-use APIs safely.

Step 1 · 1-ClickAuto-setup

1. Copy prompt for your Agent

Click the orange button above and paste the prompt into Claude, Cursor, or Hermes. Your agent installs the connector and prepares access.

Step 2 · ConsoleDashboard

2. Track balance & logs

Sign in to the web console via Magic Link to view live balance, top up via Stripe, and inspect real-time debits.

Step 3 · AutonomyHard caps

3. Safe Agent Execution

Your agent discovers 2,250+ tools, requests quote approval for paid calls, and all expenditures appear live in your dashboard.

01 / the catalog

2,250+ Verified pay-per-call endpoints. Monitored & 100% active.

Every tool in the tryx402 registry is health-checked continuously. Your agent executes 2,250+ live x402 microservices with hard spend caps — web search, scraping, B2B intel, crypto, AI inference, no monthly commitments.

Search & GroundingFrom $0.006 / call

Live Web & Grounding Engine

Real-time web search, organic search snippets and deep fact retrieval for LLM context grounding.

Scraping & Clean TextFrom $0.001 / call

LLM-Ready Markdown Scraper

Extract and clean DOM-free markdown from any public URL, ready for prompt ingestion.

Social IntelligenceFrom $0.05 / call

X/Twitter & Social Feeds

Extract posts, profiles, user metrics and trending topics without an enterprise monthly tier.

Enrichment & B2BFrom $0.01 / call

Email & Domain Intelligence

Validate work emails, WHOIS records, DNS routing and IP geolocation in one programmatic hop.

Finance & MarketsFrom $0.01 / call

Crypto & Equities Tickers

Real-time token prices, order books, liquidity metrics and financial modeling on Base & global markets.

Generative AI & MediaFrom $0.01 / call

Image & Deep Inférence

High-resolution image generation (Flux 1) and deep multi-step thinking models billed strictly by inference.

Explore verified catalog →

02 / the problem

Four ways an unguarded agent loses money.

∞No capOne loop bug on a $0.05 endpoint runs all night. Nobody notices until the wallet is empty.drained overnight
$0.83Double chargesA timeout after settlement looks like a failure. Retrying pays twice. We learned this one the expensive way.paid twice
???Zero visibility"What did we spend on enrichment this month?" has no answer without a per-call ledger.unauditable
0No policiesYou cannot tell x402 "this project gets $50/month" or "above $0.10 per call, ask first".ungovernable

02 / the layer

Control above the rail. Nothing changed below it.

gw = Gateway(max_budget_usd=…)

Hard budget caps

The 402 response announces the price before you sign. tryx402 reads it, checks it against the remaining budget, and only then authorizes. Stop means stop — checked before payment, not after.

Idempotency-Key: auto

Never pay twice

Every call carries an idempotency key. Automatic retries stay off unless the endpoint honors the header. A timed-out response is not a lost payment anymore.

gw.spent_usd → ledger

A receipt for every cent

Costs recorded per call, grouped by origin, account, agent or project. Answer "what did data enrichment cost this month?" with one export instead of a wallet archaeology session.

account acme --currency EUR --margin .30

Resell in their currency

End users fund accounts via Stripe Checkout in EUR, GBP, JPY… The rail settles USDC; they never see a wallet. You keep the margin. Zero-decimal currencies handled with integer math.

python -m tryx402.mcp_server

Agent-native by default

Bundled MCP server exposes ten tools — search, discover, call, spent, plan, receipt, session, check_balance, recharge and proxy_call — to Claude, Cursor or Hermes, sharing one session-wide budget across every tool the agent uses.

X-RECEIPT: ed25519.sig

Signed, replay-proof receipts

Every paid response carries an Ed25519-signed receipt binding origin, endpoint, amount and tx hash — verifiable offline. Replay a payment and the gateway answers 409, not a second charge.

gw.plan(steps) → $, no wallet

Priced before paid

Estimate a whole multi-call workflow for free before a single cent moves. Unknown prices are flagged, never guessed; over-budget steps are named up front.

from tryx402.adapters import …

The rail is swappable

Payment execution sits behind one isolated adapter module. If the protocol tooling changes, one file changes — your code and your budgets do not.

03 / connect

Do not install it yourself. Brief your agent.

Copy one context-rich prompt. Your agent inspects its own runtime, proposes the budget, configures the right connector, verifies the ten tools for free, and stops before spending.

Configure tryx402 for this workspace:

1. Install package:
   pip install tryx402

2. Add MCP configuration into .mcp.json (or claude_desktop_config.json):
   {
     "mcpServers": {
       "tryx402": {
         "command": "python3",
         "args": ["-m", "tryx402.mcp_server"],
         "env": { "TRYX402_MAX_BUDGET_USD": "2.00" }
       }
     }
   }

3. Posture & Operational Guidelines:
   - tryx402 is a managed fiat bridge: you pay in USD/EUR via Stripe Checkout with zero crypto complexity.
   - Use free discovery tools (gateway_search, gateway_discover, gateway_plan) to search tools and check exact costs before acting.
   - Before any paid operation (gateway_proxy_call), display the exact task cost in USD/EUR and request user confirmation.
   - If balance is insufficient, ask for the user's email or provide the checkout link (https://www.tryx402.app/dashboard).
   - If session context is lost, ask for the email used at checkout and call gateway_lookup(email=...) to re-bind.

Install via pip

pip install tryx402
from tryx402 import Gateway

MCP server config (Streamable HTTP or stdio)

{
  "mcpServers": {
    "tryx402": {
      "command": "python3",
      "args": ["-m", "tryx402.mcp_server"],
      "env": { "TRYX402_MAX_BUDGET_USD": "1.00" }
    }
  }
}

CLI quickstart

tryx402 search "verified work email"
tryx402 call https://api.example.com/api/enrich --price 0.05 --max-budget 0.50

Documentation: /docs · Auth: /auth.md · Manifest: /llms-full.txt · OpenAPI: /openapi.json · MCP Server Card: /.well-known/mcp/server-card.json · Pricing: /api/pricing · PyPI: tryx402 · GitHub: tryx402 repo

04 / what's new

v0.4.0 — the x402 facade and the trust layer are live.

LiveNative x402 paywallExternal agents pay tryx402-wrapped endpoints directly on the x402 rail: spec-conformant 402, facilitator verify/settle, no-retry discipline, refund on provider failure.
LiveSigned receipts, replay-proofEvery paid response carries an offline-verifiable Ed25519 receipt (X-RECEIPT). Replay a payment: 409, not a second charge.
LiveCrawlable catalog & syndication76 endpoints priced on the public catalog (/v1/x402/tools), exportable as a generic x402 resources doc and a Bazaar-style feed for aggregator indexing.
LivePriced before paidgw.plan(steps) prices a whole multi-call workflow for free. Unknown prices are flagged, never guessed; over-budget steps are named before a cent moves.
CatalogViraill GEO endpoints live on the catalog3 production endpoints listed & verified (109 tools total): geo audit $5, social-generate $2 with 9 formats, agentic readiness scan $10 — all payable per call in USDC on Base.

Full changelog on GitHub. Machine-readable: /v1/x402/tools, /v1/x402/listing, /v1/x402/bazaar.json on tryx402.fly.dev.

05 / compare

Raw x402, Stripe metered, or both problems solved.

Raw x402 clientStripe meteredtryx402
Pays machine-to-machine, no accountYesNoYes
Spend cap enforced BEFORE payingNoPartialYes
Retry-proof (never pay twice)NoYesYes
Per-call spend visibilityNoPartialYes
Micro-payments from $0.001YesNoYes
End users pay in fiat, their currencyNoYesYes

05 / faq

The questions agents ask before installing.

Does tryx402 replace my x402 client?

No. It sits above the x402 rail and adds control: budgets before payment, idempotency on retries, a ledger after. The protocol stays standard.

Why does the budget check happen before signing?

Because the 402 response announces maxAmountRequired up front. Checking after means the money already left. tryx402 arbitrates in that window.

Is this crypto exposure for my business?

No. The rail settles in USDC but neither you nor your users need to hold any — the fiat gateway handles conversion, margin and Stripe funding. Wallets stay abstracted.

What happens when my agent loops on a paid endpoint?

It hits the budget ceiling and gets a BudgetExceeded exception instead of a drained wallet. That exception is the product.

What happens if an x402 endpoint changes its price mid-session?

The gateway re-reads the 402 challenge on every call. A price increase either fits inside your remaining budget and goes through, or trips the cap and stops. Nothing is signed on stale pricing.

Can I limit what one project spends without limiting the others?

Yes. Budgets attach to sessions, not wallets. Run one agent at $0.50 for scraping and another at $5.00 for enrichment on the same account, each with its own ledger.

Does tryx402 work without crypto knowledge?

Yes. Operators fund accounts by card through Stripe Checkout in EUR, USD, GBP or JPY. The USDC settlement on Base happens downstream and no wallet handling reaches you or your users.

Give your agent a wallet.
Keep the keys to it.

One dependency boundary. The moment an agent runs unattended, budgets stop being optional.

Machine-readable docs ↗