{"uid":"cap_9-Ku2F717754p5TNH8G7W","slug":"csv-to-json-converter-kosoyy-x402-micro-api-de8c78a4","name":"CSV to JSON Converter (kosoyy x402 micro-API)","description":"Deterministic utility tools, paid per call in USDC (Solana or Base). Unpaid requests return a 402 offer.","url":"https://alert-woodpecker-2022.kosoyyagent.deno.net/api/csv-to-json?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["data"],"properties":{"data":{"type":"string","description":"CSV text"},"delimiter":{"type":"string"}}},"responseSchema":{"type":"object","properties":{"ok":{"type":"boolean"},"route":{"type":"string"},"result":{"type":"object"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.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_rgh_Uuxg8jZuIgMZg5jcC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts CSV text into a structured JSON object, billed per call at $0.001 USDC via x402 on Solana or Base.","exampleAgentPrompt":"Convert this CSV text into JSON for me — it uses a semicolon as the delimiter: 'name;age;city\\nAlice;30;New York\\nBob;25;London'","exampleUseCases":[{"title":"Spreadsheet export pipeline","prompt":"I exported data from Google Sheets as a CSV string — can you convert it to JSON so I can feed it into my API? Here's the CSV: 'id,product,price\\n1,Widget,9.99\\n2,Gadget,14.99'"},{"title":"Tab-separated log parsing","prompt":"I have a tab-separated log file I need as JSON: 'timestamp\\tlevel\\tmessage\\n2024-01-01T00:00:00Z\\tERROR\\tDisk full\\n2024-01-01T00:01:00Z\\tINFO\\tRestarting'. Can you parse that using a tab delimiter?"},{"title":"Automated ETL data ingestion","prompt":"As part of my data pipeline, convert this pipe-delimited CSV into a JSON object: 'user_id|email|signup_date\\n101|alice@example.com|2023-06-15\\n102|bob@example.com|2023-07-22'. Use the pipe character as the delimiter."}],"resultDescription":"Returns a JSON object with an 'ok' boolean indicating success, a 'route' string identifying the endpoint used, and a 'result' object containing the parsed JSON representation of the input CSV data (typically an array of row objects keyed by header names).","failureModes":["Malformed or empty CSV input returns an error result with ok: false","Missing required 'data' field triggers a 400-level validation error","Unpaid or unauthenticated requests return HTTP 402 with a payment offer","Mismatched delimiter causes incorrect parsing or single-column output","Very large CSV payloads may time out or exceed Deno hosting limits"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, deterministic, pay-per-call CSV-to-JSON conversion without spinning up your own parser — especially useful in agent workflows where you pay only for what you use via x402 USDC micropayments on Solana or Base. Prefer it over heavier ETL tools when input is a raw CSV string and output is a simple JSON object.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-16T18:34:21.162Z","isFirstParty":false,"canonicalSlug":"csv-to-json-converter-kosoyy-x402-micro-api-de8c78a4"}