# HTML Table to CSV

> HTML Table to CSV is a paid API for AI agents from 164.160.90.241.sslip.io, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Converts an HTML string containing a <table> element into structured rows and CSV-formatted text.

## Facts

- Endpoint: GET https://164.160.90.241.sslip.io/api/fmt-html-table-to-csv?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/html-table-to-csv-6e76ecb8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_toSWAgNt-g_DeCzZylE1m

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability html-table-to-csv-6e76ecb8
```

Example prompt: Can you convert this HTML table into CSV text? Here's the HTML: <table><tr><th>Name</th><th>Age</th></tr><tr><td>Alice</td><td>30</td></tr></table>

## When to prefer this

Use this endpoint when you have raw HTML containing a <table> element and need it converted to CSV without setting up a parser locally. Ideal for agents processing scraped web pages, extracting tabular report data, or automating data pipelines that receive HTML payloads. Prefer this over manual parsing when a quick, pay-per-call serverless conversion is sufficient.

## Known failure modes

- Missing or malformed HTML table: if the input HTML contains no <table> element, the conversion will fail or return empty results
- Invalid HTML: severely malformed HTML may cause parsing errors
- Multiple tables: behavior with multiple <table> elements in the HTML may be undefined
- Empty table: an HTML table with no rows returns empty or header-only CSV

## How this service works

Convert an HTML table string into rows and CSV text.

## Output

Returns the parsed table as CSV text with rows and columns matching the HTML table structure, including headers if present. Each row of the HTML table becomes a line of comma-separated values.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "html"
     ],
     "properties": {
      "html": {
       "type": "string",
       "description": "HTML containing a <table>"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/html-table-to-csv-6e76ecb8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 164.160.90.241.sslip.io](https://www.zero.xyz/host/164.160.90.241.sslip.io/llms.txt)
