Developer Docs
Gateway Live 88 Primitives ← Back to App GitHub Smithery Try Gateway →

x402 Primitives Catalog

The full-stack pay-per-call API for crypto infrastructure. Every endpoint is x402-native — agents and developers pay USDC per request on Base. No API keys, no accounts, no subscriptions.

88 Primitives
19 Categories
USDC on Base
gateway.spraay.app
Quick Start — Make your first x402 call
// Install the x402 client
npm install x402-client

// Make a paid API call — payment is automatic
import { createClient } from "x402-client";

const client = createClient({
  baseUrl: "https://gateway.spraay.app",
  privateKey: process.env.EVM_PRIVATE_KEY,  // Wallet with USDC on Base
});

// Fetch live ETH price — pays $0.005 USDC automatically
const prices = await client.get("/api/v1/prices");
console.log(prices);  // { ETH: 2847.50, ... }

// Batch send USDC to 50 wallets — pays $0.02 USDC
const tx = await client.post("/api/v1/batch", {
  token: "USDC",
  recipients: [{ address: "0x...", amount: "10.00" }, /* ... */]
});
🪪

Identity & Access

4 endpoints
POST x402 Verify
Initiate KYC/KYB verification for compliance-gated payments.
/api/v1/kyc/verify
$0.08 USDC

Description

Initiate KYC/KYB verification for compliance-gated payments.

Method: POSTPrice: $0.08Status: Live

Request

const result = await client.post(
  "/api/v1/kyc/verify", {...}
);
GET x402 Status
Check KYC verification status.
/api/v1/kyc/status
$0.01 USDC

Description

Check KYC verification status.

Method: GETPrice: $0.01Status: Live

Request

const result = await client.get(
  "/api/v1/kyc/status"
);
POST x402 Session
Create authenticated session with scoped permissions.
/api/v1/auth/session
$0.01 USDC

Description

Create authenticated session with scoped permissions.

Method: POSTPrice: $0.01Status: Live

Request

const result = await client.post(
  "/api/v1/auth/session", {...}
);
GET x402 Verify
Verify session token and check permissions.
/api/v1/auth/verify
$0.005 USDC

Description

Verify session token and check permissions.

Method: GETPrice: $0.005Status: Live

Request

const result = await client.get(
  "/api/v1/auth/verify"
);
📡

Data & Intelligence

8 endpoints
GET x402 Prices
Multi-token price feed.
/api/v1/oracle/prices
$0.008 USDC

Description

Multi-token price feed.

Method: GETPrice: $0.008Status: Live

Request

const result = await client.get(
  "/api/v1/oracle/prices"
);
GET x402 Gas
Gas prices on Base.
/api/v1/oracle/gas
$0.005 USDC

Description

Gas prices on Base.

Method: GETPrice: $0.005Status: Live

Request

const result = await client.get(
  "/api/v1/oracle/gas"
);
GET x402 Fx
Stablecoin FX rates.
/api/v1/oracle/fx
$0.008 USDC

Description

Stablecoin FX rates.

Method: GETPrice: $0.008Status: Live

Request

const result = await client.get(
  "/api/v1/oracle/fx"
);
GET x402 Wallet
Wallet profile.
/api/v1/analytics/wallet
$0.01 USDC

Description

Wallet profile.

Method: GETPrice: $0.01Status: Live

Request

const result = await client.get(
  "/api/v1/analytics/wallet"
);
GET x402 Txhistory
Transaction history.
/api/v1/analytics/txhistory
$0.008 USDC

Description

Transaction history.

Method: GETPrice: $0.008Status: Live

Request

const result = await client.get(
  "/api/v1/analytics/txhistory"
);
GET x402 Prices
Live token prices.
/api/v1/prices
$0.005 USDC

Description

Live token prices.

Method: GETPrice: $0.005Status: Live

Request

const result = await client.get(
  "/api/v1/prices"
);
GET x402 Balances
Token balances.
/api/v1/balances
$0.005 USDC

Description

Token balances.

Method: GETPrice: $0.005Status: Live

Request

