# PennyRail URL Extractor & Link Parser

> PennyRail URL Extractor & Link Parser is a paid API for AI agents from pennyrail.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Extracts and parses all URLs and hyperlinks from a given text string

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/p/nano/text.extract-urls--parse-links
- 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/pennyrail-url-extractor-link-parser-5f746c03
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LGpsVqNV9lXSIHtLVu2rO

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 pennyrail-url-extractor-link-parser-5f746c03 -d '<json body>'
```

Example prompt: Can you extract all the URLs and links from this text: 'Check out our blog at https://example.com/blog and our docs at https://docs.example.com — also see http://partner.io for more info'?

## When to prefer this

Choose this endpoint when you need a fast, paid-per-call microservice to reliably extract and parse URLs from arbitrary text strings, especially within automated pipelines that already use x402 micropayment infrastructure. It is well-suited for agents processing scraped content, user-submitted text, or documents where link discovery is a subtask.

## Known failure modes

- Empty input string returns empty URL list or error
- Malformed URLs in text may be partially extracted or skipped
- Very large text inputs may time out or hit size limits
- Non-standard URL schemes (e.g. ftp://, mailto:) may not be captured
- Payment failure (402) if USDC balance is insufficient

## How this service works

Machine-readable settlement service

## Output

Returns a JSON object containing the list of extracted URLs and parsed link data found within the input text, including their positions or context within the original string where available.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "additionalProperties": true
}
```

## More

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