CSV preflight
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.
Answeringour last check, 2026-11-26
7 of 7checks answered this week
264 msmedian answer time
$0.005listed price per call
$0.005price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://api.x402toolshop.com/v1/csv-preflight
| Category | Everything else |
|---|---|
| Provider host | api.x402toolshop.com |
| Networks | eip155:137, eip155:42161, eip155:43114, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 4 from 2 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.005 | 710 ms |
| 2026-11-25 | valid payment request | 402 | $0.005 | 997 ms |
| 2026-11-24 | valid payment request | 402 | $0.005 | 250 ms |
| 2026-11-23 | valid payment request | 402 | $0.005 | 264 ms |
| 2026-11-22 | valid payment request | 402 | $0.005 | 239 ms |
| 2026-11-21 | valid payment request | 402 | $0.005 | 867 ms |
| 2026-11-20 | valid payment request | 402 | $0.005 | 256 ms |
| 2026-11-19 | valid payment request | 402 | $0.005 | 240 ms |
| 2026-11-18 | valid payment request | 402 | $0.005 | 1079 ms |
Example input (from the provider)
{
"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"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"csv": {
"description": "The CSV text (up to 1.5 MB)",
"type": "string"
},
"delimiter": {
"description": "Optional: ',', ';', 'tab' or '|' (detected if omitted)",
"type": "string"
},
"has_header": {
"description": "Optional: whether row 1 is a header (detected if omitted)",
"type": "boolean"
}
},
"required": [
"csv"
]
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"columns": {
"type": "array"
},
"delimiter": {
"type": "string"
},
"issues": {
"type": "array"
},
"ready": {
"type": "boolean"
},
"rows": {
"type": "number"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}