const result = await client.get(
  "/api/v1/balances"
);
GET x402 Resolve
ENS/Basename resolution.
/api/v1/resolve
$0.002 USDC

Description

ENS/Basename resolution.

Method: GETPrice: $0.002Status: Live

Request

const result = await client.get(
  "/api/v1/resolve"
);
🧠

AI Inference

6 endpoints
POST x402 Completions
AI chat completions via 200+ models.
/api/v1/chat/completions
$0.04 USDC

Description

AI chat completions via 200+ models.

Method: POSTPrice: $0.04Status: Live

Request

const result = await client.post(
  "/api/v1/chat/completions", {...}
);
GET x402 Models
List AI models.
/api/v1/models
$0.001 USDC

Description

List AI models.

Method: GETPrice: $0.001Status: Live

Request

const result = await client.get(
  "/api/v1/models"
);
POST x402 Classify Address
AI-powered wallet classification with risk scoring.
/api/v1/inference/classify-address
$0.03 USDC

Description

AI-powered wallet classification with risk scoring.

Method: POSTPrice: $0.03Status: Live

Request

const result = await client.post(
  "/api/v1/inference/classify-address", {...}
);
POST x402 Classify Tx
AI-powered transaction classification with risk scoring.
/api/v1/inference/classify-tx
$0.03 USDC

Description

AI-powered transaction classification with risk scoring.

Method: POSTPrice: $0.03Status: Live

Request

const result = await client.post(
  "/api/v1/inference/classify-tx", {...}
);
POST x402 Explain Contract
AI-powered smart contract analysis.
/api/v1/inference/explain-contract
$0.03 USDC

Description

AI-powered smart contract analysis.

Method: POSTPrice: $0.03Status: Live

Request

const result = await client.post(
  "/api/v1/inference/explain-contract", {...}
);
POST x402 Summarize
AI intelligence briefing for any address or transaction.
/api/v1/inference/summarize
$0.03 USDC

Description

AI intelligence briefing for any address or transaction.

Method: POSTPrice: $0.03Status: Live

Request

const result = await client.post(
  "/api/v1/inference/summarize", {...}
);
🧬

Bittensor Drop-in API

4 endpoints

OpenAI-compatible inference routed through Bittensor decentralized subnets (SN64 Chutes AI, SN19 Nineteen AI). Drop-in replacement for OpenAI's /v1/* API surface — just change the base URL to https://gateway.spraay.app/bittensor/v1.

GET x402 Models
List all AI models on Bittensor.
/bittensor/v1/models
$0.001 USDC

Description

List all AI models on Bittensor. OpenAI /v1/models compatible. Drop-in: just change base_url to gateway.spraay.app/bittensor/v1

Method: GETPrice: $0.001Status: Live

Request

const result = await client.get(
  "/bittensor/v1/models"
);
POST x402 Completions
Chat completions via Bittensor decentralized AI.
/bittensor/v1/chat/completions
$0.03 USDC

Description

Chat completions via Bittensor decentralized AI. Fully OpenAI-compatible. 43+ models (DeepSeek, Qwen, Llama, Mistral). Streaming, function calling, TEE-verified. Drop-in: just change base_url.

Method: POSTPrice: $0.03Status: Live

Request

const result = await client.post(
  "/bittensor/v1/chat/completions", {...}
);
POST x402 Generations
Image generation via Bittensor Subnet 19 (Nineteen AI). OpenAI /v1/images/generations compatible.
/bittensor/v1/images/generations
$0.05 USDC

Description

Image generation via Bittensor Subnet 19 (Nineteen AI). OpenAI /v1/images/generations compatible.

Method: POSTPrice: $0.05Status: Live

Request

const result = await client.post(
  "/bittensor/v1/images/generations", {...}
);
POST x402 Embeddings
Text embeddings via Bittensor.
/bittensor/v1/embeddings
$0.005 USDC

Description

Text embeddings via Bittensor. OpenAI /v1/embeddings compatible. Use for RAG, semantic search, similarity.

Method: POSTPrice: $0.005Status: Live

Request

const result = await client.post(
  "/bittensor/v1/embeddings", {...}
);
📧

Communication & Notification

