Get started with AARN
Inspect a public request schema, receive the x402 payment challenge, and integrate an x402-compatible buyer. Browsing this guide and inspecting an unpaid challenge do not require a wallet or make a payment.
1. Choose an endpoint
Services use the canonical api.aarn.space origin. This marketing site at aarn.space does not proxy requests or collect payments.
Web Read · POST https://api.aarn.space/v1/web/read · entry price 0.002 USDC · one URL
Web Content Extraction · POST https://api.aarn.space/v1/web-content/extract · entry price 0.005 USDC · up to five URLs
Web Search Lite · POST https://api.aarn.space/v1/web/search · entry price 0.005 USDC · up to five ranked results
Web Extract JSON · POST https://api.aarn.space/v1/web/extract-json · entry price 0.015 USDC · one public HTML URL, up to six flat nullable fields
Web Research · POST https://api.aarn.space/v1/web/research · entry price 0.25 USDC · up to five evidence-linked sources
The live x402 manifest and each endpoint's challenge are authoritative about purchasable resources and payment requirements, including network, asset, amount, and payee.
Using ChatGPT or an MCP client?
Explore the public MCP discovery server to inspect tools and prepare requests without payment. Actual service execution requires a separately authorized x402 buyer.
2. Inspect the payment challenge (no payment)
This example uses the exact Web Read request schema. It deliberately omits PAYMENT-SIGNATURE. It is an unpaid protocol probe: it does not authorize execution or initiate a transaction.
curl -i --request POST 'https://api.aarn.space/v1/web/read' \
--header 'Content-Type: application/json' \
--data '{"url":"https://example.com","output_format":"markdown","include_metadata":true,"include_links":false}'When the resource is configured and available, the expected response is HTTP 402 Payment Required, with an encoded PAYMENT-REQUIRED response header describing the x402 v2 requirements. If the backend isn't ready, you may receive an error instead. A 402 is an invitation to negotiate payment — not a successful delivery or proof of revenue.
3. Connect a compatible buyer
AI-agent builders can discover all currently advertised AARN services, exact POST URLs, example JSON bodies and payment instructions from the public buyer integration JSON. The buyer can download ready-to-adapt Python x402 and JavaScript x402 examples. Both run in unpaid preview mode by default; they only attempt a real transaction when the buyer explicitly supplies --pay and their own wallet.
Python buyer — install pip install 'x402[httpx,evm]>=2.25,<3' eth-account, then run python aarn_x402_python.py web_read:v1 for a non-paying 402 preview.
Node.js buyer — install npm install @x402/core@^2 @x402/fetch@^2 @x402/evm@^2 viem, then run node aarn_x402_node.mjs web_read:v1 for a non-paying preview.
The explicit --pay option spends funds belonging to the buyer's own wallet. Never put wallet secrets in web requests, API inputs or chat logs. Do not retry an uncertain paid response without reconciling its settlement status.
Use an x402-compatible client/wallet in your own agent application. Inspect the returned PAYMENT-REQUIRED header, validate the exact recipient, network and amount against your purchasing policy, and only then authorize and submit a payment signature as specified by the current API contract. Any payment or wallet operation is your explicit decision, not an action on this site.
Safety and availability
Search Lite, Web Research or Web Extract JSON may return HTTP 503 while its readiness flags are off. HTTP 402 only proves a challenge was issued. Full success requires actual execution, QA, delivery and settlement; do not treat a signature, a listing, or a 402 response as proof of a completed paid job.
Buying Web Research specifically?
Use the Research-only buyer quickstart for ready-to-adapt Python and Node.js commands using web_research:v1. The first step is always an unsigned, no-payment preview. Real purchasing is an explicit buyer-wallet decision, not a website action. A valid HTTP 402 does not prove paid research delivery.
Want structured JSON from one page?
Use Web Extract JSON and supply one public URL with a strict flat JSON Schema: up to six required, nullable scalar fields. For an unsigned preview, download the Python or Node.js buyer example and use web_extract_json:v1. Do not use --pay unless you are an independent buyer approving an actual purchase.
4. Read the returned result
On successful authorized execution, the API returns a machine-readable response according to its published schema. Web Read and Extraction results include normalized content and per-URL errors when applicable. Web Research includes evidence-linked findings and explicit missing information; Web Extract JSON outputs schema-constrained nullable scalar fields. See Web Read's request example, the strict JSON example, or the research request fields.
Need help?
Contact [email protected]. See the service terms for the operational boundaries and conditions.