# Machine Shop CSV to JSON Converter

> Machine Shop CSV to JSON Converter is a paid API for AI agents from api.pay-forge.online, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-20).

Converts CSV-formatted text into structured JSON with typed rows and column names

## Facts

- Endpoint: POST https://api.pay-forge.online/v1/csv-to-json?utm_source=zero.xyz
- Price: $0.005/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-csv-to-json-converter-a49146a6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SAUkt94OwZ1erRx8HhlOH

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-csv-to-json-converter-a49146a6 -d '<json body>'
```

Example prompt: Can you convert this CSV data to JSON for me? I have a table with columns name and count, and rows like 'widget,2' and 'gadget,5' that I need turned into a structured JSON array.

## When to prefer this

Choose this endpoint when you have raw CSV or comma-separated text that needs to be parsed into structured JSON with named columns and typed rows, especially within the Machine Shop ecosystem where you can also preview inputs and estimate costs before committing. Prefer this over general-purpose LLM parsing when you need deterministic, schema-consistent JSON output at low cost ($0.005 USDC per call).

## Known failure modes

- Malformed CSV with inconsistent column counts may produce misaligned row objects
- Input exceeding 50,000 characters will be rejected
- Empty input or whitespace-only text may return empty rows and columns arrays
- CSV with no header row may produce numeric or unnamed column keys
- Non-UTF-8 or binary content may cause parsing errors

## 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

Returns a JSON object containing a 'rows' array (each row as a key-value object using column headers as keys) and a 'columns' array listing all detected column names in order, derived from the input CSV text.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "rows": [
   {
    "name": "widget",
    "count": "2"
   }
  ],
  "columns": [
   "name",
   "count"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/machine-shop-csv-to-json-converter-a49146a6/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)