9 endpoints
POST x402 Email
Send email notification for payment confirmations, alerts, receipts.
/api/v1/notify/email
$0.01 USDC

Description

Send email notification for payment confirmations, alerts, receipts.

Method: POSTPrice: $0.01Status: Live

Request

const result = await client.post(
  "/api/v1/notify/email", {...}
);
POST x402 Sms
Send SMS notification for payment alerts.
/api/v1/notify/sms
$0.02 USDC

Description

Send SMS notification for payment alerts.

Method: POSTPrice: $0.02Status: Live

Request

const result = await client.post(
  "/api/v1/notify/sms", {...}
);
GET x402 Status
Check notification delivery status.
/api/v1/notify/status
$0.002 USDC

Description

Check notification delivery status.

Method: GETPrice: $0.002Status: Live

Request

const result = await client.get(
  "/api/v1/notify/status"
);
POST x402 Register
Register webhook for payment/escrow/swap events.
/api/v1/webhook/register
$0.01 USDC

Description

Register webhook for payment/escrow/swap events.

Method: POSTPrice: $0.01Status: Live

Request

const result = await client.post(
  "/api/v1/webhook/register", {...}
);
POST x402 Test
Send test event to a registered webhook.
/api/v1/webhook/test
$0.005 USDC

Description

Send test event to a registered webhook.

Method: POSTPrice: $0.005Status: Live

Request

const result = await client.post(
  "/api/v1/webhook/test", {...}
);
GET x402 List
List registered webhooks.
/api/v1/webhook/list
$0.002 USDC

Description

List registered webhooks.

Method: GETPrice: $0.002Status: Live

Request

const result = await client.get(
  "/api/v1/webhook/list"
);
POST x402 Delete
Delete a webhook.
/api/v1/webhook/delete
$0.002 USDC

Description

Delete a webhook.

Method: POSTPrice: $0.002Status: Live

Request

const result = await client.post(
  "/api/v1/webhook/delete", {...}
);
POST x402 Send
Send encrypted XMTP message to any Ethereum address.
/api/v1/xmtp/send
$0.01 USDC

Description

Send encrypted XMTP message to any Ethereum address.

Method: POSTPrice: $0.01Status: Live

Request

const result = await client.post(
  "/api/v1/xmtp/send", {...}
);
GET x402 Inbox
Read XMTP inbox for an Ethereum address.
/api/v1/xmtp/inbox
$0.01 USDC

Description

Read XMTP inbox for an Ethereum address.

Method: GETPrice: $0.01Status: Live

Request

const result = await client.get(
  "/api/v1/xmtp/inbox"
);
🏦

Financial Primitives

17 endpoints
GET x402 Quote
Swap quotes via Uniswap V3.
/api/v1/swap/quote
$0.008 USDC

Description

Swap quotes via Uniswap V3.

Method: GETPrice: $0.008Status: Live

Request

const result = await client.get(
  "/api/v1/swap/quote"
);
GET x402 Tokens
Supported swap tokens.
/api/v1/swap/tokens
$0.001 USDC

Description

Supported swap tokens.

Method: GETPrice: $0.001Status: Live

Request

const result = await client.get(
  "/api/v1/swap/tokens"
);
POST x402 Execute
Execute swap via Uniswap V3.
/api/v1/swap/execute
$0.015 USDC

Description

Execute swap via Uniswap V3.

Method: POSTPrice: $0.015Status: Live

Request

const result = await client.post(
  "/api/v1/swap/execute", {...}
);
GET x402 Quote
Cross-chain bridge quote.
/api/v1/bridge/quote
$0.05 USDC

Description

Cross-chain bridge quote.

Method: GETPrice: $0.05Status: Live

Request

const result = await client.get(
  "/api/v1/bridge/quote"
);
GET x402 Chains
Supported bridge chains.
/api/v1/bridge/chains
$0.002 USDC

Description

Supported bridge chains.

Method: GETPrice: $0.002Status: Live

Request

const result = await client.get(
  "/api/v1/bridge/chains"
);
POST x402 Execute
Execute payroll via Spraay V2.
/api/v1/payroll/execute
$0.10 USDC

