LovableHTML is a no-code SEO solution to sites built with Lovable. This is the API offering of the same service for pre-rendering api for React, Angular, Vue SPAs.
    LovableHTML is a no-code SEO solution to sites built with Lovable. This is the API offering of the same service for pre-rendering api for React, Angular, Vue SPAs.
    • Render a URL
      GET
    • Invalidate Single Page Cache
      POST
    • Invalidate Multiple Paths
      POST
    • Invalidate Entire Site Cache
      POST

      Render a URL

      GET
      /api/prerender/render
      Prerenders a URL into HTML. If prerendering applies, returns 200 with HTML.
      If it does not apply (static asset, non-HTML request, etc.), returns 304 with a Location header.
      Read more about the spec here: https://lovablehtml.com/blog/prerender-api
      Read more about the usecase and the problem it solves here: https://lovablehtml.com/blog/is-lovable-seo-friendly

      Request

      Authorization
      API Key
      Add parameter in header
      x-lovablehtml-api-key
      Example:
      x-lovablehtml-api-key: ********************
      or
      Bearer Token
      Provide your bearer token in the
      Authorization
      header when making requests to protected resources.
      Example:
      Authorization: Bearer ********************
      or
      Query Params

      Header Params

      Responses

      🟢200
      text/html
      Successful render
      🔵304
      🟠401
      🟠403
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request GET '/api/prerender/render?url' \
      --header 'Accept;' \
      --header 'x-lovablehtml-api-key: <api-key>'
      Modified at 2025-12-19 01:03:21
      Next
      Invalidate Single Page Cache
      Built with