# Delx Commerce — Link Extractor

> Delx Commerce — Link Extractor is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-01).

Extracts all hyperlinks from a given URL, classifying them as internal or external, with configurable limit and timeout.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/links-extract?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-link-extractor-a298841a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-nqcH66mxDUhvztfAD8mk

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 delx-commerce-link-extractor-a298841a -d '<json body>'
```

Example prompt: Can you extract all the links from https://example.com and tell me which ones are internal vs external? Limit it to 50 links and use a 10-second timeout.

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call link extraction from a single URL without setting up infrastructure or authentication. It's ideal for agents that need to enumerate hyperlinks on demand with clear pricing ($0.01 USDC), verifiable delivery, and no signup friction. Prefer this over self-hosted scrapers when cost predictability and simplicity matter.

## Known failure modes

- URL is unreachable or returns non-200 status — likely results in an error or empty link list
- Timeout exceeded (max 15s) — partial or empty results if the page is slow
- Page is JavaScript-rendered — links injected by JS may not be captured if the fetcher doesn't execute JS
- Limit parameter too low — may truncate results, missing some links
- Malformed URL input — API may return a validation error

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object containing an array of link objects (each with a URL string and a kind field of 'internal' or 'external'), plus summary counts: total_links, external_links, and internal_links.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string"
  },
  "limit": {
   "type": "integer",
   "maximum": 100,
   "minimum": 1
  },
  "timeout": {
   "type": "integer",
   "maximum": 15,
   "minimum": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "links": [
    {
     "url": "https://www.iana.org/domains/example",
     "kind": "external"
    }
   ],
   "total_links": 1,
   "external_links": 1,
   "internal_links": 0
  },
  "tool_name": "util_links_extract"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-link-extractor-a298841a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
