{"uid":"cap_5NNGc9Wq3K7ibATRJRpv_","slug":"proofwork-csv-to-json-converter-b984f80b","name":"Proofwork CSV to JSON Converter","description":"Small non-cyber evidence and data APIs payable per request with x402 on Base.","url":"https://proofwork-the402-webhook.phase-voice.workers.dev/v1/csv-to-json","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["csv"],"properties":{"csv":{"type":"string","description":"URL-encoded CSV text with a header row"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"rows":[{"id":"1","name":"Ada"},{"id":"2","name":"Grace"}],"report":"csv_to_json","columns":["id","name"],"row_count":2,"content_type":"application/json"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2QMrlpXkOl6j9W1y07in3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts URL-encoded CSV text (with a header row) into structured JSON rows, column metadata, and row count via a pay-per-request x402 API on Base.","exampleAgentPrompt":"Can you convert this CSV text to JSON for me? The CSV has a header row: 'id,name,city\\n1,Ada,London\\n2,Grace,Chicago'","exampleUseCases":[{"title":"Spreadsheet data to JSON pipeline","prompt":"I have a CSV export from our database — here it is as text: 'user_id,email,signup_date\\n101,alice@example.com,2024-01-15\\n102,bob@example.com,2024-03-22' — can you turn this into JSON rows I can use in my app?"},{"title":"Inline CSV parsing for agent workflow","prompt":"Parse this CSV string into a JSON array: 'product,price,stock\\nWidget A,9.99,100\\nWidget B,14.99,45\\nWidget C,4.50,200'"},{"title":"Column metadata extraction from CSV","prompt":"I need to know the column names and row count from this CSV: 'country,gdp,population\\nUSA,21000,331000000\\nUK,2800,67000000' — can you parse it and give me the structure as JSON?"}],"resultDescription":"Returns a JSON object containing an array of row objects (each CSV row as a key-value map using header names as keys), a list of column names, a total row count, a report type identifier ('csv_to_json'), and a content type field ('application/json').","failureModes":["Missing or malformed 'csv' query parameter returns an error","CSV without a header row may produce unexpected key names or fail","URL-encoding issues with special characters may corrupt the CSV input","Payment failure via x402 on Base will block the request","Extremely large CSV payloads may exceed query parameter size limits"],"whenToPreferThis":"Use this endpoint when you need a quick, lightweight, pay-per-use CSV-to-JSON conversion without standing up your own parser — especially useful in agent workflows where tabular data arrives as raw CSV text and needs to be restructured as JSON for downstream processing. It is a good fit for small-to-medium CSV payloads passed inline as query parameters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:30:12.433Z","isFirstParty":false}