# dataforge — Structured Data Conversion, Query & Reshaping API

> dataforge — Structured Data Conversion, Query & Reshaping API is a paid API for AI agents from dataforge.x.c00l.site, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Performs deterministic format conversion, JSONPath querying, JSON Schema inference, declarative transforms, and RFC 6902 diff/patch across CSV, TSV, JSON, JSONL, YAML, TOML, XML, INI, and properties formats.

## Facts

- Endpoint: POST https://dataforge.x.c00l.site/transform
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dataforge-structured-data-conversion-query-reshaping-api-66c80094
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_REWhnjjpX92tA28OPdpIv

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 dataforge-structured-data-conversion-query-reshaping-api-66c80094 -d '<json body>'
```

Example prompt: Convert this CSV data into JSON, grouping rows by the 'dept' column and summing the 'salary' field for each group — give me back the result as a JSON array with dept, headcount, and total fields.

## When to prefer this

Choose dataforge when you need deterministic, format-agnostic data conversion or reshaping without standing up your own ETL pipeline — especially for cross-format work (e.g. CSV→JSON, YAML→TOML, XML→JSON), JSONPath queries over arbitrary documents, RFC 6902 diff/patch operations, or inferring JSON Schema from sample data. It is a pay-per-call microservice ideal for agent workflows that occasionally need structured data wrangling without managing infrastructure.

## Known failure modes

- Unsupported format pair requested — returns error indicating incompatible conversion
- Malformed input data (e.g. invalid JSON, broken CSV) — returns parse error with details
- Invalid JSONPath expression — returns expression syntax error
- RFC 6902 patch conflicts or invalid operations — returns patch application error
- Payment not included or invalid x402 USDC payment — returns 402 Payment Required

## How this service works

Deterministic conversion, JSONPath query, JSON Schema inference, declarative transforms and RFC 6902 diff/patch across CSV, TSV, JSON, JSONL, YAML, TOML, XML, INI and properties. Pay per call with x402 (USDC on Base).

## Output

Returns a JSON object containing a 'data' field with the converted/transformed/queried result (as a JSON string), plus metadata such as 'rows' (row count) and 'columns' (list of column names) when the output is tabular.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": "[{\"dept\":\"eng\",\"headcount\":2,\"total\":230},{\"dept\":\"ops\",\"headcount\":1,\"total\":100}]",
  "rows": 2,
  "columns": [
   "dept",
   "headcount",
   "total"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dataforge-structured-data-conversion-query-reshaping-api-66c80094/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from dataforge.x.c00l.site](https://www.zero.xyz/host/dataforge.x.c00l.site/llms.txt)
