← Back to directory

CSV preflight: validate a CSV before import and find every load error first. Det...

https://api.x402toolshop.com/v1/csv-preflight

Overview

CSV preflight: validate a CSV before import and find every load error first. Detects the delimiter, line endings, BOM and encoding damage, header problems (blank or duplicate names), rows with the wrong field count (with line numbers), unterminated quotes, duplicate rows, and per-column type, empty rate and mixed or ambiguous values. Returns ready true/false plus every issue. POST JSON {csv}, up to 1.5 MB.

Protocol x402 (POST)
Price $0.0050
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider x402 Tool Shop
Source bazaar
Indexed 2026-11-18 04:09:07

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "csv": "id,name,signup_date,score\n1,Ada,2026-01-04,91.5\n2,Grace,2026-02-11,88\n3,Linus,03/04/2026,x\n4,Alan,2026-03-09\n" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "columns": [ { "distinct": 4, "empty_pct": 0, "examples": [ "1", "2", "3" ], "name": "id", "type": "integer" }, { "distinct": 4, "empty_pct": 0, "examples": [ "Ada", "Grace", "Linus" ], "name": "name", "type": "text" }, { "distinct": 4, "empty_pct": 0, "examples": [ "2026-01-04", "2026-02-11", "03/04/2026" ], "mixed_types": { "date": 3, "date_us": 1 }, "name": "signup_date", "type": "date" }, { "distinct": 4, "empty_pct": 25, "examples": [ "91.5", "88", "x" ], "mixed_types": { "decimal": 1, "empty": 1, "integer": 1, "text": 1 }, "name": "score", "type": "decimal" } ], "columns_count": 4, "delimiter": "comma", "has_header": true, "issues": [ { "code": "ragged_rows", "examples": [ { "fields": 3, "line": 5 } ], "message": "1 row(s) do not have 4 fields", "severity": "error" }, { "code": "mixed_types", "message": "column \"signup_date\" mixes date and date_us", "severity": "warning" }, { "code": "ambiguous_dates", "message": "column \"signup_date\" has dates like 03/04/2025 (month/day order is ambiguous)", "severity": "warning" }, { "code": "mixed_types", "message": "column \"score\" mixes decimal and integer and text", "severity": "warning" } ], "line_endings": "LF", "ready": false, "rows": 4 }, "type": "json" }