Description

Execute payroll via Spraay V2.

Method: POSTPrice: $0.10Status: Live

Request

const result = await client.post(
  "/api/v1/payroll/execute", {...}
);
POST x402 Estimate
Estimate payroll costs.
/api/v1/payroll/estimate
$0.003 USDC

Description

Estimate payroll costs.

Method: POSTPrice: $0.003Status: Live

Request

const result = await client.post(
  "/api/v1/payroll/estimate", {...}
);
GET x402 Tokens
Payroll stablecoins.
/api/v1/payroll/tokens
$0.002 USDC

Description

Payroll stablecoins.

Method: GETPrice: $0.002Status: Live

Request

const result = await client.get(
  "/api/v1/payroll/tokens"
);
POST x402 Create
Create invoice with payment tx.
/api/v1/invoice/create
$0.05 USDC

Description

Create invoice with payment tx.

Method: POSTPrice: $0.05Status: Live

Request

const result = await client.post(
  "/api/v1/invoice/create", {...}
);
GET x402 List
List invoices by address.
/api/v1/invoice/list
$0.01 USDC

Description

List invoices by address.

Method: GETPrice: $0.01Status: Live

Request

const result = await client.get(
  "/api/v1/invoice/list"
);
GET x402 :Id
Invoice lookup.
/api/v1/invoice/:id
$0.01 USDC

Description

Invoice lookup.

Method: GETPrice: $0.01Status: Live

Request

const result = await client.get(
  "/api/v1/invoice/:id"
);
POST x402 Create
Create conditional escrow with milestones and expiry.
/api/v1/escrow/create
$0.10 USDC

Description

Create conditional escrow with milestones and expiry.

Method: POSTPrice: $0.10Status: Live

Request

const result = await client.post(
  "/api/v1/escrow/create", {...}
);
GET x402 List
List escrows by address.
/api/v1/escrow/list
$0.02 USDC

Description

List escrows by address.

Method: GETPrice: $0.02Status: Live

Request

const result = await client.get(
  "/api/v1/escrow/list"
);
GET x402 :Id
Escrow status.
/api/v1/escrow/:id
$0.005 USDC

Description

Escrow status.

Method: GETPrice: $0.005Status: Live

Request

const result = await client.get(
  "/api/v1/escrow/:id"
);
POST x402 Fund
Mark escrow as funded. Pass escrowId in body.
/api/v1/escrow/fund
$0.02 USDC

Description

Mark escrow as funded. Pass escrowId in body.

Method: POSTPrice: $0.02Status: Live

Request

const result = await client.post(
  "/api/v1/escrow/fund", {...}
);
POST x402 Release
Release escrow funds. Returns unsigned transfer tx. Depositor or arbiter only.
/api/v1/escrow/release
$0.08 USDC

Description

Release escrow funds. Returns unsigned transfer tx. Depositor or arbiter only.

Method: POSTPrice: $0.08Status: Live

Request

const result = await client.post(
  "/api/v1/escrow/release", {...}
);
POST x402 Cancel
Cancel escrow.
/api/v1/escrow/cancel
$0.02 USDC

Description

Cancel escrow.

Method: POSTPrice: $0.02Status: Live

Request

const result = await client.post(
  "/api/v1/escrow/cancel", {...}
);
💸

Batch Payments

2 endpoints
POST x402 Execute
Batch payments via Spraay.
/api/v1/batch/execute
$0.02 USDC

Description

Batch payments via Spraay.

Method: POSTPrice: $0.02Status: Live

Request

const result = await client.post(
  "/api/v1/batch/execute", {...}
);
POST x402 Estimate
Estimate batch gas.
/api/v1/batch/estimate
$0.001 USDC

Description

Estimate batch gas.

Method: POSTPrice: $0.001Status: Live

Request

const result = await client.post(
  "/api/v1/batch/estimate", {...}
);
🖧

Infrastructure & DevOps

12 endpoints
POST x402 Call
Premium multi-chain RPC call via Alchemy/Helius.
/api/v1/rpc/call
$0.001 USDC

Description

