{"uid":"cap_cTlGgnBd3M-DAnfGd_WqW","slug":"uos-genesis-csv-to-json-converter-260776f7","name":"UOS Genesis CSV to JSON Converter","description":"UOS Genesis machine utility: csv_to_json","url":"https://genesis.palsus2023.workers.dev/v1/csv_to_json","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["input"],"properties":{"input":{"type":"string","description":"CSV text containing a header row and one or more data rows."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json"],"type":"string"}},"additionalProperties":false},"output":{"type":"object"}},"additionalProperties":true},"responseSchema":null,"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_o5M-jA9IKTbVOgJyanaaq","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 or file into a structured JSON array via a paid API endpoint","exampleAgentPrompt":"Can you convert this CSV data into JSON for me? Here's the CSV: 'name,age,city\\nAlice,30,New York\\nBob,25,London'","exampleUseCases":[{"title":"Pipeline data format normalization","prompt":"I'm getting CSV exports from our database tool and need them converted to JSON so I can pass them to our REST API — can you run this CSV through the converter? Here it is: 'product_id,name,price\\n101,Widget,9.99\\n102,Gadget,14.99'"},{"title":"Spreadsheet to structured data for agent","prompt":"I exported a contacts list from Excel as CSV and need it as a JSON array so my agent can iterate over the records. The CSV is: 'first_name,last_name,email\\nJane,Doe,jane@example.com\\nJohn,Smith,john@example.com'"},{"title":"ETL preprocessing step for analytics","prompt":"Before I load this sales data into our analytics dashboard, can you convert it from CSV to JSON? The CSV looks like this: 'date,region,revenue\\n2024-01-01,North,5000\\n2024-01-02,South,3200'"}],"resultDescription":"Returns a JSON array of objects where each row from the CSV becomes a JSON object with keys derived from the CSV header row and values from each corresponding row's cells.","failureModes":["Malformed CSV with inconsistent column counts may produce incorrect JSON or an error","Missing header row could result in integer-keyed or empty-keyed JSON objects","Non-UTF-8 encoded CSV content may fail to parse","Empty CSV body returns an error or empty array","Payment not completed results in a 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need a simple, stateless CSV-to-JSON conversion without setting up a local parser, especially in agent workflows that need to pay per-call via x402 protocol. It is well-suited for lightweight ETL pipelines, format bridging between data sources, or when you need a hosted microservice for one-off conversions without infrastructure overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:33:52.370Z","isFirstParty":false}