# AxonGate Web-to-Markdown Extraction

> AxonGate Web-to-Markdown Extraction is a paid API for AI agents from web-production-8136ee.up.railway.app, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-14).

Fetches a public URL and returns its content as clean, readable Markdown via a paid x402 micropayment flow

## Facts

- Endpoint: POST https://web-production-8136ee.up.railway.app/v1/x402/access
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/web-production-8136ee-up-railway-app-e8e11ecd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_diSOFmPuPPPBrntbheUqm

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability web-production-8136ee-up-railway-app-e8e11ecd -d '<json body>'
```

Example prompt: Can you fetch https://en.wikipedia.org/wiki/Markdown and give me the page content as clean markdown — use the fresh tier so I get the latest version.

## When to prefer this

Choose this endpoint when you need to retrieve and process public web page content as clean Markdown for LLM ingestion, summarization, or analysis, especially when you want a paid-quality extraction with tier-based freshness control (cached through deep) rather than a free scraper that may return noisy HTML.

## Known failure modes

- Invalid or unreachable target_url returns an error
- Payment challenge not met results in 402 response
- Tier mismatch between query param and body causes payment amount conflict
- force_refresh requested on cached tier is not supported and may return an error
- Private or localhost URLs are rejected
- Rate limiting or payment failure aborts the request

## How this service works

AxonGate Clean Context Broker: paid Web-to-Markdown extraction.

## Output

Clean Markdown rendering of the target webpage's content, stripped of HTML noise, ads, and navigation; the depth and freshness of extraction depends on the chosen tier (cached, basic, fresh, or deep).

## Example request

```json
{
 "tier": "fresh",
 "target_url": "https://en.wikipedia.org/wiki/Markdown",
 "force_refresh": false
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "tier": {
   "enum": [
    "cached",
    "basic",
    "fresh",
    "deep"
   ],
   "type": "string",
   "default": "fresh",
   "description": "Payment tier. Standard x402 clients should also pass this as ?tier= or X-AxonGate-Tier so the challenge amount matches the request."
  },
  "target_url": {
   "type": "string",
   "format": "uri",
   "description": "Absolute public HTTP/HTTPS URL to convert into clean markdown."
  },
  "force_refresh": {
   "type": "boolean",
   "default": false,
   "description": "Bypass cache for cacheable tiers. Not supported for cached tier."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "_truncated",
  "_originalSize"
 ],
 "properties": {
  "_truncated": {
   "type": "boolean"
  },
  "_originalSize": {
   "type": "number"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/web-production-8136ee-up-railway-app-e8e11ecd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from web-production-8136ee.up.railway.app](https://www.zero.xyz/host/web-production-8136ee.up.railway.app/llms.txt)
