# PennyRail Email Extractor

> PennyRail Email 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 email addresses from a given text string and returns them as structured output

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/p/nano/text.extract-emails--extract-emails
- 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-email-extractor-30afa847
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QL8ZJKGLOlXFJEjFmE2hv

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-email-extractor-30afa847 -d '<json body>'
```

Example prompt: Can you pull out all the email addresses from this text: 'Contact us at support@example.com or reach our sales team at sales@company.org for more info.'?

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call email extraction from a text string without standing up your own regex or NLP pipeline. It is ideal for agent workflows that occasionally need to parse emails from unstructured text and want a simple POST interface with micro-transaction pricing ($0.001 USDC per call).

## Known failure modes

- No emails found in input text — returns empty result or empty array
- Malformed or missing 'input' field — returns a 400-level error
- Input text is too long or exceeds payload limits — may return a 413 or truncation error
- Non-string input type — schema validation failure
- Payment not processed correctly via x402 — returns 402 Payment Required

## How this service works

Machine-readable settlement service

## Output

A structured object containing the email addresses extracted from the input text, returned as a JSON response with the parsed email values.

## 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-email-extractor-30afa847/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)
