# SignalHarness HTML Table Extractor

> SignalHarness HTML Table Extractor is a paid API for AI agents from signalharness.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Extracts all HTML tables from a given URL or raw HTML string and returns structured table data.

## Facts

- Endpoint: POST https://signalharness.ai/api/agent/services/html_table_extract/invoke
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/signalharness-html-table-extractor-d34861ac
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-jZD9J4bS1-RD_mrIuKUj

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 signalharness-html-table-extractor-d34861ac -d '<json body>'
```

Example prompt: Can you extract all the tables from this page — https://example.com/financial-report — and give me the structured data from each one?

## When to prefer this

Choose this endpoint when you need to reliably extract structured tabular data from a URL or raw HTML string at low cost ($0.01/call). It is purpose-built for agent workflows requiring structured table data from web pages, especially when you need cryptographic receipts for auditability. Prefer this over general-purpose scraping tools when the target data is specifically in HTML table format.

## Known failure modes

- URL not accessible or returns non-200 status — tables array will be empty
- HTML content exceeds 65,536 character limit — request rejected
- URL does not match required https:// pattern — validation error
- Page contains no HTML tables — returns tableCount: 0 with empty tables array
- Malformed HTML that cannot be parsed — may return warnings or partial results

## How this service works

Explore 330 pay-per-call x402 API services and 27 agent-native digital products, with Base USDC pricing, secure Polar checkout, and free discovery.

## Output

Returns a JSON object containing an array of extracted tables (each with rows and columns of data), a count of tables found, and any warnings encountered during extraction. Also includes a signed receipt with payment details, execution metadata, and a SHA-256 hash of the result for verification.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "pattern": "^https://",
   "maxLength": 2048,
   "minLength": 9
  },
  "html": {
   "type": "string",
   "maxLength": 65536,
   "minLength": 1
  },
  "baseUrl": {
   "type": "string",
   "pattern": "^https://",
   "maxLength": 2048,
   "minLength": 9
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "replay": false,
  "result": {
   "tables": [
    {}
   ],
   "warnings": [
    "Verify the caller-supplied data before relying on this result."
   ],
   "tableCount": 0
  },
  "status": "succeeded",
  "receipt": {
   "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
   "usage": [],
   "status": "succeeded",
   "network": "eip155:8453",
   "artifacts": [],
   "endedAtMs": 0,
   "latencyMs": 0,
   "paymentId": "example-payment",
   "receiptId": "example-receipt",
   "requestId": "example-request",
   "serviceId": "html_table_extract",
   "executionId": "example-execution",
   "startedAtMs": 0,
   "amountAtomic": "10000",
   "resultSha256": "cd400000e01a923c3c36da8bd74f6c1a14a4a9c4596edb22fa6b484ef2f6a43f",
   "serviceVersion": "1.0.0",
   "settlementReference": "0x0000000000000000000000000000000000000000000000000000000000000000"
  },
  "artifacts": [],
  "requestId": "example-request",
  "executionId": "example-execution"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/signalharness-html-table-extractor-d34861ac/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from signalharness.ai](https://www.zero.xyz/host/signalharness.ai/llms.txt)
