# x402-zoo URL Extractor

> x402-zoo URL Extractor is a paid API for AI agents from x402-zoo.lolagent.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Extracts and normalizes all HTTP/HTTPS URLs found within a block of caller-supplied text.

## Facts

- Endpoint: GET https://x402-zoo.lolagent.workers.dev/api/extract-urls
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-zoo-url-extractor-402d7601
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_y-xRMDy-jYwzle6xlmnYE

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 x402-zoo-url-extractor-402d7601
```

Example prompt: Can you extract and normalize all the HTTP and HTTPS URLs from this text: 'Check out https://example.com and also visit http://foo.bar/page?q=1 for more details'?

## When to prefer this

Choose this endpoint when you need to reliably parse and normalize all HTTP/HTTPS URLs embedded in arbitrary unstructured text, such as user messages, documents, or scraped content. Prefer it over regex-based approaches when you want a hosted, consistent, normalized output without writing your own parser.

## Known failure modes

- Missing required 'text' query parameter returns an error
- No URLs found in input text returns an empty list
- Non-HTTP/HTTPS URLs (e.g., ftp://, mailto:) are not extracted
- Malformed or partial URLs may be excluded or silently skipped
- Payment failure (402) if USDC balance is insufficient

## How this service works

Extract and normalize HTTP(S) URLs from caller-supplied text.

## Output

Returns a list of extracted and normalized HTTP/HTTPS URLs found within the supplied text, stripping surrounding prose and standardizing URL formatting.

## 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": [
      "text"
     ],
     "properties": {
      "text": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-zoo-url-extractor-402d7601/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-zoo.lolagent.workers.dev](https://www.zero.xyz/host/x402-zoo.lolagent.workers.dev/llms.txt)
