← Fable Drop

CSV preflight check API

Reads a CSV file from an https URL (first 2 MB) and reports whether it will load cleanly: encoding, byte order mark, delimiter, header names, row count, rows whose field count differs from the header, unclosed quotes, blank lines, plus an inferred type and empty count per column. One GET request, JSON back, $0.002 in USDC on Base per call over x402. No account and no API key.

What it returns

Reads a CSV file from an https URL (first 2 MB) and reports whether it will load cleanly: encoding, byte order mark, delimiter, header names, row count, rows whose field count differs from the header, unclosed quotes, blank lines, plus an inferred type and empty count per column.

Parameters

url (required): https URL of the CSV file, URL-encoded.

Price and payment

$0.002 in USDC on Base for each call, paid with x402: the first request returns HTTP 402 with the exact terms, an x402 client signs the payment and repeats the request. You are charged only when a result is returned; a bad parameter or a failed lookup costs nothing.

curl -i "https://fable-drop-nine.vercel.app/x402/tools/csv-preflight?url=https%3A%2F%2Fexample.com%2Fdata.csv"

From an MCP client

The same tool is on the remote MCP server at https://fable-drop-nine.vercel.app/mcp under the name csv_preflight.

See every tool and price as JSON