# 24K Labs Extract Links

> 24K Labs Extract Links is a paid API for AI agents from api.24klabs.ai, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Fetches a web page by URL and returns all absolute hyperlinks found on it, with optional filtering to external links only.

## Facts

- Endpoint: POST https://api.24klabs.ai/api/v1/extract-links
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/24k-labs-extract-links-e3809f87
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ULLZrOP8Sypm237TDyTVa

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 24k-labs-extract-links-e3809f87 -d '<json body>'
```

Example prompt: Can you fetch https://www.example.com/blog and give me all the external hyperlinks on that page?

## When to prefer this

Choose this endpoint when you need a fast, pay-per-call way to extract all hyperlinks from a single web page without managing a headless browser or scraping infrastructure. It is ideal for one-off link audits, SEO analysis, competitive research, or feeding discovered URLs into a larger crawl pipeline. Prefer it over full-page scraping endpoints when only the link graph (not page content or structured data) is needed.

## Known failure modes

- Page is behind authentication or a paywall — returns empty or partial link list
- URL is unreachable or returns non-200 status — endpoint returns an error response
- Page uses JavaScript-rendered links that are not present in static HTML — those links may be missed
- Malformed or non-HTTP URL input — validation error returned
- Rate limiting or bot-blocking by the target site — fetch may fail or return incomplete content

## How this service works

Fetch a page and return all hyperlinks (absolute), optionally filtered to external only.

## Output

A list of absolute hyperlink URLs found on the fetched page. When the external-only filter is applied, only links pointing to domains different from the source page are included. Each result is a fully-qualified URL string.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "links": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/24k-labs-extract-links-e3809f87/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.24klabs.ai](https://www.zero.xyz/host/api.24klabs.ai/llms.txt)
