I’m trying to figure out if there’s a way to get stuff from public Notion pages using the official API (like https://api.notion.com/v1/...
) without going through the whole OAuth process. I’ve tried, but I keep getting a 404 error for public pages that aren’t shared with my integration. Am I missing something?
I know there are some tools out there that can work with public pages without logging in, but they use this unofficial API (https://notion.so/api/v3/...
). I’m guessing that’s all reverse-engineered and could break at any time.
I’ve seen some products that let you paste a URL for a public Notion page and do cool stuff with it, like turning it into a presentation. That’s the kind of thing I want to do, but I’d really prefer to use the official API if possible. Any ideas?
Unfortunately, you can’t access public Notion pages through the official API without OAuth. The API is designed for authenticated access to workspaces you have permissions for. Those products you mentioned likely use scraping techniques or the unofficial API, which as you noted, isn’t stable long-term.
If you’re set on using the official API, you’ll need to go through the OAuth flow. This ensures proper authentication and access control. For personal projects, you could create a private integration with your own workspace as a workaround, but that won’t help for accessing other public pages.
It’s a limitation of the current API design. Notion might add public page access in the future, but for now, OAuth is the only official way. Consider reaching out to Notion’s support to request this feature if it’s crucial for your use case.
nah, u cant get public notion content with the official api without oauth. ive seen the same 404. those other tools probably use unofficial or scraping methods which are unstable. if u need reliability, oauth is the way. sucks but thats that
As someone who’s been working with the Notion API for a while, I can confirm that fetching content from public pages without OAuth is a no-go. It’s frustrating, I know. I’ve been in your shoes, trying to build a tool that could easily pull data from public Notion pages.
The 404 error you’re getting is exactly what I encountered too. It’s not you - it’s just how Notion has set things up. They’re pretty strict about access control, even for public pages.
I ended up having to bite the bullet and implement OAuth for my project. It was a pain, but it ensured my app wouldn’t break if Notion decided to change their unofficial API.
If you’re dead set against OAuth, you might have to look into web scraping. But be warned, it’s finicky and prone to breaking. Plus, it might violate Notion’s terms of service.
My advice? Stick with the official API and implement OAuth. It’s more work upfront, but it’ll save you headaches down the road.