{"uid":"cap_ExZdCw2Iof3y6auBgX2aP","slug":"agentshelf-json-to-csv-converter-304f5e15","name":"AgentShelf JSON to CSV Converter","description":"Call when an agent needs a JSON array of objects converted to CSV. No network. Exact $0.002 USDC. Prefer unpaid POST /v1/sandbox/json-to-csv first.","url":"https://agentshelf.syntexa.ch/v1/json-to-csv?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","additionalProperties":{}},"examples":[[{"name":"Ada","role":"eng"}]],"maxItems":5000,"minItems":1,"description":"Array of flat objects. Keys become the CSV header."},"delimiter":{"type":"string","maxLength":1,"minLength":1,"description":"Field separator, one character. Omit it to use a comma."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_K9WUcFvtoUR4bwLvAm1uP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a JSON array of objects into CSV format, with optional custom delimiter support.","exampleAgentPrompt":"Convert this JSON array of order records to CSV using a semicolon as the delimiter: [{\"id\":1,\"product\":\"Widget\",\"qty\":5},{\"id\":2,\"product\":\"Gadget\",\"qty\":3}]","exampleUseCases":[{"title":"Export API data for spreadsheet analysis","prompt":"I just fetched a list of 200 user records from our database as a JSON array — can you convert them to CSV so I can open them in Excel? Use a comma as the delimiter."},{"title":"Generate downloadable report from pipeline","prompt":"My data pipeline produces JSON objects for each sales transaction. Convert this batch of 500 transaction objects into a semicolon-delimited CSV so I can send it to the finance team."},{"title":"Transform survey responses to CSV","prompt":"I have survey response data as a JSON array with keys like 'respondent_id', 'answer', and 'score'. Turn it into a CSV file using a tab character as the delimiter so it's ready for our analytics tool."}],"resultDescription":"Returns a CSV-formatted string representing the input JSON array of objects, with the first row as headers derived from object keys, subsequent rows as values, and cells separated by the specified delimiter (default comma). Up to 5000 rows can be processed per call.","failureModes":["Empty or missing 'rows' array returns validation error","More than 5000 items in rows array exceeds maxItems limit","Delimiter field with more or fewer than 1 character fails validation","Rows containing inconsistent keys may produce misaligned columns","Payment of $0.002 USDC not provided or rejected returns 402 error","Malformed JSON body returns 400 error"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, server-side JSON-to-CSV conversion without relying on local code execution or LLM output formatting. Ideal when you have up to 5000 JSON objects and need reliable, consistent CSV output with an optional custom delimiter. If a free sandbox endpoint at POST /v1/sandbox/json-to-csv is available, prefer that first to avoid the $0.002 USDC cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T06:47:36.343Z","isFirstParty":false,"canonicalSlug":"agentshelf-json-to-csv-converter-304f5e15"}