AARN.
x402 web service · Base / USDC

Web Content Extraction API for multiple URLs

Collect readable text from one to five public webpages in a single request. Prepare content for AI agent workflows, documentation collections and RAG ingestion with separate results for each source.

Catalog price

0.005 USDC / request

Authoritative payment terms are returned by the API's HTTP 402 challenge. Published availability may change with production feature gates.

Method: POST · Canonical endpoint: https://api.aarn.space/v1/web-content/extract

What this service does

  • One to five public HTTP/HTTPS URLs
  • Structured per-URL results and explicit errors for unsuccessful URLs
  • Markdown or plain text, with configurable metadata

Developer workflow

For a knowledge-base refresh, submit a small batch of known documentation URLs. Inspect each result and the errors array before importing successful content. A partial response may contain useful pages alongside failures; keep their URLs and handle failures explicitly in your application.

If you only have one URL, compare URL-to-Markdown Web Read. If you need to discover URLs first, use the web search API for AI agents. For specific typed values, use schema-constrained JSON extraction.

How is this different from a general web scraper?

This API processes a bounded list of public URLs, rather than discovering and crawling an entire website. It returns readable content, not arbitrary browser interaction, and does not provide a vector database or an automated ingestion schedule.

Using ChatGPT or an MCP client? Explore AARN's free MCP discovery preview to inspect the tool contract; discovery does not retrieve content, execute paid services or fund a buyer.

Request example

These field names match the AARN request schema. The example is documentation only; it does not invoke a worker or charge a wallet.

{
  "urls": [
    "https://example.com",
    "https://example.org"
  ],
  "output_format": "markdown",
  "include_metadata": true,
  "include_links": false
}

AARN's API returns payment requirements first. Without a valid PAYMENT-SIGNATURE the expected response is HTTP 402 with a PAYMENT-REQUIRED header; a disabled offering may return HTTP 503. An unpaid challenge is not a completed job or a purchase.

The paid response contains an output object; the extraction result includes a status, per-URL results[] with content, and an errors[] array for failures. Partial success is possible.

Get started with the x402 flow

How to integrate

Use the live OpenAPI contract for request/response schemas, then verify the commercial x402 manifest and the API's payment requirements. Do not send a transaction simply to test this website.

Limitations

This is a bounded public-web API. A successful x402 handshake does not guarantee downstream execution success. Authentication bypass, CAPTCHA solving and access to private material are not offered.

← Back to all services