Premium multi-chain RPC call via Alchemy/Helius.

Method: POSTPrice: $0.001Status: Live

Request

const result = await client.post(
  "/api/v1/rpc/call", {...}
);
GET x402 Chains
List supported RPC chains and methods.
/api/v1/rpc/chains
$0.001 USDC

Description

List supported RPC chains and methods.

Method: GETPrice: $0.001Status: Live

Request

const result = await client.get(
  "/api/v1/rpc/chains"
);
POST x402 Pin
Pin content to IPFS or Arweave for permanent storage.
/api/v1/storage/pin
$0.01 USDC

Description

Pin content to IPFS or Arweave for permanent storage.

Method: POSTPrice: $0.01Status: Live

Request

const result = await client.post(
  "/api/v1/storage/pin", {...}
);
GET x402 Get
Retrieve pinned content by CID.
/api/v1/storage/get
$0.005 USDC

Description

Retrieve pinned content by CID.

Method: GETPrice: $0.005Status: Live

Request

const result = await client.get(
  "/api/v1/storage/get"
);
GET x402 Status
Check pin status.
/api/v1/storage/status
$0.002 USDC

Description

Check pin status.

Method: GETPrice: $0.002Status: Live

Request

const result = await client.get(
  "/api/v1/storage/status"
);
POST x402 Create
Create scheduled job for recurring payments, DCA, reminders.
/api/v1/cron/create
$0.01 USDC

Description

Create scheduled job for recurring payments, DCA, reminders.

Method: POSTPrice: $0.01Status: Live

Request

const result = await client.post(
  "/api/v1/cron/create", {...}
);
GET x402 List
List scheduled jobs.
/api/v1/cron/list
$0.002 USDC

Description

List scheduled jobs.

Method: GETPrice: $0.002Status: Live

Request

const result = await client.get(
  "/api/v1/cron/list"
);
POST x402 Cancel
Cancel a scheduled job.
/api/v1/cron/cancel
$0.002 USDC

Description

Cancel a scheduled job.

Method: POSTPrice: $0.002Status: Live

Request

const result = await client.post(
  "/api/v1/cron/cancel", {...}
);
POST x402 Ingest
Ingest structured logs for debugging agent workflows.
/api/v1/logs/ingest
$0.002 USDC

Description

Ingest structured logs for debugging agent workflows.

Method: POSTPrice: $0.002Status: Live

Request

const result = await client.post(
  "/api/v1/logs/ingest", {...}
);
GET x402 Query
Query structured logs by service, level, time.
/api/v1/logs/query
$0.005 USDC

Description

Query structured logs by service, level, time.

Method: GETPrice: $0.005Status: Live

Request

const result = await client.get(
  "/api/v1/logs/query"
);
POST x402 Log
Record immutable audit trail entry for payments, escrows, compliance.
/api/v1/audit/log
$0.005 USDC

Description

Record immutable audit trail entry for payments, escrows, compliance.

Method: POSTPrice: $0.005Status: Live

Request

const result = await client.post(
  "/api/v1/audit/log", {...}
);
GET x402 Query
Query audit trail by actor, action, resource, time range.
/api/v1/audit/query
$0.03 USDC

Description

Query audit trail by actor, action, resource, time range.

Method: GETPrice: $0.03Status: Live

Request

const result = await client.get(
  "/api/v1/audit/query"
);
🖥️

GPU / Compute

2 endpoints

Heavy compute for image generation, video, large LLMs, audio, and utility models via Replicate. For text completions at lower latency and cost, use AI Inference instead.

POST x402 Run
GPU/Compute — run AI model inference via Replicate (image, video, LLM, audio, utility).
/api/v1/gpu/run
$0.06 USDC

Description

GPU/Compute — run AI model inference via Replicate (image, video, LLM, audio, utility).

Method: POSTPrice: $0.06Status: Live

Request

const result = await client.post(
  "/api/v1/gpu/run", {...}
);
GET x402 :Id
GPU/Compute — check prediction status for async jobs.
/api/v1/gpu/status/:id
$0.005 USDC

Description

GPU/Compute — check prediction status for async jobs.

