Delimited Record Shape

Read quoted CSV, TSV, or semicolon records and report which logical records have a different field count from the supplied or header width.

Custom requests cost 0.04 USDC on Base.

Download example JSON · OpenAPI · Source and usage

Pay with a browser wallet · Open example in checkout

The Offline commerce QA kit includes local checks for CSV date and price formats and inventory exports. The ZIP costs 49 USDC on Base.

POST a JSON request to /delimited-record-shape/v1/check with an x402 V2 client.

Worked example

Request

{
  "content": "name,note\r\nAda,\"line 1\nline 2\"\r\nLin,short,extra\r\nBob,\"a \"\"quote\"\"\"",
  "delimiter": ","
}

Result

{
  "expected_columns": 2,
  "records": 4,
  "malformed": [
    {
      "record": 3,
      "start_line": 4,
      "columns": 3
    }
  ]
}

Support catalog maintenance through GitHub Sponsors. Sponsor gptenv · Sponsor Jeremy Carter