Developers

Everything an agent needs is generated from the same route roster this site reads.

Quickstart

Every paid route is an ordinary HTTP call made twice.

# 1. Read the catalog: every route, its price, the assets and the address to pay
curl -s https://algorand-api.pxke.me/api/v1/x402

# 2. Call a paid route with no payment: HTTP 402, the offer is in PAYMENT-REQUIRED
curl -si 'https://algorand-api.pxke.me/api/v1/x402/news/search?q=algorand'

# 3. Sign an Algorand transfer for that offer, then repeat with PAYMENT-SIGNATURE
curl -s 'https://algorand-api.pxke.me/api/v1/x402/news/search?q=algorand' -H "PAYMENT-SIGNATURE: $SIGNED"

Discovery documents

One document lists every route, its price, the accepted assets and the address to pay. Fetch it first.

Network
mainnet (algorand:wGHE2Pwdvd7S12BL5FaOP20EGYesN73ktiC1qzkkit8=)
Pay to
KSAVOYTVNB7A6NKCM4W2WBOOGFHWH2SEGR5T6OGB7THCAT5E36LDFEBTII

Settlement is performed by the facilitator. Its merchant page is the independent record of every settled payment.

Routes and prices

Scan

RoutePrice
POST /api/v1/x402/scan/url$0.01

Storage

RoutePrice
POST /api/v1/x402/storage/auth/challengefree
POST /api/v1/x402/storage/auth/noncefree
POST /api/v1/x402/storage/backups$0.002 / MB / 90 days
GET /api/v1/x402/storage/backupsfree
GET /api/v1/x402/storage/backups/:backup_idfree
POST /api/v1/x402/storage/backups/:backup_id/renew$0.002 / MB / 90 days
POST /api/v1/x402/storage/backups/:backup_id/versions$0.002 / MB / 90 days
GET /api/v1/x402/storage/backups/:backup_id/versionsfree
GET /api/v1/x402/storage/backups/:backup_id/versions/:versionfree
DELETE /api/v1/x402/storage/backups/:backup_idfree

News

RoutePrice
GET /api/v1/x402/newsfree
GET /api/v1/x402/news/tagsfree
GET /api/v1/x402/news/search$0.001
GET /api/v1/x402/news/articles/:article_idfree

Python client

A thin client for the free reads and the x402-signed paid calls, with the payTo allowlist and a payment ceiling built in.

mirror
/sdk/

free preview

Add ?preview=true for a free, redacted example of the response shape. Nothing is fetched, nothing is charged.

curl -s 'https://algorand-api.pxke.me/api/v1/x402/news/search?q=algorand&preview=true'

Recent settlements

Real payments from other wallets across every product, newest first. Our own probes are excluded.

GET /api/v1/x402/settlements/recent

No settlements in the recent window. The full count is on the facilitator’s merchant page.

Verify on the facilitator