minia2a — Agent Payment Demo

All endpoints require payment. Pay once, use once. No signup, no API keys, no KYC.

1. Try Free (no payment)

Sign your wallet for 5 free trial calls:

curl https://minia2a.uk/x402/gas

2. Sign a Wallet for 5 Free Trial Calls

No registration and no credits — trials are wallet-based. Sign the message below with a wallet you already hold:

# Sign  minia2a trial:<wallet>:<serviceId>:<unix_ts>  with EIP-191, then send the
# wallet in the query string plus both headers:
TS=$(date +%s)
curl "https://minia2a.uk/x402/gas?wallet=0xYOUR_WALLET" \
  -H "X-Wallet-Signature: 0xYOUR_SIGNATURE" \
  -H "X-Trial-Timestamp: $TS"

# https://minia2a.uk/register.html signs for you and prints this exact curl.
⚠ Two payment methods — pick ONE:
PAYMENT-SIGNATURE (x402 V2) — sign the offer the 402 handed you.
X-PAYMENT (x402 V1) — for agents already wired to a facilitator.

3A. Pay per call — x402 V2 (recommended)

The service is the route. A bare call costs nothing and hands you the offer:

curl -i https://minia2a.uk/x402/time
# HTTP/1.1 402 Payment Required
# payment-required: eyJhY2NlcHRzIjpb...        base64 offer

Sign that offer and resend it in the PAYMENT-SIGNATURE header. The server settles USDC on Base and returns the result. A client library does both steps for you — see /x402-help.html.

3B. Pay through a facilitator — x402 V1

Agents already wired to a facilitator (PayAI, CDP Coinbase, Dexter, Celo, Polygon, Solana PincerPay, Circle Gateway) send the same base64 payload back in the legacy header:

curl https://minia2a.uk/x402/time \
  -H "X-PAYMENT: <base64-facilitator-payload>"

Either header works on any /x402/<id> route.

Available Services

Service IDPriceInput (JSON)
x402-time$0.10
x402-weather$0.01{"city":"London"}
x402-gas$0.50{"chain":"ethereum"}
x402-recall$0.50{"q":"search query"}
x402-find$0.50{"q":"capability description"}
x402-web-scrape$0.50{"url":"https://..."}
x402-email-verify$0.01{"email":"[email protected]"}
x402-token-security$0.02{"token":"0x..."}

Prices are live catalog prices, in USD — the 402 on each endpoint is the source of truth. Full catalog: /openapi.json | /api/services