{"slug":"api-x402toolshop-com-v1-csv-preflight-b6e76a","title":"CSV preflight","host":"api.x402toolshop.com","method":"POST","resource":"https://api.x402toolshop.com/v1/csv-preflight","category":"other","description":"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 ","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":264,"reported_calls_30d":4,"reported_payers_30d":2,"networks":["eip155:137","eip155:42161","eip155:43114","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"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":{"$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"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":710,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":997,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":250,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":264,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":239,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":867,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":256,"error":null},{"day":"2026-11-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":240,"error":null},{"day":"2026-11-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1079,"error":null}],"description_full":"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.","last_updated":"2026-11-24T22:50:24.235Z","schemes":["exact"]}