# Cerawal Link Extractor

> Cerawal Link Extractor is a paid API for AI agents from cerawal.vercel.app, paid per call via x402, $0.15/call, status unknown (last checked 2026-09-15).

Extracts all hyperlinks from a given URL, enabling web scraping for AI agents with pay-per-request USDC billing via x402

## Facts

- Endpoint: POST https://cerawal.vercel.app/api/links
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cerawal-link-extractor-6668e106
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MLgqKtWQwz-OmkWDnq0Hv

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 cerawal-link-extractor-6668e106 -d '<json body>'
```

Example prompt: Can you extract all the links from https://example.com/blog so I can see what pages they link to?

## When to prefer this

Use this endpoint when you need to extract all hyperlinks from a specific webpage without setting up authentication or subscriptions — ideal for AI agents that need pay-as-you-go web link extraction billed in USDC via x402, with no API key management overhead.

## Known failure modes

- Invalid or unreachable URL returns an error or empty data
- Page behind authentication or paywalled content may return no links
- JavaScript-rendered pages may not have links extracted if the crawler doesn't execute JS
- Network timeout if the target URL is slow to respond
- Malformed URL input causes request failure

## How this service works

Web scraping and search for AI agents. No auth, no subscriptions. Pay per request in USDC via x402.

## Output

Returns a JSON object with a success boolean and a data object containing the extracted links found at the given URL

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "url"
 ],
 "properties": {
  "url": {
   "type": "string",
   "description": "URL to extract links from"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cerawal-link-extractor-6668e106/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cerawal.vercel.app](https://www.zero.xyz/host/cerawal.vercel.app/llms.txt)
