{
  "x402Version": 2,
  "id": 29569,
  "slug": "29569",
  "resource": "https://netintel.dev/markdown/clean",
  "description": "Convert messy HTML or text into clean, well-structured Markdown using Claude Haiku — strips boilerplate, fixes heading hierarchy, normalizes lists and links, and returns readable Markdown so agents can feed clean docs into downstream pipelines, knowledge bases, or LLM context.",
  "type": "http",
  "serviceName": "NetIntel",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1784214098/bazaar-icons/7d2bf437631b2e4e.png",
  "resourceType": "AI Inference",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xdaDc335482AD545296Fd7b28518A251fFCbEb9Df",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "30000",
      "amountUsd": 0.03,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "8FVeybWnB4dYrxTuPK7WzFZNAiEcFVaDLFnKpRwVGr5s",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "30000",
      "amountUsd": 0.03,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "cached": {
            "description": "True if served from the in-memory cache.",
            "type": "boolean"
          },
          "findings": {
            "description": "Informational findings (e.g. empty_output).",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "grade": {
            "description": "Letter grade A-F",
            "type": "string"
          },
          "input_chars": {
            "description": "Character count of the input.",
            "type": "number"
          },
          "markdown": {
            "description": "The cleaned, well-structured GitHub-flavored Markdown.",
            "type": "string"
          },
          "output_chars": {
            "description": "Character count of the cleaned markdown.",
            "type": "number"
          },
          "reduction_ratio": {
            "description": "1 - (output_chars / input_chars), rounded to 2dp — how much boilerplate was stripped (informational).",
            "type": "number"
          },
          "score": {
            "description": "Quality score 0-100",
            "type": "number"
          }
        },
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "text": "<nav>Home About</nav><h1>Welcome</h1><p>Hello <a href=\"https://example.com\">world</a>.</p><footer>© 2024</footer>"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "cached": false,
            "findings": [],
            "grade": "A",
            "input_chars": 108,
            "markdown": "# Welcome\n\nHello [world](https://example.com).\n",
            "output_chars": 39,
            "reduction_ratio": 0.64,
            "score": 100
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "text": {
                    "description": "The messy HTML or text to convert into clean Markdown. Max 10000 words or 50KB. Aliases also accepted: html, content, markdown, input.",
                    "type": "string"
                  }
                },
                "required": [
                  "text"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "cached": {
                    "description": "True if served from the in-memory cache.",
                    "type": "boolean"
                  },
                  "findings": {
                    "description": "Informational findings (e.g. empty_output).",
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "grade": {
                    "description": "Letter grade A-F",
                    "type": "string"
                  },
                  "input_chars": {
                    "description": "Character count of the input.",
                    "type": "number"
                  },
                  "markdown": {
                    "description": "The cleaned, well-structured GitHub-flavored Markdown.",
                    "type": "string"
                  },
                  "output_chars": {
                    "description": "Character count of the cleaned markdown.",
                    "type": "number"
                  },
                  "reduction_ratio": {
                    "description": "1 - (output_chars / input_chars), rounded to 2dp — how much boilerplate was stripped (informational).",
                    "type": "number"
                  },
                  "score": {
                    "description": "Quality score 0-100",
                    "type": "number"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "html to markdown",
    "content extraction",
    "markdown",
    "text cleaning",
    "web content",
    "bazaar"
  ],
  "sourceHost": "netintel.dev",
  "lastUpdated": "2026-10-08T06:08:44.346Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-08T06:08:44.117Z"
  },
  "metadata": {
    "serviceName": "NetIntel",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1784214098/bazaar-icons/7d2bf437631b2e4e.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "text": "<nav>Home About</nav><h1>Welcome</h1><p>Hello <a href=\"https://example.com\">world</a>.</p><footer>© 2024</footer>"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "cached": false,
              "findings": [],
              "grade": "A",
              "input_chars": 108,
              "markdown": "# Welcome\n\nHello [world](https://example.com).\n",
              "output_chars": 39,
              "reduction_ratio": 0.64,
              "score": 100
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "text": {
                      "description": "The messy HTML or text to convert into clean Markdown. Max 10000 words or 50KB. Aliases also accepted: html, content, markdown, input.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "text"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "cached": {
                      "description": "True if served from the in-memory cache.",
                      "type": "boolean"
                    },
                    "findings": {
                      "description": "Informational findings (e.g. empty_output).",
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "grade": {
                      "description": "Letter grade A-F",
                      "type": "string"
                    },
                    "input_chars": {
                      "description": "Character count of the input.",
                      "type": "number"
                    },
                    "markdown": {
                      "description": "The cleaned, well-structured GitHub-flavored Markdown.",
                      "type": "string"
                    },
                    "output_chars": {
                      "description": "Character count of the cleaned markdown.",
                      "type": "number"
                    },
                    "reduction_ratio": {
                      "description": "1 - (output_chars / input_chars), rounded to 2dp — how much boilerplate was stripped (informational).",
                      "type": "number"
                    },
                    "score": {
                      "description": "Quality score 0-100",
                      "type": "number"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "netintel.dev",
    "manifest_name": "netintel.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "cached": false,
    "findings": [],
    "grade": "A",
    "input_chars": 108,
    "markdown": "# Welcome\n\nHello [world](https://example.com).\n",
    "output_chars": 39,
    "reduction_ratio": 0.64,
    "score": 100
  }
}