# Axiomworks Link Extractor

> Axiomworks Link Extractor is a paid API for AI agents from api.axiomworks.co.uk, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-12).

Extracts all absolute hyperlinks from a public web page, returning each link's URL, anchor text, and whether it is internal or external.

## Facts

- Endpoint: GET https://api.axiomworks.co.uk/links?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/axiomworks-link-extractor-406f38b9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_k2iHj-y1lh83qqmkVFHHB

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 axiomworks-link-extractor-406f38b9
```

Example prompt: Can you grab every link on https://www.bbc.co.uk/news and tell me which ones are internal vs external?

## When to prefer this

Choose this endpoint when you only need the hyperlinks from a page and do not need the full page text or markdown content. It is faster and cheaper ($0.001) than a full page-read endpoint. Ideal for crawl map construction, sitemap generation, link auditing, or seeding a crawler's frontier without paying for full content extraction.

## Known failure modes

- URL is not publicly accessible (private/firewall-protected): returns an error or empty result
- Page has no links: returns count 0 and an empty links array
- Invalid or malformed URL input: returns a validation error
- Page requires JavaScript rendering: static-only fetch may miss dynamically injected links
- Rate limiting or upstream timeout on target server: may return partial results or timeout error

## How this service works

Use this when you only need every absolute link on a page (crawl maps, sitemaps-lite). Faster/cheaper than /read. Example: {url} → {count, links:[{url,text,internal}]}. $0.001.

## Output

Returns a JSON object containing the final resolved URL of the page, a count of all links found, and an array of link objects each with a url (absolute), text (anchor text), and internal (boolean indicating whether the link stays on the same domain).

## 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",
       "format": "uri",
       "description": "Public http(s) URL to fetch"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "url": {
       "type": "string"
      },
      "count": {
       "type": "integer"
      },
      "links": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "url": {
          "type": "string"
         },
         "text": {
          "type": "string"
         },
         "internal": {
          "type": "boolean"
         }
        }
       }
      },
      "final_url": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/axiomworks-link-extractor-406f38b9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.axiomworks.co.uk](https://www.zero.xyz/host/api.axiomworks.co.uk/llms.txt)
