{"uid":"cap_MWCJBQ8INgeNrKtMZMHKi","slug":"vextorium-format-convert-9d4d06c8","name":"Vextorium Format Convert","description":"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.","url":"https://api.vextorium.com/v1/format-convert?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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"]}}}}}}},"responseSchema":{"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}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ihIUqOErYXwa5p8_v6fj0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts structured data between formats including JSON, CSV, YAML, XML, and JSONL","exampleAgentPrompt":"Convert this CSV data to JSON: 'name,price\\nA,3\\nB,4' — I need it as a JSON array of objects.","exampleUseCases":[{"title":"Pipeline data format normalization","prompt":"I have this YAML config file I need as JSON so I can pass it to another service — can you convert it for me? Here's the YAML content: 'name: foo\\nvalue: 42\\nenabled: true'"},{"title":"Spreadsheet data to API payload","prompt":"Turn this CSV into a JSON array so I can POST it to our internal API: 'id,user,score\\n1,alice,95\\n2,bob,87\\n3,carol,72'"},{"title":"JSON logs to JSONL streaming format","prompt":"I need to convert this JSON array of log entries to JSONL format so our log ingestion pipeline can stream it line by line: '[{\"ts\":1700000000,\"msg\":\"ok\"},{\"ts\":1700000001,\"msg\":\"error\"}]'"}],"resultDescription":"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'.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:42:27.632Z","isFirstParty":false,"canonicalSlug":"vextorium-format-convert-9d4d06c8"}