{"uid":"cap_wsfy11lh0_69vkKjxFlV8","slug":"csv-row-count-utility-dd138602","name":"CSV Row Count Utility","description":"Machine-callable x402-paid utilities for autonomous agents.","url":"https://creator-desk-x402-isolated.onrender.com/v1/utility/csv-row-count?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"value":{},"options":{"type":"object"}}},"responseSchema":{"type":"json","example":{"result":"example","operation":"csv_row_count"}},"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__iJ_EOpGnkfS15gmm5V8z","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":"Counts the number of rows in a CSV value submitted as input, returning the row count result.","exampleAgentPrompt":"How many rows are in this CSV data: 'name,age\\nAlice,30\\nBob,25\\nCarol,40'? I need the exact row count.","exampleUseCases":[{"title":"Pipeline data volume check","prompt":"Before we process this CSV export from our database, can you count how many rows it has? Here's the CSV content: 'id,name,email\\n1,Alice,alice@example.com\\n2,Bob,bob@example.com\\n3,Carol,carol@example.com'"},{"title":"Validate upload completeness","prompt":"I uploaded a CSV with customer records — here's the content — can you count the rows so I can confirm all 500 records came through correctly?"},{"title":"Automated report sizing","prompt":"As part of my data pipeline, I need to know the row count of this CSV before deciding whether to batch-process it or handle it in one shot. Can you count the rows in this CSV string for me?"}],"resultDescription":"A JSON object containing a 'result' field with the row count and an 'operation' field set to 'csv_row_count', confirming what operation was performed.","failureModes":["Malformed or non-CSV input may return an unexpected result or error","Empty input value may return 0 or an error","Very large CSV strings may time out or be rejected","Invalid options object may cause a processing error"],"whenToPreferThis":"Use this endpoint when you need a simple, programmatic row count of CSV data within an autonomous agent workflow and are willing to pay a micro-fee ($0.01 USDC) per call via x402 payment protocol. Ideal for pipelines that need to validate dataset size before downstream processing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:40:41.845Z","isFirstParty":false,"canonicalSlug":"csv-row-count-utility-dd138602"}