# pagos.andreax.dev – Extraer JSON desde texto libre

> pagos.andreax.dev – Extraer JSON desde texto libre is a paid API for AI agents from pagos.andreax.dev, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-14).

Parses free-form text into structured JSON by extracting key data fields using an LLM-backed extraction pipeline

## Facts

- Endpoint: GET https://pagos.andreax.dev/api/taller/peaje/extraer-json
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pagos-andreax-dev-extraer-json-desde-texto-libre-64b08c4c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JCuoHDAs0bFEnTofLY6gL

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 pagos-andreax-dev-extraer-json-desde-texto-libre-64b08c4c
```

Example prompt: Can you extract the structured data from this text and give it back to me as JSON: 'John Smith, born 12 March 1985, ordered 3 units of item SKU-4421 for delivery to 45 Oak Street, Madrid'?

## When to prefer this

Choose this endpoint when you need to convert unstructured or free-form natural language text into a structured JSON object without knowing the schema ahead of time. It is especially useful for ad-hoc extraction tasks where you want the model to infer the relevant fields automatically. Prefer it over schema-driven parsers when the text format varies and you need flexibility. It complements sibling endpoints on the same platform (sentiment, spelling correction, embeddings) for lightweight NLP pipelines.

## Known failure modes

- Empty or very short input text may yield an empty or minimal JSON object
- Highly ambiguous text may produce inconsistently structured output across calls
- Non-Spanish/non-English text may be extracted with reduced accuracy depending on underlying model
- Malformed or extremely noisy input may result in partial extraction missing some fields
- Rate limiting or payment failure returns HTTP 402 requiring USDC payment via x402 protocol

## How this service works

Extrae datos estructurados de un texto libre y los devuelve como JSON. Úsalo para parsear texto a datos. input=texto.

## Output

Returns a JSON object containing the structured data fields extracted from the input text. The specific keys and values depend on the content of the input — the endpoint infers the relevant fields and organises them as a machine-readable JSON structure.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "input"
     ],
     "properties": {
      "input": {
       "type": "string",
       "description": "texto del que extraer datos"
      }
     }
    }
   },
   "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/pagos-andreax-dev-extraer-json-desde-texto-libre-64b08c4c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pagos.andreax.dev](https://www.zero.xyz/host/pagos.andreax.dev/llms.txt)
