{"uid":"cap_YUerp4jie4cCNEzGzVMSi","slug":"g-forge-csv-to-json-9eb06dcc","name":"G-Forge CSV To JSON","description":"Make spreadsheet exports usable by an agent or API. Parse CSV text into JSON records with correct handling of quoted commas, quotes and multiline fields. Requires a unique header; field values stay strings. Up to 100,000 characters; no file upload or local parser needed.","url":"https://api.getretold.com/services/agent-csv-to-json/invoke?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"value":{"type":"string","maxLength":100000}}},"responseSchema":null,"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_1EFu7fNCQe-SGLzOhotQK","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":"Parses CSV text (up to 100,000 characters) into an array of JSON records, correctly handling quoted commas, escaped quotes, and multiline fields.","exampleAgentPrompt":"I have this CSV export from our CRM — can you parse it into JSON records for me? Here's the text: 'name,email,age\\nAlice,alice@example.com,30\\nBob,bob@example.com,25'","exampleUseCases":[{"title":"CRM export to API pipeline","prompt":"I just exported our contacts from Salesforce as a CSV — can you convert this CSV text into JSON records so I can feed them into our internal contacts API? Here's the raw CSV content."},{"title":"Spreadsheet data for workflow automation","prompt":"We get a nightly CSV dump from our inventory system with product names, SKUs, and quantities. Can you parse this CSV into JSON objects so our warehouse automation tool can process each row?"},{"title":"Ad-hoc CSV from third-party service","prompt":"This payment processor sent us a CSV report with quoted fields and some multi-line descriptions. Can you convert it into JSON records without me having to set up a local parser?"}],"resultDescription":"Returns a JSON array of objects where each element represents one CSV row, with keys taken from the header row and all field values as strings. Quoted commas, escaped quotes, and multiline field values are correctly handled.","failureModes":["Input exceeds 100,000 character limit — request rejected","CSV lacks a unique header row — parsing fails or returns an error","Malformed CSV with unclosed quotes — may produce incorrect records or error","Empty input string — returns empty array or error","Non-CSV text passed as input — unpredictable or erroneous output"],"whenToPreferThis":"Choose this endpoint when you need server-side CSV parsing without installing a local library, especially when the CSV contains tricky edge cases like quoted commas, embedded newlines, or escaped quotes. Ideal for agent pipelines where spreadsheet exports or database CSV dumps need to be converted to JSON for downstream API calls, and the input fits within 100,000 characters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T12:35:14.206Z","isFirstParty":false,"canonicalSlug":"g-forge-csv-to-json-9eb06dcc"}