FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Notion Has a Free API — Create Pages, Query Databases, and Automate Your Workspace
How-ToWeb Development

Notion Has a Free API — Create Pages, Query Databases, and Automate Your Workspace

via Dev.to JavaScriptAlex Spinov3h ago

Notion is where I manage everything — notes, projects, clients, content calendar. But I was doing everything manually until I discovered their API. Now I automate 80% of my Notion workflow with simple scripts. Getting Started (3 minutes) Go to notion.so/my-integrations Create a new integration Copy the API token Share your database with the integration (click Share in Notion, add your integration) Query a Database import requests NOTION_TOKEN = ' your_token ' DATABASE_ID = ' your_database_id ' headers = { ' Authorization ' : f ' Bearer { NOTION_TOKEN } ' , ' Notion-Version ' : ' 2022-06-28 ' , ' Content-Type ' : ' application/json ' } def query_database ( database_id , filter_obj = None ): url = f ' https://api.notion.com/v1/databases/ { database_id } /query ' payload = {} if filter_obj : payload [ ' filter ' ] = filter_obj response = requests . post ( url , headers = headers , json = payload ) return response . json ()[ ' results ' ] # Get all items items = query_database ( DATABASE_I

Continue reading on Dev.to JavaScript

Opens in a new tab

Read Full Article
2 views

Related Articles

5 Campfire Songs Anyone Can Play on Guitar (Free Chord Charts)
How-To

5 Campfire Songs Anyone Can Play on Guitar (Free Chord Charts)

Dev.to Beginners • 5h ago

Bybit vs HTX — Which Crypto Exchange Is Better? (2026)
How-To

Bybit vs HTX — Which Crypto Exchange Is Better? (2026)

Dev.to Beginners • 5h ago

Stop Posting Noise: Building in Public Needs Real Value
How-To

Stop Posting Noise: Building in Public Needs Real Value

Dev.to Beginners • 6h ago

We got an audience with the "Lunar Viceroy" to talk how NASA will build a Moon base
How-To

We got an audience with the "Lunar Viceroy" to talk how NASA will build a Moon base

Ars Technica • 7h ago

Greatings
How-To

Greatings

Dev.to Tutorial • 7h ago

Discover More Articles