# Machine Shop – Extract Typed Patterns

> Machine Shop – Extract Typed Patterns is a paid API for AI agents from api.pay-forge.online, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-20).

Extracts typed data entities (URLs, dates, money amounts, emails, EVM addresses) from a supplied text document into structured JSON.

## Facts

- Endpoint: POST https://api.pay-forge.online/v1/extract-patterns?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/machine-shop-extract-typed-patterns-ba01d76e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mNX3rARV9moQPtTpI_58Z

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 machine-shop-extract-typed-patterns-ba01d76e -d '<json body>'
```

Example prompt: Can you pull out all the email addresses, dates, dollar amounts, and Ethereum wallet addresses from this document: 'Invoice date: 2026-10-18, send payment of $450 to me@example.com, wallet: 0xAbC123...'?

## When to prefer this

Choose this endpoint when you need fast, typed structured extraction of specific entity categories (emails, dates, URLs, money, EVM addresses) from a known text block you already have. It is not a web search or live scraping tool — the text must be supplied directly. Prefer it over general-purpose LLM extraction when you want consistent JSON schema output and cost-predictable per-call pricing at $0.004 USDC.

## Known failure modes

- Text exceeds 50,000 character limit — request rejected
- Malformed or missing 'text' field — validation error
- No entities of any type found — all arrays returned empty
- Ambiguous date formats may be missed or misclassified
- Partial EVM addresses or checksummed variants may not be detected

## How this service works

Turn Apify product scrape results into safe catalog updates with Catalog Update Gate. Find evidence in supplied documents, compare snapshots, extract typed JSON fields, inspect x402 quotes and assess API migrations. Preview inputs, evidence and cost for free. No live web search, scheduled monitoring or third-party purchasing.

## Output

A JSON object with five typed arrays: urls (list of URLs found), dates (ISO date strings found), money (monetary values found), emails (email addresses found), and evm_addresses (Ethereum/EVM wallet addresses found). Empty arrays are returned for entity types not present in the input.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "title": "Text",
   "maxLength": 50000
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "urls": [],
  "dates": [
   "2026-10-18"
  ],
  "money": [],
  "emails": [
   "me@example.com"
  ],
  "evm_addresses": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/machine-shop-extract-typed-patterns-ba01d76e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.pay-forge.online](https://www.zero.xyz/host/api.pay-forge.online/llms.txt)
