# Otto AI Web Links Extractor

> Otto AI Web Links Extractor is a paid API for AI agents from x402.ottoai.services, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-16).

Extracts all hyperlinks from a given public HTTP/HTTPS URL and returns them as a structured list

## Facts

- Endpoint: GET https://x402.ottoai.services/web-links
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/otto-ai-web-links-extractor-771259cc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_U7A03oibuF-n0B5brByZP

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 otto-ai-web-links-extractor-771259cc
```

Example prompt: Can you extract all the hyperlinks from https://example.com and give me the full list of URLs found on that page?

## When to prefer this

Use this endpoint when you need a quick, pay-per-call extraction of all hyperlinks from a single public webpage without running your own scraper infrastructure. Ideal for lightweight link discovery tasks where you want structured JSON output including freshness metadata.

## Known failure modes

- Invalid or non-public URL returns an error or empty result
- URL behind authentication or paywall cannot be fetched
- Timeout if the target page is slow to respond
- Non-HTML responses (e.g. PDFs, images) may yield no links
- Rate limiting or blocking by the target server may cause degraded mode

## How this service works

Extract all links (hrefs) from any web page as structured JSON — every internal, external and anchor link, deduplicated, returned with a total count. Renders the page in a real headless browser, so it captures links injected after JavaScript runs that fetch-only scrapers miss. For crawling, sitemap building, link audits and site-structure mapping. Keyless, pay-per-call.

## Output

Returns a JSON object containing the source URL, total count of links found, an array of all extracted hyperlink URLs, and a generatedAt timestamp. Also includes metadata about data freshness (validUntil, stalenessSec, degraded flag).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Public http(s) URL to extract links from (e.g. https://blog.ethereum.org/2024/02/27/dencun-mainnet-announcement)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "status"
     ],
     "properties": {
      "data": {},
      "meta": {
       "type": "object"
      },
      "reason": {
       "type": "string",
       "description": "status=unavailable only; every >=400 is UNCHARGED"
      },
      "status": {
       "enum": [
        "success",
        "unavailable"
       ],
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "url": "https://blog.ethereum.org/2024/02/27/dencun-mainnet-announcement",
   "count": 63,
   "links": [
    "https://eips.ethereum.org/EIPS/eip-7569"
   ],
   "generatedAt": "2026-08-10T09:43:01.185Z"
  },
  "meta": {
   "degraded": false,
   "validUntil": "",
   "generatedAt": "",
   "stalenessSec": 0
  },
  "status": "success"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/otto-ai-web-links-extractor-771259cc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.ottoai.services](https://www.zero.xyz/host/x402.ottoai.services/llms.txt)
