data_tools

HTML sanitizer

Strip an HTML fragment down to a vetted allowlist of semantic/structural tags and safe attributes, removing script tags, inline event handlers and unsafe link/media schemes (only http, https, mailto, tel survive). Forces rel=noopener noreferrer on every anchor. Does not render, fetch, or validate the HTML.

post/api/agent-commerce/v1/services/html_sanitize/execute

Request

  • Base URL: https://www.tradepilotusa.com (the document declares no server; this is the origin it was published from)
  • URL: https://www.tradepilotusa.com/api/agent-commerce/v1/services/html_sanitize/execute
  • Auth: none declared

Request body

htmlstring required

Response

Successful response

utility'html_sanitize' required
request_idstring required

Changes

No recorded changes to this operation across all 1 revision of this API.