Method: GETPrice: $0.005Status: Live

Request

const result = await client.get(
  "/api/v1/gpu/status/:id"
);
🤖

Robotics / RTP

8 endpoints

Robot Task Protocol (RTP) — the open standard for AI agents to discover, commission, and pay for physical robot tasks via x402. Proposed as an x402 extension in #1569.

POST x402 Task
Dispatch a paid task to an RTP-registered robot. x402 payment held in escrow until completion.
/api/v1/robots/task
$0.05 USDC

Description

Dispatch a paid task to an RTP-registered robot. x402 payment held in escrow until completion.

Method: POSTPrice: $0.05Status: Live

Request

const result = await client.post(
  "/api/v1/robots/task", {...}
);
GET x402 List
Discover RTP robots. Filter by capability, chain, price, status.
/api/v1/robots/list
$0.005 USDC

Description

Discover RTP robots. Filter by capability, chain, price, status.

Method: GETPrice: $0.005Status: Live

Request

const result = await client.get(
  "/api/v1/robots/list"
);
GET x402 Status
Poll RTP task status: PENDING, DISPATCHED, IN_PROGRESS, COMPLETED, FAILED, TIMEOUT.
/api/v1/robots/status
$0.002 USDC

Description

Poll RTP task status: PENDING, DISPATCHED, IN_PROGRESS, COMPLETED, FAILED, TIMEOUT.

Method: GETPrice: $0.002Status: Live

Request

const result = await client.get(
  "/api/v1/robots/status"
);
GET x402 Profile
Full RTP robot profile: capabilities, pricing, connection type.
/api/v1/robots/profile
$0.002 USDC

Description

Full RTP robot profile: capabilities, pricing, connection type.

Method: GETPrice: $0.002Status: Live

Request

const result = await client.get(
  "/api/v1/robots/profile"
);
POST x402 Register
Register a robot with capabilities, pricing, and connection config.
/api/v1/robots/register
FREE

Description

Register a robot with capabilities, pricing, and connection config. Returns robot_id, rtp_uri, x402_endpoint.

Method: POSTPrice: FREEStatus: Live

Request

const result = await client.post(
  "/api/v1/robots/register", {...}
);
POST x402 Complete
Robot reports task result — triggers escrow release or refund.
/api/v1/robots/complete
FREE

Description

Robot reports task result — triggers escrow release or refund.

Method: POSTPrice: FREEStatus: Live

Request

const result = await client.post(
  "/api/v1/robots/complete", {...}
);
PATCH x402 Update
Update robot name, capabilities, pricing, or connection config.
/api/v1/robots/update
FREE

Description

Update robot name, capabilities, pricing, or connection config.

Method: PATCHPrice: FREEStatus: Live

Request

const result = await client.patch(
  "/api/v1/robots/update", {...}
);
POST x402 Deregister
Remove a robot from the registry — blocked if active tasks exist.
/api/v1/robots/deregister
FREE

Description

Remove a robot from the registry — blocked if active tasks exist.

Method: POSTPrice: FREEStatus: Live

Request

const result = await client.post(
  "/api/v1/robots/deregister", {...}
);
🏭

Supply Chain / SCTP

8 endpoints

Supply Chain Task Protocol — structured B2B commerce primitives: suppliers, purchase orders, invoices, AI-verified invoicing, and supplier payments. Full x402 payment flow from supplier registration through settled payment, all on Base.

POST SCTP Supplier
Register a supplier in the SCTP directory.
/api/v1/sctp/supplier
$0.02 USDC

Description

Register a supplier in the SCTP directory.

Method: POSTPrice: $0.02Status: Live

Request

const result = await client.post(
  "/api/v1/sctp/supplier", {...}
);
GET SCTP Supplier Lookup
Get supplier details by ID.
/api/v1/sctp/supplier/:id
$0.005 USDC

Description

Get supplier details by ID.

Method: GETPrice: $0.005Status: Live

Request

const result = await client.get(
  "/api/v1/sctp/supplier/:id"
);
POST SCTP Po
Create a purchase order with line items and supplier.
/api/v1/sctp/po
$0.02 USDC

