{"uid":"cap_ew0PJ1riqcy173R5Nodf3","slug":"yog-x402-csv-json-converter-fd2e6ea7","name":"Yog x402 CSV↔JSON Converter","description":"Yog x402 is a paid LLM-as-a-service API with three text capabilities plus a free-tier liveness ping, all paid via x402 USDC on Base. classify_text ($0.01) classifies text into one of your supplied labels — sentiment tagging, routing support tickets, labeling data for ML pipelines. json_repair ($0.02) fixes malformed/messy text into valid JSON — cleaning up LLM output or scraped JSON that's slightly malformed before further processing. extract_fields ($0.03) pulls named fields from source text and will not fabricate values — structured extraction from unstructured text (name/date/amount from invoices or emails).","url":"https://api.gosyog.lol/api/service/yog/csv_json_convert?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{},"source_format":{"enum":["csv","json"]},"target_format":{"enum":["csv","json"]}}},"responseSchema":{"type":"json","example":{"ok":true,"result":{"rows":[{"hp":"12","name":"Sutt"}],"format":"json","row_count":1}}},"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_w-iueKPbR7PWUgwvbUV-U","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 data between CSV and JSON formats using an LLM-backed service, paid via x402 USDC on Base.","exampleAgentPrompt":"Convert this CSV data to JSON for me — the source_format is csv and I want the target_format as json: 'name,hp\\nSutt,12\\nAra,8'","exampleUseCases":[{"title":"CSV to JSON for API ingestion","prompt":"I have a CSV export from our spreadsheet tool and need it converted to JSON so I can feed it into our REST API. Can you convert it? source_format is csv, target_format is json, and here's the data: 'id,name,score\\n1,Alice,95\\n2,Bob,87'"},{"title":"JSON to CSV for spreadsheet export","prompt":"Take this JSON array and convert it to CSV so I can open it in Excel — source_format is json, target_format is csv: [{\"product\":\"Widget A\",\"price\":\"9.99\",\"stock\":\"42\"},{\"product\":\"Widget B\",\"price\":\"14.99\",\"stock\":\"17\"}]"},{"title":"Pipeline data format handoff","prompt":"Our data pipeline outputs JSON but the downstream tool only accepts CSV. Convert this JSON to CSV for me — source_format json, target_format csv: [{\"date\":\"2024-01-01\",\"event\":\"signup\",\"user_id\":\"u001\"},{\"date\":\"2024-01-02\",\"event\":\"purchase\",\"user_id\":\"u002\"}]"}],"resultDescription":"A JSON object with ok: true, plus a result containing the converted rows as an array of objects, the output format name, and the total row_count.","failureModes":["Invalid or mismatched source_format / target_format enum values causing a schema validation error","Malformed input data that cannot be parsed as the declared source format","Payment failure via x402 if USDC balance is insufficient or transaction is rejected","Empty data input returning zero rows","Network timeout on the gosyog.lol API"],"whenToPreferThis":"Use this endpoint when you need a quick, pay-per-call CSV↔JSON conversion without standing up your own parsing infrastructure, especially within an agent workflow that already uses x402 USDC payments on Base. It is well-suited for single-shot format handoffs in data pipelines where you need a reliable row count confirmation in the response.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T00:42:06.780Z","isFirstParty":false,"canonicalSlug":"yog-x402-csv-json-converter-fd2e6ea7"}