InputPOST /api/v1/x402/csv-row-count
{
"csv_text": "name,score\nAda,10\nLinus,9"
}
Web and API intelligence · utility
Count CSV rows. Call when estimating import size or validating uploads mid-pipeline. Returns row count for UTF-8 CSV text (header included as a row). $0.001 USDC per successful call via x402 on Base—deterministic first-party JSON, no API key, no subscription, and nothing is billed on structured validation errors.
One-command purchase
No account or API key. AgentCash reads the 402 challenge, pays no more than the declared cap, retries the request and returns the result.
npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/csv-row-count -m POST -H 'x-delx-source: product-page' --max-amount 0.001 -b '{"csv_text":"name,score\nAda,10\nLinus,9"}'
{
"csv_text": "name,score\nAda,10\nLinus,9"
}
{
"schema": "delx/csv-row-count/v1",
"rows": 3,
"has_header_guess": true
}
Machine-readable evidence