Description

Create a purchase order with line items and supplier.

Method: POSTPrice: $0.02Status: Live

Request

const result = await client.post(
  "/api/v1/sctp/po", {...}
);
GET SCTP Po Lookup
Get purchase order details.
/api/v1/sctp/po/:id
$0.005 USDC

Description

Get purchase order details.

Method: GETPrice: $0.005Status: Live

Request

const result = await client.get(
  "/api/v1/sctp/po/:id"
);
POST SCTP Invoice
Submit an invoice linked to a purchase order.
/api/v1/sctp/invoice
$0.02 USDC

Description

Submit an invoice linked to a purchase order.

Method: POSTPrice: $0.02Status: Live

Request

const result = await client.post(
  "/api/v1/sctp/invoice", {...}
);
GET SCTP Invoice Lookup
Get invoice details.
/api/v1/sctp/invoice/:id
$0.005 USDC

Description

Get invoice details.

Method: GETPrice: $0.005Status: Live

Request

const result = await client.get(
  "/api/v1/sctp/invoice/:id"
);
POST SCTP Verify
AI-verify an invoice against its purchase order. Returns match score and flags.
/api/v1/sctp/invoice/verify
$0.03 USDC

Description

AI-verify an invoice against its purchase order. Returns match score and flags.

Method: POSTPrice: $0.03Status: Live

Request

const result = await client.post(
  "/api/v1/sctp/invoice/verify", {...}
);
POST SCTP Pay
Execute supplier payment for a verified invoice via batch settlement.
/api/v1/sctp/pay
$0.10 USDC

Description

Execute supplier payment for a verified invoice via batch settlement.

Method: POSTPrice: $0.10Status: Live

Request

const result = await client.post(
  "/api/v1/sctp/pay", {...}
);
👛

Agent Wallet (ERC-4337)

5 endpoints

Smart-contract wallet provisioning for AI agents on Base. Factory-deployed minimal proxies with session keys, spending limits, and time-bound permissions.
Factory: 0xFBD832Db6D9a05A0434cd497707a1bDC43389CfD · Implementation: 0x61818Ae8bC161D1884Fd8823985B80e6733C34E7

POST x402 Provision
Create a smart contract wallet for an AI agent on Base.
/api/v1/agent-wallet/provision
$0.05 USDC

Description

Create a smart contract wallet for an AI agent on Base. Returns wallet address and optional encrypted key.

Method: POSTPrice: $0.05Status: Live

Request

const result = await client.post(
  "/api/v1/agent-wallet/provision", {...}
);
POST x402 Session Key
Add a session key with spending limits and time bounds to an agent wallet.
/api/v1/agent-wallet/session-key
$0.02 USDC

Description

Add a session key with spending limits and time bounds to an agent wallet.

Method: POSTPrice: $0.02Status: Live

Request

const result = await client.post(
  "/api/v1/agent-wallet/session-key", {...}
);
GET x402 Info
Get agent wallet info including balance, metadata, and session keys.
/api/v1/agent-wallet/info
$0.005 USDC

Description

Get agent wallet info including balance, metadata, and session keys.

Method: GETPrice: $0.005Status: Live

Request

const result = await client.get(
  "/api/v1/agent-wallet/info"
);
POST x402 Revoke Key
Revoke a session key immediately.
/api/v1/agent-wallet/revoke-key
$0.02 USDC

Description

Revoke a session key immediately.

Method: POSTPrice: $0.02Status: Live

Request

const result = await client.post(
  "/api/v1/agent-wallet/revoke-key", {...}
);
GET x402 Predict
Predict agent wallet address before deployment.
/api/v1/agent-wallet/predict
$0.001 USDC

Description

Predict agent wallet address before deployment.

Method: GETPrice: $0.001Status: Live

Request

const result = await client.get(
  "/api/v1/agent-wallet/predict"
);
🔐

Wallet Provisioning

6 endpoints

Multi-chain agent wallet primitives: list, inspect, sign, and broadcast transactions from agent-owned wallets. Separate from agent-wallet (ERC-4337 smart wallets) — these are standard keyed wallets with server-side signing for rapid prototyping.

