{"uid":"cap_y1Ahm40A98IUAit54a_2i","slug":"nakonets-csv-validate-bdfd2720","name":"NAKONETS CSV Validate","description":"Pay-per-call deterministic utilities for CI diagnosis, data validation, JavaScript syntax checks, market snapshots and opportunity preflight.","url":"https://x402vercel.vercel.app/api/data/csv-validate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"CSV text to validate"}}},"responseSchema":{"type":"json","example":{"rows":3,"valid":true,"columns":2}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.25","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.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_60avX5xjaDkFURR3LslZQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates CSV text, returning row count, column count, and a boolean validity flag","exampleAgentPrompt":"Can you validate this CSV text for me and tell me if it's valid, how many rows it has, and how many columns? Here's the data: 'name,age,city\\nAlice,30,NYC\\nBob,25,LA'","exampleUseCases":[{"title":"Pre-pipeline CSV sanity check","prompt":"Before I push this CSV into my data pipeline, can you validate it and confirm it's well-formed? Here's the raw text: 'product_id,name,price\\n001,Widget,9.99\\n002,Gadget,19.99'"},{"title":"User-uploaded file validation","prompt":"A user just uploaded a CSV to our app — can you check if it's valid and tell me the number of rows and columns? The content is: 'email,signup_date\\njohn@example.com,2024-01-01\\njane@example.com,2024-02-15'"},{"title":"ETL data quality gate","prompt":"I'm about to run an ETL job on this CSV — validate it first and let me know if it's structurally sound and how many rows and columns it contains: 'order_id,amount,status\\n1001,50.00,paid\\n1002,75.00,pending\\n1003,20.00,paid'"}],"resultDescription":"Returns a JSON object with 'valid' (boolean indicating whether the CSV is well-formed), 'rows' (integer count of data rows), and 'columns' (integer count of columns detected).","failureModes":["Malformed or empty CSV text may return valid:false with ambiguous row/column counts","Very large CSV payloads may time out or be rejected","Non-CSV text input (e.g. JSON or XML) may return valid:false","Missing 'text' field in request body causes a 400-level error","Payment failure via x402 protocol results in 402 Payment Required before processing"],"whenToPreferThis":"Use this endpoint when you need a quick, deterministic, pay-per-call CSV structure check without standing up your own parsing infrastructure. It is ideal for agent workflows that need a lightweight preflight gate before ingesting CSV data into a pipeline, database, or analytics system. Prefer this over general-purpose code execution endpoints when you want a single-purpose, reliable CSV validator with a predictable JSON response schema.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T03:22:40.810Z","isFirstParty":false,"canonicalSlug":"nakonets-csv-validate-bdfd2720"}