{"uid":"cap_L23TMAr_5hBXfHp2630hJ","slug":"strale-csv-to-json-converter-5f9142ca","name":"Strale CSV to JSON Converter","description":"Convert CSV string to JSON array with auto-detected delimiter and type inference. Algorithmic.","url":"https://api.strale.io/x402/v2/csv-to-json","method":"GET","headers":{},"bodySchema":{"type":"object","required":["csv_string"],"properties":{"delimiter":{"type":"string"},"csv_string":{"type":"string"},"has_header":{"type":"boolean"}}},"responseSchema":{"data":{"type":"array"},"columns":{"type":"array"},"row_count":{"type":"integer"},"detected_delimiter":{"type":"string"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0216","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.0216/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0216","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0216","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UZqrOKoAqD0jyfVxgzT6T","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0216","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 to a structured JSON array, with optional delimiter and header configuration","exampleAgentPrompt":"Can you convert this CSV string to JSON for me — it uses a semicolon as the delimiter and has a header row: 'name;age;city\\nAlice;30;London\\nBob;25;Paris'","exampleUseCases":[{"title":"ETL pipeline format normalization","prompt":"I've got a raw CSV export from our database — comma-separated with headers — can you convert it to JSON so I can feed it into our API? Here's the CSV: 'id,product,price\\n1,Widget,9.99\\n2,Gadget,24.99'"},{"title":"Pipe-delimited data ingestion","prompt":"This vendor sends us pipe-delimited files with no header row. Can you parse this CSV into JSON for me: '101|John Doe|Sales|55000\\n102|Jane Smith|Engineering|85000'"},{"title":"Spreadsheet export processing","prompt":"I exported a tab-separated values file from Excel and need it as JSON — it has headers. The CSV content is: 'First Name\\tLast Name\\tEmail\\nAlice\\tSmith\\talice@example.com\\nBob\\tJones\\tbob@example.com'"}],"resultDescription":"A JSON array where each element is an object representing one CSV row, with keys derived from the header row (if present) or positional indices. Includes an audit record with cryptographic chain hash for traceability.","failureModes":["Missing csv_string parameter — returns validation error","Malformed CSV with inconsistent column counts — may produce partial or error response","Delimiter mismatch with actual data — results in single-column or incorrectly parsed output","CSV string too large — may hit payload size limits","Non-UTF8 encoded content in CSV — may cause parsing failures"],"whenToPreferThis":"Choose this endpoint when you need a simple, auditable, pay-per-call CSV-to-JSON conversion without spinning up your own parsing library. Ideal for agent workflows where you receive raw CSV text (from exports, APIs, or user uploads) and need structured JSON for downstream processing. The cryptographic audit record makes it suitable for compliance-sensitive pipelines. Prefer this over local parsing when operating in a serverless or constrained environment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:17:15.506Z","isFirstParty":false}