# 402.com.tr AI Extract Batch

> 402.com.tr AI Extract Batch is a paid API for AI agents from 402.com.tr, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-14).

Batch-extracts structured fields from up to 10 documents in a single paid API call, returning one schema-enforced JSON object per document.

## Facts

- Endpoint: GET https://402.com.tr/api/x402/ai-extract-batch
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/402-com-tr-ai-extract-batch-de9f5285
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_u_T7VniMDXY_wvKKTWe2t

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 402-com-tr-ai-extract-batch-de9f5285
```

Example prompt: Extract the fields 'sender, amount, date, merchant' from each of these 5 receipt texts in one batch call — here are the five documents: [doc1], [doc2], [doc3], [doc4], [doc5].

## When to prefer this

Use this endpoint when you need to extract structured fields from multiple text documents (2–10) in a single efficient call, especially for pipeline workloads like parsing feeds, inboxes, scrape batches, or receipt piles where per-call overhead of individual extractions would be costly and slow.

## Known failure modes

- Missing required text1 parameter returns an error
- Documents exceeding 6K characters may be truncated or rejected
- Requesting fields that don't exist in the document returns null or empty values
- Submitting more than 10 documents may result in only the first 10 being processed
- Malformed fields parameter (not comma-separated) may cause incorrect extraction schema
- Payment failure (x402 protocol) blocks the call before processing

## How this service works

The pipeline version of ai-extract: send up to 10 documents (text1=…&text2=… or texts= with ||| separators) and one field list — get one schema-enforced JSON object per document, in order, from a single paid call. 10 extractions for $0.10 instead of 10x the per-call overhead: built for agents parsing feeds, inboxes, scrape batches and receipt piles. Up to 6K chars per document.

## Output

Returns one schema-enforced JSON object per input document, in the same order as submitted, each containing the requested fields extracted from that document's text. Up to 10 objects per call.

## 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"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "text1"
     ],
     "properties": {
      "text1": {
       "type": "string",
       "description": "Document 1"
      },
      "text2": {
       "type": "string",
       "description": "Document 2 (optional)"
      },
      "fields": {
       "type": "string",
       "description": "Fields (comma-separated)"
      }
     }
    }
   },
   "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/402-com-tr-ai-extract-batch-de9f5285/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 402.com.tr](https://www.zero.xyz/host/402.com.tr/llms.txt)
