# Vextorium Structured Data Extraction

> Vextorium Structured Data Extraction is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.008/call, status unknown (last checked 2026-10-01).

Extracts named fields from free-form text using local AI, returning a JSON object with the requested field values (null when absent).

## Facts

- Endpoint: POST https://api.vextorium.com/extraer-datos-pago?utm_source=zero.xyz
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vextorium-structured-data-extraction-7faa3720
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1Sw-Jez0Zy9Xq-c8kcJbr

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 vextorium-structured-data-extraction-7faa3720 -d '<json body>'
```

Example prompt: Extract the fields 'invoice_number', 'total_amount', 'due_date', and 'vendor_name' from this invoice text: 'Invoice #INV-2047 from Acme Corp, dated March 5 2025, total due $1,240.00 by April 1 2025.'

## When to prefer this

Choose this endpoint when you have free-form text (invoices, emails, receipts, messages) and need to extract a specific, predefined set of named fields into structured JSON. It's ideal for document automation pipelines, form pre-filling, and ETL tasks where field names are known in advance. Prefer it over generic LLM calls when you want consistent, schema-aligned output with null-safe field handling and local AI privacy guarantees.

## Known failure modes

- Missing 'texto' or 'campos' in request body returns a validation error
- Empty or very short text may result in all fields returning null
- Ambiguous text may cause incorrect or null extractions for some fields
- Requesting too many fields may reduce extraction accuracy
- Non-JSON bodyType may cause parsing failures if content is malformed

## How this service works

Structured data extraction with local AI: give a text and a list of field names, get a JSON object with those fields (null when absent).

## Output

A JSON object with a 'datos' key containing the requested field names as keys and their extracted values (or null if not found in the text), plus 'modelo' (the local AI model used) and 'campos_encontrados' (count of non-null fields extracted).

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "texto",
      "campos"
     ],
     "properties": {
      "texto": {
       "type": "string",
       "description": "Source text (invoice, email, message...)"
      },
      "campos": {
       "type": "array",
       "items": {
        "type": "string"
       },
       "description": "Field names to extract"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "datos": {
       "type": [
        "object",
        "null"
       ],
       "description": "Keys are the requested field names",
       "additionalProperties": true
      },
      "modelo": {
       "type": [
        "string",
        "null"
       ]
      },
      "campos_encontrados": {
       "type": [
        "number",
        "null"
       ]
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vextorium-structured-data-extraction-7faa3720/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
