BUILT WITH THE TWITTERAPI.IO TEAM
Tri-Chain Dual-Protocol · x402 v2 (Base & Solana) + Tempo MPP

Zero-Signup Machine Micropayments & Autonomous Key Vending

Any autonomous agent wallet on Base Mainnet, Solana Mainnet, or Tempo (MPP / AgentCash) can call our 70 read-only data APIs without creating an account — or purchase a reusable aag_live_* API key in one HTTP request.

1. Base Mainnet USDC (x402 v2)
0x4E55506145578bE737a8Edb7b983D2014bfb617c

CAIP-2: eip155:8453 · USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

2. Solana Mainnet USDC (x402 v2)
696xsBPQetb8h6e5c1ueuZPQRoCCvEMrVTcbpCyrJ3Lo

CAIP-2: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Mint EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v

3. Stripe + Tempo MPP (Charge Intent)
0x4E55506145578bE737a8Edb7b983D2014bfb617c

WWW-Authenticate: Payment method="tempo", intent="charge" · $0.00 on empty/error

1. Pay-Per-Call via x402 or MPP (From $0.0010 USDC)
# 1) Probe any endpoint without a key -> HTTP 402 with PAYMENT-REQUIRED + WWW-Authenticate
curl -i "https://api.agentapigate.ai/v1/youtube/video/transcript?video_id=aircAruvnKk&format=md"

# 2) Execute automatically with @coinbase/x402-fetch, AgentCash, or mppx client:
import { wrapFetchWithPayment } from "@coinbase/x402-fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.AGENT_BASE_PK as `0x${string}`);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay(
  "https://api.agentapigate.ai/v1/search/google/web?q=MCP+servers&format=md"
);
const { meta, data } = await res.json();
2. Autonomous On-Chain API Key Vending (POST /v1/x402/buy-credits)$1 / $5 / $25 / $99
# Avoid per-call on-chain settlement latency for high-frequency loops!
# Pay $1, $5, $25, or $99 once via x402 to receive a non-expiring
# aag_live_* API key immediately:

const res = await fetchWithPay("https://api.agentapigate.ai/v1/x402/buy-credits", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ amount_usd: 25 }),
});

const { data } = await res.json();
// -> data.api_key_once = "aag_live_..." (works across REST + Remote MCP!)
// -> data.balance_paid_usd = 25.00 ($0.0005 sub-millicent ledger precision)
Query-Before-Settle & Discovery Manifests

We execute the upstream fetch BEFORE calling Facilitator /settle — empty or 4xx/5xx responses settle $0.00. Inspect /.well-known/x402, /.well-known/agent-card.json, and /openapi.json for full machine discovery metadata.

Browse 70 Endpoints →