{"uid":"cap_bwvFmjcGlFukvz_bDgPRs","slug":"swift-bot-labs-toolbox-csv-to-json-converter-51a64d7a","name":"Swift Bot Labs Toolbox – CSV to JSON Converter","description":"62 small, deterministic utility APIs (DNS and e-mail checks, web extraction, EVM decoding, x402 checks, IP math, JSON/CSV, hashing, conversions). No account or API key: pay per call in USDC with x402.","url":"https://x402-toolbox.swiftbotlab.workers.dev/v1/csv/to-json?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","maxLength":1048576},"header":{"type":"boolean","default":true},"delimiter":{"enum":["auto",",",";","\t","|"],"type":"string","default":"auto"},"inferTypes":{"type":"boolean","default":true}}},"responseSchema":{"type":"json","example":{"ok":true,"tool":"csv-to-json","result":{"data":[{"age":34,"name":"Doe, Jane","active":true},{"age":null,"name":"Bob","active":false}],"rows":2,"columns":["name","age","active"],"delimiter":","}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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_yU_rya-Uij_D7z3cag7xI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a CSV string into a structured JSON array, with automatic delimiter detection, optional header parsing, and type inference.","exampleAgentPrompt":"Convert this CSV text to JSON for me — it has headers in the first row, uses commas as delimiters, and I'd like numbers and booleans inferred automatically: 'name,age,active\\nDoe Jane,34,true\\nBob,,false'","exampleUseCases":[{"title":"ETL pipeline CSV ingestion","prompt":"I have a CSV export from our database with headers and pipe-separated values — can you convert it to JSON so I can process it programmatically? Infer the types automatically."},{"title":"Spreadsheet data normalization","prompt":"Take this semicolon-delimited CSV from our European CRM export and convert it to a JSON array with proper types inferred — it has a header row."},{"title":"No-header TSV to JSON","prompt":"Convert this tab-separated data to JSON — there's no header row, just raw values, and auto-detect the delimiter. I need the result as a JSON array."}],"resultDescription":"Returns a JSON object with ok=true, the tool name, and a result containing: a 'data' array of objects (one per CSV row, keyed by column headers or positional index), total row count, column names array, and the detected delimiter character.","failureModes":["Malformed CSV with unbalanced quotes returns a parse error","CSV exceeding 1 MB (1,048,576 chars) is rejected","Payment failure or missing x402 header returns 402 Payment Required","Empty CSV string may return zero rows with no error","Ambiguous delimiter when set to 'auto' may cause misparse of columns"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, no-auth, pay-per-call CSV-to-JSON conversion without setting up an account or managing API keys. Ideal for one-off agent tasks, automation pipelines, or serverless workflows that need to handle CSV data programmatically. Prefer alternatives if you need streaming large files, complex multi-table CSVs, or free tier access.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:41:38.574Z","isFirstParty":false,"canonicalSlug":"swift-bot-labs-toolbox-csv-to-json-converter-51a64d7a"}