← Market

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.

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

0.005 USDC on Base · payTo 0xa530b4da79f526d0404f2b154ba8b4B3C55e21fF

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

Base · 0.005 USDC · payTo 0xa530b4da79f526d0404f2b154ba8b4B3C55e21fF · via cdp · settles direct
Polygon · 0.005 USDC · payTo 0xa530b4da79f526d0404f2b154ba8b4B3C55e21fF · via cdp · settles direct
Arbitrum · 0.005 USDC · payTo 0xa530b4da79f526d0404f2b154ba8b4B3C55e21fF · via cdp · settles direct
Avalanche · 0.005 USDC · payTo 0xa530b4da79f526d0404f2b154ba8b4B3C55e21fF · via cdp · settles direct
Solana · 0.005 USDC · payTo 8a3y23NMn1tYaDM89dkpgbgHABd4fpw7vr5xTTPZc4LP · via cdp · settles direct
{
  "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"
}
{
  "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
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust score68 / 100 · breakdown
Probe uptime (30d)100.0% over 1 probes · daily
Avg 402 latency113 ms
Paid calls (30d, on-chain)5 calls · 2 buyers · shared price cohort of 3
Facilitator-reported (30d)2 calls · 1 payers (CDP Bazaar)

How to call

POST https://api.x402toolshop.com/v1/csv-preflight · input in body · spec from live-challenge

Input schema
{
  "properties": {
    "csv": {
      "type": "string",
      "description": "The CSV text (up to 1.5 MB)"
    },
    "delimiter": {
      "type": "string",
      "description": "Optional: ',', ';', 'tab' or '|' (detected if omitted)"
    },
    "has_header": {
      "type": "boolean",
      "description": "Optional: whether row 1 is a header (detected if omitted)"
    }
  },
  "required": [
    "csv"
  ]
}
Output schema
{
  "type": "object",
  "properties": {
    "ready": {
      "type": "boolean"
    },
    "delimiter": {
      "type": "string"
    },
    "rows": {
      "type": "number"
    },
    "columns": {
      "type": "array"
    },
    "issues": {
      "type": "array"
    }
  }
}
curl -i -X POST 'https://api.x402toolshop.com/v1/csv-preflight' \
  -H 'content-type: application/json' -d '{"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"}'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)