GET x402 List
List agent wallets with pagination.
/api/v1/wallet/list
$0.002 USDC

Description

List agent wallets with pagination.

Method: GETPrice: $0.002Status: Live

Request

const result = await client.get(
  "/api/v1/wallet/list"
);
GET x402 :Walletid
Get agent wallet details.
/api/v1/wallet/:walletId
$0.001 USDC

Description

Get agent wallet details.

Method: GETPrice: $0.001Status: Live

Request

const result = await client.get(
  "/api/v1/wallet/:walletId"
);
GET x402 Addresses
Get chain-specific addresses for a wallet.
/api/v1/wallet/:walletId/addresses
$0.001 USDC

Description

Get chain-specific addresses for a wallet.

Method: GETPrice: $0.001Status: Live

Request

const result = await client.get(
  "/api/v1/wallet/:walletId/addresses"
);
POST x402 Sign Message
Sign a message with an agent wallet.
/api/v1/wallet/sign-message
$0.005 USDC

Description

Sign a message with an agent wallet.

Method: POSTPrice: $0.005Status: Live

Request

const result = await client.post(
  "/api/v1/wallet/sign-message", {...}
);
POST x402 Send Transaction
Sign and broadcast a transaction from an agent wallet.
/api/v1/wallet/send-transaction
$0.02 USDC

Description

Sign and broadcast a transaction from an agent wallet.

Method: POSTPrice: $0.02Status: Live

Request

const result = await client.post(
  "/api/v1/wallet/send-transaction", {...}
);
POST x402 Create
Create a new agent wallet (keyed, server-side signed).
/api/v1/wallet/create
FREE

Description

Create a new agent wallet (keyed, server-side signed).

Method: POSTPrice: FREEStatus: Live

Request

const result = await client.post(
  "/api/v1/wallet/create", {...}
);
💧

XRP Ledger

3 endpoints
POST x402 Batch
Batch XRP payments on XRP Ledger.
/api/v1/xrp/batch
$0.02 USDC

Description

Batch XRP payments on XRP Ledger.

Method: POSTPrice: $0.02Status: Live

Request

const result = await client.post(
  "/api/v1/xrp/batch", {...}
);
POST x402 Estimate
Estimate XRP batch cost.
/api/v1/xrp/estimate
$0.001 USDC

Description

Estimate XRP batch cost.

Method: POSTPrice: $0.001Status: Live

Request

const result = await client.post(
  "/api/v1/xrp/estimate", {...}
);
GET x402 Info
XRP Ledger chain info, fee address, and supported features.
/api/v1/xrp/info
FREE

Description

XRP Ledger chain info, fee address, and supported features.

Method: GETPrice: FREEStatus: Live

Request

const result = await client.get(
  "/api/v1/xrp/info"
);

Stellar

2 endpoints
POST x402 Batch
Batch XLM payments on Stellar.
/api/v1/stellar/batch
$0.02 USDC

Description

Batch XLM payments on Stellar.

Method: POSTPrice: $0.02Status: Live

Request

const result = await client.post(
  "/api/v1/stellar/batch", {...}
);
POST x402 Estimate
Estimate Stellar batch cost.
/api/v1/stellar/estimate
$0.001 USDC

Description

Estimate Stellar batch cost.

Method: POSTPrice: $0.001Status: Live

Request

const result = await client.post(
  "/api/v1/stellar/estimate", {...}
);
🛡️

Compliance & Tax

2 endpoints
POST x402 Calculate
Calculate crypto tax gain/loss using FIFO method.
/api/v1/tax/calculate
$0.08 USDC

Description

Calculate crypto tax gain/loss using FIFO method.

Method: POSTPrice: $0.08Status: Live

Request

const result = await client.post(
  "/api/v1/tax/calculate", {...}
);
GET x402 Report
Retrieve tax report with IRS 8949-compatible data.
/api/v1/tax/report
$0.05 USDC

Description

Retrieve tax report with IRS 8949-compatible data.

Method: GETPrice: $0.05Status: Live

Request

const result = await client.get(
  "/api/v1/tax/report"
);