{"slug":"format-openverbs-com-v1-convert-a5ab39","title":"Transcode a document between json, json5, jsonc, yaml, xml, csv, tsv, toml, ndjs","host":"format.openverbs.com","method":"POST","resource":"https://format.openverbs.com/v1/convert","category":"other","description":"Transcode a document between json, json5, jsonc, yaml, xml, csv, tsv, toml, ndjson, ini, env, properties, plist and querystring. Any source converts to any target through a JSON hub. Malformed input or a target that cannot represent the structure is rejected before payment.","price_listed":0.004,"price_asked":0.004,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":473,"reported_calls_30d":3,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"data":"example","from":"json","options":{"indent":1,"pretty":false},"to":"json"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"data":{"description":"The document to convert, as a string in the `from` format.","maxLength":1000000,"minLength":1,"type":"string"},"from":{"description":"Source format of `data`.","enum":["json","json5","jsonc","yaml","xml","csv","tsv","toml","ndjson","ini","env","properties","plist","querystring"],"type":"string"},"options":{"additionalProperties":false,"properties":{"header":{"description":"For csv/tsv, use the first row as a header. Default true.","type":"boolean"},"indent":{"description":"Indent width for pretty json/xml. Default 2.","maximum":10,"minimum":0,"type":"integer"},"pretty":{"description":"Pretty-print json/xml output. Default true.","type":"boolean"},"rootName":{"description":"Root element name when wrapping a non-object value into xml. Default \"root\".","maxLength":64,"minLength":1,"type":"string"}},"type":"object"},"to":{"description":"Target format to convert to.","enum":["json","json5","jsonc","yaml","xml","csv","tsv","toml","ndjson","ini","env","properties","plist","querystring"],"type":"string"}},"required":["from","to","data"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":473,"error":null}],"description_full":"Transcode a document between json, json5, jsonc, yaml, xml, csv, tsv, toml, ndjson, ini, env, properties, plist and querystring. Any source converts to any target through a JSON hub. Malformed input or a target that cannot represent the structure is rejected before payment.","last_updated":"2026-09-06T08:08:59.967Z","schemes":["exact"]}