{"uid":"cap_j3PCBn2PY2veopKhRNjod","slug":"kosoyy-tools-json-to-csv-converter-x402-paid-21faab03","name":"kosoyy tools — JSON to CSV Converter (x402 paid)","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/json-to-csv?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["data"],"properties":{"data":{"type":"string","description":"JSON array of objects (or JSON text of one)"}}},"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_P_VHbjfcSOClBz8DOuX1g","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 a JSON array of objects into CSV format, charged at $0.001 USDC per call via x402 micropayment protocol.","exampleAgentPrompt":"Can you convert this JSON array into a CSV for me? Here's the data: [{\"name\":\"Alice\",\"age\":30,\"city\":\"NYC\"},{\"name\":\"Bob\",\"age\":25,\"city\":\"LA\"}]","exampleUseCases":[{"title":"Export API data for spreadsheet analysis","prompt":"I just fetched a list of orders from our API as JSON — can you convert it to CSV so I can open it in Excel? Here's the JSON: [{\"orderId\":\"A1\",\"amount\":99.99,\"status\":\"shipped\"},{\"orderId\":\"A2\",\"amount\":45.00,\"status\":\"pending\"}]"},{"title":"Bulk user records to CSV for CRM import","prompt":"I have a JSON array of user records I need to import into our CRM — please turn it into CSV format. The data is: [{\"email\":\"user1@example.com\",\"name\":\"Jane Doe\",\"plan\":\"pro\"},{\"email\":\"user2@example.com\",\"name\":\"John Smith\",\"plan\":\"free\"}]"},{"title":"Convert single JSON object to CSV row","prompt":"I have a single JSON object I need as a one-row CSV — can you convert it? The object is: {\"product\":\"Widget\",\"price\":12.99,\"stock\":100}"}],"resultDescription":"Returns a JSON object with an 'ok' boolean indicating success, a 'route' string identifying the endpoint used, and a 'result' object containing the converted CSV data as text.","failureModes":["Unpaid request returns HTTP 402 with a payment offer — agent must complete x402 USDC micropayment before retrying","Invalid or malformed JSON input returns an error response with ok: false","Empty data array may return an empty or header-only CSV","Missing required 'data' field results in a validation error","Non-array JSON that cannot be interpreted as a single object may fail conversion"],"whenToPreferThis":"Choose this endpoint when you need a simple, deterministic JSON-to-CSV conversion for a small payload and are comfortable with x402 micropayments in USDC on Solana or Base. Ideal for agent workflows that need to export tabular JSON data to CSV on demand without setting up a local conversion library. Well-suited for single-call conversions where cost predictability at $0.001/call matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-16T18:33:34.313Z","isFirstParty":false,"canonicalSlug":"kosoyy-tools-json-to-csv-converter-x402-paid-21faab03"}