# Vextorium Format Convert

> Vextorium Format Convert is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-11).

Converts structured data between formats including JSON, CSV, YAML, XML, and JSONL

## Facts

- Endpoint: POST https://api.vextorium.com/v1/format-convert?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vextorium-format-convert-9d4d06c8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MWCJBQ8INgeNrKtMZMHKi

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-format-convert-9d4d06c8 -d '<json body>'
```

Example prompt: Convert this CSV data to JSON: 'name,price\nA,3\nB,4' — I need it as a JSON array of objects.

## When to prefer this

Use this endpoint when you need a fast, pay-per-call conversion between any combination of JSON, CSV, YAML, XML, or JSONL with no setup or auth overhead beyond USDC micropayment via x402. Ideal for agent workflows that encounter data in one format and need it in another before passing to a downstream system.

## Known failure modes

- Invalid or malformed input content for the declared source format (e.g. bad CSV syntax) — likely returns an error or empty result
- Unsupported format combination — only json, csv, yaml, xml, and jsonl are supported
- Missing required fields (content, from, a) — schema validation error
- Very large payloads may time out or hit size limits

## How this service works

Convert data between JSON, CSV (auto-detects ; , tab |), YAML, XML and JSON Lines. E.g. a spreadsheet CSV to JSON for an agent, or JSON to CSV for Excel.

## Output

Returns a JSON object containing the converted content as a string in the 'result' field, the source format in 'from', the target format in 'a', and the number of records processed in 'records'.

## 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": [
      "content",
      "from",
      "a"
     ],
     "properties": {
      "a": {
       "enum": [
        "json",
        "csv",
        "yaml",
        "xml",
        "jsonl"
       ],
       "type": "string"
      },
      "from": {
       "enum": [
        "json",
        "csv",
        "yaml",
        "xml",
        "jsonl"
       ],
       "type": "string"
      },
      "content": {
       "type": "string"
      },
      "delimiter": {
       "type": "string",
       "description": "CSV delimiter (optional)"
      }
     }
    },
    "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",
      "null"
     ],
     "properties": {
      "a": {
       "type": [
        "string",
        "null"
       ]
      },
      "from": {
       "type": [
        "string",
        "null"
       ]
      },
      "result": {
       "type": [
        "string",
        "null"
       ]
      },
      "records": {
       "type": [
        "number",
        "null"
       ]
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "a": "json",
  "from": "csv",
  "result": "[\n  {\n    \"name\": \"A\",\n    \"price\": \"3\"\n  },\n  {\n    \"name\": \"B\",\n    \"price\": \"4\"\n  }\n]",
  "records": 2
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vextorium-format-convert-9d4d06c8/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)
