{"uid":"cap_FCKzO06w5FfXUblPNvtPd","slug":"toll402-csv-to-json-converter-e59b623f","name":"Toll402 CSV to JSON Converter","description":"The OpenRouter for AI-agent tools: one gateway, every capability, pay per call. Built-in tools, agent-forged tools, a global verified business directory, 2,791 provider API endpoints (SEO, social, enrichment, ads, market data, AI generation) and aggregated x402 services. Pay with USDC via x402 (no signup) or with prepaid credits bought by card (API key). Charged only on success.","url":"https://toll402.dev/v1/t/csv_to_json?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["csv"],"properties":{"csv":{"type":"string","description":"Raw CSV text to parse"},"delimiter":{"type":"string","description":"Optional single-character delimiter override; auto-detected if omitted"},"hasHeader":{"type":"boolean","description":"Whether the first row is a header row"}}},"responseSchema":{"type":"json","example":{"ok":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ay3yZwtPYQ0_wvHDE-h6j","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts raw CSV text into structured JSON, with optional delimiter override and header row detection, paid per call via x402/USDC.","exampleAgentPrompt":"Can you convert this CSV text to JSON for me? The first row is a header row: 'name,age,city\\nAlice,30,New York\\nBob,25,London'","exampleUseCases":[{"title":"Spreadsheet export pipeline ingestion","prompt":"I exported this CSV from Excel and need it as a JSON array so my app can process it — the first row has column names: 'product,price,stock\\nWidget A,9.99,120\\nWidget B,14.99,45'. Convert it for me."},{"title":"Pipe-delimited data normalization","prompt":"I have some pipe-delimited data that I need converted to JSON. The delimiter is '|' and there's a header row: 'id|name|score\\n1|Alice|88\\n2|Bob|91'. Can you parse this?"},{"title":"No-header CSV to JSON array","prompt":"Convert this raw CSV to a JSON array — there's no header row, just data: '10,foo,true\\n20,bar,false\\n30,baz,true'. Treat each row as an array of values."}],"resultDescription":"A JSON array of objects (if header row present) or arrays (if no header), where each element represents one row from the input CSV. Field names are taken from the first row when hasHeader is true. The response reflects the parsed structure of the original CSV data.","failureModes":["Malformed or empty CSV input returns a parsing error","Specifying an incorrect delimiter may produce single-column output or garbled rows","Extremely large CSV payloads may time out or be rejected","Ambiguous delimiter with no override provided may cause mis-parsing","Insufficient USDC balance causes HTTP 402 payment failure before processing begins"],"whenToPreferThis":"Choose this endpoint when you need a fast, zero-setup CSV-to-JSON conversion with no API key or account required, paying only $0.001 USDC per call via x402. Ideal for AI agents that need to ingest tabular data programmatically on-demand, especially when working with varying delimiters or optionally headerless CSVs. Prefer this over building a local parser when you want a reliable, hosted conversion step in an automated workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T00:44:09.048Z","isFirstParty":false,"canonicalSlug":"toll402-csv-to-json-converter-e59b623f"}