Web & Metadata · x402 V1 + V2

HTML Table Extract

Use this service when you need this capability: extracts bounded HTML tables into deterministic normalized rows with captions, inferred headers, spans, text, and links.

Price and endpoint

LivePOSTBase USDC

0.01 USDC per call

x402 V1 + V2 exact payment on Base mainnet (base in V1; eip155:8453 in V2) using USDC. One HTTP 402 response carries the canonical V2 PAYMENT-REQUIRED header and equivalent V1 JSON body.

POST https://signalharness.ai/api/agent/services/html_table_extract/invoke

Purpose

Extracts bounded HTML tables into deterministic normalized rows with captions, inferred headers, spans, text, and links.

Documented public-source retrieval is bounded by the URL, byte, redirect, and timeout limits below. Source availability can affect execution; review the input schema and returned source metadata.

Inputs

Request fields and validation limits
FieldTypeRequiredLimits
urlstringOptionalPattern: ^https://; Minimum length 9; Maximum length 2048
htmlstringOptionalMinimum length 1; Maximum length 65536
baseUrlstringOptionalPattern: ^https://; Minimum length 9; Maximum length 2048

Example request body

{
  "html": "<table><tr><th>Name</th></tr><tr><td>Example</td></tr></table>"
}
View complete input schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "additionalProperties": false,
  "minProperties": 1,
  "maxProperties": 2,
  "required": [],
  "properties": {
    "url": {
      "type": "string",
      "pattern": "^https://",
      "minLength": 9,
      "maxLength": 2048
    },
    "html": {
      "type": "string",
      "minLength": 1,
      "maxLength": 65536
    },
    "baseUrl": {
      "type": "string",
      "pattern": "^https://",
      "minLength": 9,
      "maxLength": 2048
    }
  }
}

Realistic output shape

Illustrative output from the canonical adapter fixture and schema. It is not a completed paid execution or a current live observation.

{
  "tableCount": 0,
  "tables": [
    {}
  ],
  "warnings": [
    "Verify the caller-supplied data before relying on this result."
  ]
}
View complete output schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "additionalProperties": false,
  "minProperties": 3,
  "maxProperties": 3,
  "required": [
    "tableCount",
    "tables",
    "warnings"
  ],
  "properties": {
    "tableCount": {
      "type": "integer",
      "minimum": 0,
      "maximum": 64
    },
    "tables": {
      "type": "array",
      "minItems": 0,
      "maxItems": 64,
      "items": {
        "type": [
          "object"
        ]
      }
    },
    "warnings": {
      "type": "array",
      "minItems": 0,
      "maxItems": 32,
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 1024
      }
    }
  }
}

Execution limits

  • MaxInputBytes: 131072
  • MaxOutputBytes: 1048576
  • MaxConcurrentExecutions: 2
  • MaxArtifacts: 0
  • MaxArtifactBytes: 0
  • RateLimitPerMinute: 30
  • MaxFetchBytes: 2097152
  • MaxDecodedBytes: 2097152
  • FetchTimeoutMs: 20000
  • MaxRedirects: 3
  • MaxTables: 64
  • MaxRows: 2000
  • MaxColumns: 256
  • MaxNesting: 128

Timeout: 30000 ms. Full schemas are in OpenAPI.

Copyable unpaid request

This schema-valid request returns the canonical HTTP 402 challenge without executing the service. A payment-capable client validates the challenge, signs only with prior authority and budget, and retries the identical body.

curl -i -X POST https://signalharness.ai/api/agent/services/html_table_extract/invoke \
  -H "Content-Type: application/json" \
  --data '{"html":"<table><tr><th>Name</th></tr><tr><td>Example</td></tr></table>"}'

Continue with the paid-call walkthrough →