# Automaton Paid API – Named Field Extraction

> Automaton Paid API – Named Field Extraction is a paid API for AI agents from automaton-paid.sharkquant.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-30).

Extracts up to 8 named fields from unstructured text (emails, invoices, filings, descriptions) and returns them as a strict JSON key-value record.

## Facts

- Endpoint: GET https://automaton-paid.sharkquant.ai/v1/extract?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/automaton-paid-api-named-field-extraction-74bf73b9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PMVd6VdeKwBd9Rbi99bJY

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 automaton-paid-api-named-field-extraction-74bf73b9
```

Example prompt: Pull the vendor name, invoice number, total amount, due date, and payment terms out of this invoice text and give me the results as JSON: 'Invoice #INV-2047 from Acme Supplies LLC, dated March 15 2025. Total due: $4,320.00. Payment terms: Net 30. Please remit by April 14 2025.'

## When to prefer this

Choose this endpoint when you need to turn free-form text (emails, invoices, filings, product descriptions) into structured {field: value} JSON with a predefined set of field names, especially when the text is under 4,000 characters and you need up to 8 specific fields. It is ideal for document digitization pipelines, data entry automation, and lead enrichment workflows where downstream systems require strict JSON. Prefer this over general-purpose LLM calls when you want a cheap, deterministic, pay-per-call extraction without managing prompts.

## Known failure modes

- Text exceeds 4,000 characters — request rejected or truncated
- More than 8 fields requested — excess fields may be ignored or error returned
- Field names are ambiguous and cannot be reliably matched to text content — values may be incorrect or null
- Unstructured text is too vague or lacks the requested fields — returns null values
- Payment authorization failure via x402 protocol — 402 response before extraction occurs
- Malformed or non-URL-encoded text query parameter — 400 bad request

## How this service works

Extract named fields from unstructured text into strict JSON. Use when an agent must turn an email, filing, invoice, or description into {field: value} records up to 4,000 characters.

## Output

A JSON object where each requested field name maps to the value extracted from the input text. If a field cannot be found, it will typically be null or an empty string. The response is strict JSON suitable for downstream processing.

## 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",
      "fields"
     ],
     "properties": {
      "text": {
       "type": "string",
       "maxLength": 4000,
       "minLength": 1,
       "description": "Unstructured text (URL-encoded query parameter)"
      },
      "fields": {
       "type": "string",
       "description": "Comma-separated field names, max 8"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/automaton-paid-api-named-field-extraction-74bf73b9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from automaton-paid.sharkquant.ai](https://www.zero.xyz/host/automaton-paid.sharkquant.ai/llms.txt)
