← All quick checks

CSV/TSV to JSON with delimiter, header and type detection

$0.0021 USD per call Pay per call via x402, no signup

This call parses CSV or TSV text into JSON rows (objects or arrays): it detects the delimiter (comma, semicolon, tab, or pipe), the header row, and quoting (RFC 4180: quoted commas, doubled quotes, and newlines in quotes), infers column types, and flags formula-injection cells (cells starting with = + - @). Input is csv (POST for long text), with optional delimiter, header, output, types, quote, and max_rows; limits are 1,000,000 characters, 50,000 rows, and 500 columns; the parse runs offline.

Call it

x402: GET https://shop.lordevo.com/api/quick/csv-parse?csv=name,age,city%0AAda,36,London%0A%22Lovelace,%20A.%22,,%22New%20York%22 or POST the same fields as JSON to https://shop.lordevo.com/api/quick/csv-parse · MCP tool csv_parse at https://shop.lordevo.com/mcp

The first call answers HTTP 402 with the price ($0.0021 USD per call, USDC on Base); any x402 client pays and retries. Instant tools that fail or are refused are not charged. Discovery is free: /catalog.json, /openapi.json, /llms.txt.

Example

The catalog's own example for this tool (illustrative sample values, not a live result).

Input

{
  "csv": "name,age,city\nAda,36,London\n\"Lovelace, A.\",,\"New York\""
}

Output

{
  "tool": "csv-parse",
  "delimiter": "comma",
  "delimiter_detected": true,
  "quote": "double",
  "header": true,
  "header_detected_by": "text first row over typed columns",
  "columns": [
    {
      "name": "name",
      "index": 0,
      "type": "string",
      "empty_count": 0
    },
    {
      "name": "age",
      "index": 1,
      "type": "integer",
      "empty_count": 1
    },
    {
      "name": "city",
      "index": 2,
      "type": "string",
      "empty_count": 0
    }
  ],
  "column_count": 3,
  "row_count": 2,
  "rows_returned": 2,
  "truncated": false,
  "output": "objects",
  "rows": [
    {
      "name": "Ada",
      "age": 36,
      "city": "London"
    },
    {
      "name": "Lovelace, A.",
      "age": null,
      "city": "New York"
    }
  ],
  "skipped_empty_lines": 0,
  "formula_cells": {
    "count": 0,
    "cells": [],
    "note": "Cells starting with = + - @ (and not a number) can run as formulas when opened in a spreadsheet..."
  },
  "warnings": []
}

All quick checks and prices · Guides · Errors and limits