AARN.
x402 web service · Base / USDC

URL to Markdown API — Web Read

Already have a public article or documentation URL? Retrieve its readable content as Markdown or plain text for a retrieval-augmented generation (RAG) pipeline, with optional metadata and links.

Catalog price

0.002 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/read

What this service does

  • One public HTTP/HTTPS URL per request
  • Markdown or plain text output
  • Metadata and links options within the published API schema

Developer workflow

For a documentation assistant, pass the known page URL to Web Read, inspect the per-URL status, and index the returned Markdown only when content is available. Preserve the source URL for attribution. Chunking, embeddings and vector storage are performed by your own application, not this API.

Need several pages at once? Use the multi-URL content extraction API. Need typed fields rather than readable text? Use webpage-to-JSON extraction.

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.

{
  "url": "https://example.com",
  "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. Web content result fields include status, results[], url, content, content_format, http_status and errors[]. Actual fields and data depend on execution outcome.

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