Dev Tools

HTML → Shopify section converter

HTML → Shopify section converter. POST static HTML; get back a drop-in theme section: headings, paragraphs, images, links, and buttons are lifted into {{ section.settings.* }} references and a matching {% schema %} is generated with your original content as the defaults — immediately editable in the Shopify theme editor. Deterministic transform, no AI; output is self-linted before it's returned.

Price: $0.01 per call, paid in USDC via the x402 protocol (see the x402 security scheme).

post/api/liquid/section

Request

  • Base URL: https://api.webbersites.com
  • URL: https://api.webbersites.com/api/liquid/section
  • Auth: API key in header X-PAYMENT

Request body

htmlstring required

Static HTML to convert (fragment or full page), max 256 KB

namestring

Section name for the schema (default: first heading)

Response

Success

namestring
liquidstring

the finished section file — markup + generated {% schema %}

settings_countnumber
lintobject

self-lint of the generated Liquid

Changes

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