Web & Metadata · x402 V1 + V2

URL to Markdown

Use this service when you need this capability: fetches one public HTTPS HTML resource without JavaScript execution and returns cleaned Markdown with source integrity metadata.

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/url_to_markdown/invoke

Purpose

Fetches one public HTTPS HTML resource without JavaScript execution and returns cleaned Markdown with source integrity metadata.

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
urlstringRequiredPattern: ^https://; Minimum length 9; Maximum length 2048

Example request body

{
  "url": "https://example.com/"
}
View complete input schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "additionalProperties": false,
  "minProperties": 1,
  "maxProperties": 1,
  "required": [
    "url"
  ],
  "properties": {
    "url": {
      "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.

{
  "markdown": "# Example\n\nNormalized caller-supplied content.",
  "sourceUrl": "example00",
  "contentType": "Example caller-supplied content.",
  "byteCount": 0,
  "sha256": "0000000000000000000000000000000000000000000000000000000000000000"
}
View complete output schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "additionalProperties": false,
  "minProperties": 5,
  "maxProperties": 6,
  "required": [
    "markdown",
    "sourceUrl",
    "contentType",
    "byteCount",
    "sha256"
  ],
  "properties": {
    "markdown": {
      "type": "string",
      "minLength": 0,
      "maxLength": 65536
    },
    "title": {
      "type": "string",
      "minLength": 0,
      "maxLength": 1024
    },
    "sourceUrl": {
      "type": "string",
      "minLength": 9,
      "maxLength": 2048
    },
    "contentType": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256
    },
    "byteCount": {
      "type": "integer",
      "minimum": 0,
      "maximum": 10485760
    },
    "sha256": {
      "type": "string",
      "pattern": "^[0-9a-f]{64}$",
      "minLength": 64,
      "maxLength": 64
    }
  }
}

Execution limits

  • MaxInputBytes: 4096
  • MaxOutputBytes: 1048576
  • MaxConcurrentExecutions: 2
  • MaxArtifacts: 0
  • MaxArtifactBytes: 0
  • RateLimitPerMinute: 30
  • MaxFetchBytes: 2097152
  • MaxDecodedBytes: 4194304
  • FetchTimeoutMs: 10000
  • MaxRedirects: 3

Timeout: 15000 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/url_to_markdown/invoke \
  -H "Content-Type: application/json" \
  --data '{"url":"https://example.com/"}'

Continue with the paid-call walkthrough →