# PennyRail URL Extractor

> PennyRail URL Extractor 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 all URLs from a given text string and returns them as a structured list

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/p/nano/text.extract-urls--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/pennyrail-url-extractor-1bd65ba1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aTTXMi55lXyMp_xXSv9xx

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-1bd65ba1 -d '<json body>'
```

Example prompt: Extract all the URLs from this text for me: 'Check out our new product at https://example.com and read the docs at https://docs.example.com/guide. You can also follow us on https://twitter.com/example.'

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call URL extraction service that charges a fraction of a cent per request. Ideal for pipelines where you need to parse URLs from arbitrary text at scale without maintaining your own regex infrastructure. Best suited for single-text inputs rather than batch document processing.

## Known failure modes

- Empty input string returns empty URL list or an error
- Malformed or non-standard URLs may not be detected
- Very large text bodies may time out or exceed input limits
- No URLs present in input returns an empty result set
- Input that is not a string may fail schema validation

## How this service works

Machine-readable settlement service

## Output

A structured object containing the list of URLs extracted from the input text, identifying all web addresses found within the provided string.

## 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-1bd65ba1/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)
