{"uid":"cap_1VhCCNgTmvYleAfJ4EGUD","slug":"delx-commerce-csv-column-count-check-585540ad","name":"Delx Commerce — CSV Column Count Check","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/csv-column-count-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":8192,"description":"Text supplied to CSV Column Count Check; used only for this bounded calculation and processed in memory without retention."},"expected_columns":{"type":"integer","description":"Expected Columns supplied to CSV Column Count Check; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"passed":true,"invalid_rows":[],"header_columns":2},"schema":"delx/util-csv-column-count-check/v1","status":"pass","evidence":{"retained":false,"input_sha256":"43c14336a55089e6418f34c8148a557706d0aeff75358365faa1dca16fa7cf64","external_calls":0},"operation":"data_batch:csv_column_count_check"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.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_25qj-y-I5fHH3coTmBDeY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates that every row in a CSV text has the expected number of columns, returning a pass/fail result with details on any invalid rows.","exampleAgentPrompt":"Check if this CSV text has exactly 3 columns in every row and tell me which rows are invalid: 'name,age,city\\nAlice,30,NYC\\nBob,25\\nCarol,28,LA'","exampleUseCases":[{"title":"Pre-pipeline CSV integrity check","prompt":"Before I import this CSV into the database, can you verify that every row has exactly 5 columns? Here's the CSV text: 'id,name,email,phone,country\\n1,Alice,alice@example.com,555-1234,US\\n2,Bob,bob@example.com\\n3,Carol,carol@example.com,555-5678,UK'"},{"title":"Validating user-uploaded data file","prompt":"A user just uploaded a CSV that should have 4 columns per row — can you check it and tell me which rows are malformed? The CSV is: 'sku,price,qty,category\\nABC,9.99,100,Electronics\\nDEF,14.99,Electronics\\nGHI,4.99,50,Books'"},{"title":"ETL data quality gate","prompt":"I'm running an ETL job and need to confirm this batch CSV has exactly 6 columns in every row before processing — flag any rows that don't conform. CSV: 'date,source,amount,currency,account,notes\\n2024-01-01,web,100,USD,acct1,ok\\n2024-01-02,app,200,USD\\n2024-01-03,web,150,USD,acct3,ok'"}],"resultDescription":"A JSON object containing a 'result' with a boolean 'passed' field, a list of 'invalid_rows' (empty if all rows are valid), and the 'header_columns' count. Also includes a 'status' string ('pass' or 'fail'), an 'operation' identifier, and an 'evidence' block with input SHA-256 hash, retention flag (always false), and external call count for verifiability.","failureModes":["Malformed or non-CSV text input may produce unexpected column counts","CSV exceeding 8192 character limit will be rejected","Missing 'expected_columns' integer parameter causes validation error","Empty CSV text returns trivially passing result with no rows checked","Encoding issues in CSV text may cause incorrect column parsing"],"whenToPreferThis":"Use this endpoint when you need a lightweight, pay-per-call, no-signup validation that a CSV's rows all have a consistent and expected number of columns. It is ideal for agent pipelines that need a verifiable, tamper-evident check (SHA-256 evidence, no data retention) before ingesting or transforming CSV data. Prefer it over building custom parsing logic when operating in automated agent workflows that support x402 micropayments on Base or Solana.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:03.957Z","isFirstParty":false,"canonicalSlug":"delx-commerce-csv-column-count-check-585540ad"}