The public API is extremely important to the future of Notion. We maintain date-versioned backwards compatibility similarly to Stripe.
When it comes to your content, you can export your entire Notion workspace (or just the part of it that’s your CMS) as Markdown/CSV or semantic HTML, including all your uploaded assets and files. The HTML export is read to host as-is or post-process with BeautifulSoup, etc.