{"info":{"_postman_id":"4a2ec5a5-9041-4fe8-9849-483bebd70c57","name":"LovableHTML - a pre-render api for React single page applications","description":"<html><head></head><body><h2 id=\"lovablehtml---no-code-seo-optimization-for-lovable-sites-and-other-ai-site-builders-like-bas44-and-google-ai-studio-replit-and-v0\">LovableHTML - no code SEO optimization for Lovable sites and other AI site builders like Bas44 and Google AI studio, Replit and V0</h2>\n<p>This is the API of LovableHTML for prerendering Single page applications built with React, Angular and Vue into plain HTML and managing cache for LovableHTML.</p>\n<p>Read more about the spec here: <a href=\"https://lovablehtml.com/blog/prerender-api\">https://lovablehtml.com/blog/prerender-api</a><br>Read more about the usecase and <a href=\"https://lovablehtml.com/blog/is-lovable-seo-friendly\">how it optimizes SEO for Lovable here</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"50924156","collectionId":"4a2ec5a5-9041-4fe8-9849-483bebd70c57","publishedId":"2sB3dVPo7m","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"0422CC"},"publishDate":"2025-12-18T23:56:52.000Z"},"item":[{"name":"api","item":[{"name":"prerender","item":[{"name":"render","item":[{"name":"Render a URL","id":"351f0a58-a3f0-40d7-9aa5-bcdd8b599337","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"text/html"}],"url":"https://lovablehtml.com/api/prerender/render?url=string","description":"<p>Prerenders a URL into HTML. If prerendering applies, returns 200 with HTML.\nIf it does not apply (static asset, non-HTML request, etc.), returns 304 with a Location header.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-lovablehtml-api-key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"4a2ec5a5-9041-4fe8-9849-483bebd70c57","id":"4a2ec5a5-9041-4fe8-9849-483bebd70c57","name":"LovableHTML - a pre-render api for React single page applications","type":"collection"}},"urlObject":{"path":["api","prerender","render"],"host":["https://lovablehtml.com"],"query":[{"description":{"content":"<p>The full URL to be rendered (must be URL encoded).</p>\n","type":"text/plain"},"key":"url","value":"string"}],"variable":[]}},"response":[{"id":"c840918f-2dab-4826-a15b-8a1cb48052cd","name":"Successful render","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"text/html"},{"description":"Added as a part of security scheme: apikey","key":"x-lovablehtml-api-key","value":"<API Key>"}],"url":{"raw":"https://lovablehtml.com/api/prerender/render?url=string","host":["https://lovablehtml.com"],"path":["api","prerender","render"],"query":[{"description":"The full URL to be rendered (must be URL encoded).","key":"url","value":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/html"}],"cookie":[],"responseTime":null,"body":"string"},{"id":"3115f5a7-a17b-4f6b-b93b-49eca62b6851","name":"Prerendering did not apply. Check 'Location' header for target URL.","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"x-lovablehtml-api-key","value":"<API Key>"}],"url":{"raw":"https://lovablehtml.com/api/prerender/render?url=string","host":["https://lovablehtml.com"],"path":["api","prerender","render"],"query":[{"description":"The full URL to be rendered (must be URL encoded).","key":"url","value":"string"}]}},"status":"Not Modified","code":304,"_postman_previewlanguage":"text","header":[{"disabled":false,"description":{"content":"The target URL to redirect to or fetch directly.","type":"text/plain"},"key":"Location","value":"string"}],"cookie":[],"responseTime":null,"body":""},{"id":"372cf93c-9842-44d5-bc48-a5e94fe80efb","name":"Missing or invalid API key.","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"x-lovablehtml-api-key","value":"<API Key>"}],"url":{"raw":"https://lovablehtml.com/api/prerender/render?url=string","host":["https://lovablehtml.com"],"path":["api","prerender","render"],"query":[{"description":"The full URL to be rendered (must be URL encoded).","key":"url","value":"string"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"f9fa49dd-bac0-476f-a723-5b3016e638ea","name":"Domain not owned/connected in dashboard.","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"x-lovablehtml-api-key","value":"<API Key>"}],"url":{"raw":"https://lovablehtml.com/api/prerender/render?url=string","host":["https://lovablehtml.com"],"path":["api","prerender","render"],"query":[{"description":"The full URL to be rendered (must be URL encoded).","key":"url","value":"string"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"351f0a58-a3f0-40d7-9aa5-bcdd8b599337"}],"id":"aff639c0-e589-4580-b84c-c4b0489aa136","_postman_id":"aff639c0-e589-4580-b84c-c4b0489aa136","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-lovablehtml-api-key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"4a2ec5a5-9041-4fe8-9849-483bebd70c57","id":"4a2ec5a5-9041-4fe8-9849-483bebd70c57","name":"LovableHTML - a pre-render api for React single page applications","type":"collection"}}},{"name":"cache","item":[{"name":"invalidate-page-cache","item":[{"name":"Invalidate Single Page Cache","id":"aa16b7a4-76da-40fa-94ba-dba4ade6cf99","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"domain\": \"example.com\",\n  \"path\": \"/pricing\",\n  \"prewarm\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://lovablehtml.com/api/prerender/cache/invalidate-page-cache","description":"<p>Purge the prerendered cache for a specific page.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-lovablehtml-api-key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"4a2ec5a5-9041-4fe8-9849-483bebd70c57","id":"4a2ec5a5-9041-4fe8-9849-483bebd70c57","name":"LovableHTML - a pre-render api for React single page applications","type":"collection"}},"urlObject":{"path":["api","prerender","cache","invalidate-page-cache"],"host":["https://lovablehtml.com"],"query":[],"variable":[]}},"response":[{"id":"b69f09dc-ea70-404b-8f4c-23e1eb1476ab","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"x-lovablehtml-api-key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"domain\": \"example.com\",\n  \"path\": \"/pricing\",\n  \"prewarm\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://lovablehtml.com/api/prerender/cache/invalidate-page-cache"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"ok\": false,\n  \"deleted\": 177,\n  \"prewarmed\": 6847\n}"}],"_postman_id":"aa16b7a4-76da-40fa-94ba-dba4ade6cf99"}],"id":"7dae89e4-9f08-4426-8da1-fb0c6f64d51d","_postman_id":"7dae89e4-9f08-4426-8da1-fb0c6f64d51d","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-lovablehtml-api-key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"4a2ec5a5-9041-4fe8-9849-483bebd70c57","id":"4a2ec5a5-9041-4fe8-9849-483bebd70c57","name":"LovableHTML - a pre-render api for React single page applications","type":"collection"}}},{"name":"invalidate-paths-cache","item":[{"name":"Invalidate Multiple Paths","id":"a2f37e10-a362-489f-a191-2038366cfb33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"domain\": \"example.com\",\n  \"paths\": [\n    \"/\",\n    \"/pricing\",\n    \"/blog/post\"\n  ],\n  \"prewarm\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://lovablehtml.com/api/prerender/cache/invalidate-paths-cache","description":"<p>Purge the prerendered cache for multiple paths on a domain.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-lovablehtml-api-key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"4a2ec5a5-9041-4fe8-9849-483bebd70c57","id":"4a2ec5a5-9041-4fe8-9849-483bebd70c57","name":"LovableHTML - a pre-render api for React single page applications","type":"collection"}},"urlObject":{"path":["api","prerender","cache","invalidate-paths-cache"],"host":["https://lovablehtml.com"],"query":[],"variable":[]}},"response":[{"id":"6a82929e-c799-4565-acac-661b88e74687","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"x-lovablehtml-api-key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"domain\": \"example.com\",\n  \"paths\": [\n    \"/\",\n    \"/pricing\",\n    \"/blog/post\"\n  ],\n  \"prewarm\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://lovablehtml.com/api/prerender/cache/invalidate-paths-cache"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"ok\": false,\n  \"deleted\": 177,\n  \"prewarmed\": 6847\n}"}],"_postman_id":"a2f37e10-a362-489f-a191-2038366cfb33"}],"id":"bcff97c5-8dca-4471-a3e7-f4aeade53e1c","_postman_id":"bcff97c5-8dca-4471-a3e7-f4aeade53e1c","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-lovablehtml-api-key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"4a2ec5a5-9041-4fe8-9849-483bebd70c57","id":"4a2ec5a5-9041-4fe8-9849-483bebd70c57","name":"LovableHTML - a pre-render api for React single page applications","type":"collection"}}},{"name":"invalidate-site-cache","item":[{"name":"Invalidate Entire Site Cache","id":"17221222-bf68-4eff-b02c-e9c975d48431","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"domain\": \"example.com\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://lovablehtml.com/api/prerender/cache/invalidate-site-cache","description":"<p>Purge the prerendered cache for an entire domain.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-lovablehtml-api-key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"4a2ec5a5-9041-4fe8-9849-483bebd70c57","id":"4a2ec5a5-9041-4fe8-9849-483bebd70c57","name":"LovableHTML - a pre-render api for React single page applications","type":"collection"}},"urlObject":{"path":["api","prerender","cache","invalidate-site-cache"],"host":["https://lovablehtml.com"],"query":[],"variable":[]}},"response":[{"id":"705ba1ca-ad66-47da-ab89-0652a13eea37","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"x-lovablehtml-api-key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"domain\": \"example.com\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://lovablehtml.com/api/prerender/cache/invalidate-site-cache"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"ok\": true,\n  \"deleted\": 1015\n}"}],"_postman_id":"17221222-bf68-4eff-b02c-e9c975d48431"}],"id":"705ee442-1296-4dab-b32c-feeb2e93c7f0","_postman_id":"705ee442-1296-4dab-b32c-feeb2e93c7f0","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-lovablehtml-api-key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"4a2ec5a5-9041-4fe8-9849-483bebd70c57","id":"4a2ec5a5-9041-4fe8-9849-483bebd70c57","name":"LovableHTML - a pre-render api for React single page applications","type":"collection"}}}],"id":"09cfff30-b854-434e-8135-3a3adb5accb7","_postman_id":"09cfff30-b854-434e-8135-3a3adb5accb7","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-lovablehtml-api-key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"4a2ec5a5-9041-4fe8-9849-483bebd70c57","id":"4a2ec5a5-9041-4fe8-9849-483bebd70c57","name":"LovableHTML - a pre-render api for React single page applications","type":"collection"}}}],"id":"97614f12-ef03-41a9-ac17-16ca53a76973","_postman_id":"97614f12-ef03-41a9-ac17-16ca53a76973","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-lovablehtml-api-key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"4a2ec5a5-9041-4fe8-9849-483bebd70c57","id":"4a2ec5a5-9041-4fe8-9849-483bebd70c57","name":"LovableHTML - a pre-render api for React single page applications","type":"collection"}}}],"id":"80322635-e5b3-41d2-b0b5-83427d8c8b2a","_postman_id":"80322635-e5b3-41d2-b0b5-83427d8c8b2a","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-lovablehtml-api-key"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"4a2ec5a5-9041-4fe8-9849-483bebd70c57","id":"4a2ec5a5-9041-4fe8-9849-483bebd70c57","name":"LovableHTML - a pre-render api for React single page applications","type":"collection"}}}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-lovablehtml-api-key"},{"key":"value","value":"{{apiKey}}"}]}},"variable":[{"key":"baseUrl","value":"https://lovablehtml.com"}]}