Filter a database

POST https://api.notion.com/v1/databases/:id/query

Request Body

{"filter"=>{"property"=>"Status", "select"=>{"equals"=>"Reading"}}}

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Content-Typestring
Notion-Versionstring

RESPONSES

status: OK

{"object":"list","results":[{"object":"page","id":"557ef501-bfdb-4586-918e-4434f31bca8c","created_time":"2021-04-27T20:38:00.000Z","last_edited_time":"2021-04-27T20:38:00.000Z","created_by":{"object":"user","id":"6794760a-1f15-45cd-9c65-0dfe42f5135a"},"last_edited_by":{"object":"user","id":"6794760a-1f15-45cd-9c65-0dfe42f5135a"},"cover":null,"icon":null,"parent":{"type":"database_id","database_id":"8e2c2b76-9e1d-47d2-87b9-ed3035d607ae"},"archived":false,"properties":{"Score /5":{"id":")Y7%22","type":"select","select":{"id":"66d3d050-086c-4a91-8c56-d55dc67e7789","name":"⭐️⭐️","color":"default"}},"Type":{"id":"%2F7eo","type":"select","select":{"id":"9cc30548-59d6-4cd3-94bc-d234081525c4","name":"Essay Resource","color":"default"}},"Publisher":{"id":"%3E%24Pb","type":"select","select":{"id":"01f82d08-aa1f-4884-a4e0-3bc32f909ec4","name":"The Atlantic","color":"red"}},"Summary":{"id":"%3F%5C25","type":"rich_text","rich_text":[]},"Publishing/Release Date":{"id":"%3Fex%2B","type":"date","date":{"start":"2016-10-03","end":null,"time_zone":null}},"Link":{"id":"VVMi","type":"url","url":"https://www.theatlantic.com/entertainment/archive/2016/03/how-jane-eyre-created-the-modern-self/460461/"},"Read":{"id":"_MWJ","type":"checkbox","checkbox":false},"Status":{"id":"%60zz5","type":"select","select":{"id":"5925ba22-0126-4b58-90c7-b8bbb2c3c895","name":"Reading","color":"red"}},"Author":{"id":"qNw_","type":"multi_select","multi_select":[{"id":"ae3a2cbe-1fc9-4376-be35-331628b34623","name":"Karen Swallow Prior","color":"default"}]},"Name":{"id":"title","type":"title","title":[{"type":"text","text":{"content":"Jane Eyre","link":null},"annotations":{"bold":false,"italic":true,"strikethrough":false,"underline":false,"code":false,"color":"default"},"plain_text":"Jane Eyre","href":null},{"type":"text","text":{"content":" and the Invention of Self","link":null},"annotations":{"bold":false,"italic":false,"strikethrough":false,"underline":false,"code":false,"color":"default"},"plain_text":" and the Invention of Self","href":null}]}},"url":"https://www.notion.so/Jane-Eyre-and-the-Invention-of-Self-557ef501bfdb4586918e4434f31bca8c"},{"object":"page","id":"a1712d54-53e4-4893-a69d-4d581cd2c845","created_time":"2021-04-27T20:38:00.000Z","last_edited_time":"2021-05-12T06:07:00.000Z","created_by":{"object":"user","id":"6794760a-1f15-45cd-9c65-0dfe42f5135a"},"last_edited_by":{"object":"user","id":"92a680bb-6970-4726-952b-4f4c03bff617"},"cover":null,"icon":null,"parent":{"type":"database_id","database_id":"8e2c2b76-9e1d-47d2-87b9-ed3035d607ae"},"archived":false,"properties":{"Score /5":{"id":")Y7%22","type":"select","select":{"id":"b7307e35-c80a-4cb5-bb6b-6054523b394a","name":"⭐️⭐️⭐️⭐️","color":"default"}},"Type":{"id":"%2F7eo","type":"select","select":{"id":"f96d0d0a-5564-4a20-ab15-5f040d49759e","name":"Article","color":"default"}},"Publisher":{"id":"%3E%24Pb","type":"select","select":{"id":"c5ee409a-f307-4176-99ee-6e424fa89afa","name":"NYT","color":"default"}},"Summary":{"id":"%3F%5C25","type":"rich_text","rich_text":[{"type":"text","text":{"content":"Some think chief ethics officers could help technology companies navigate political and social questions.","link":null},"annotations":{"bold":false,"italic":false,"strikethrough":false,"underline":false,"code":false,"color":"default"},"plain_text":"Some think chief ethics officers could help technology companies navigate political and social questions.","href":null}]},"Publishing/Release Date":{"id":"%3Fex%2B","type":"date","date":{"start":"2018-10-21","end":null,"time_zone":null}},"Link":{"id":"VVMi","type":"url","url":"https://www.nytimes.com/2018/10/21/opinion/who-will-teach-silicon-valley-to-be-ethical.html"},"Read":{"id":"_MWJ","type":"checkbox","checkbox":true},"Status":{"id":"%60zz5","type":"select","select":{"id":"5925ba22-0126-4b58-90c7-b8bbb2c3c895","name":"Reading","color":"red"}},"Author":{"id":"qNw_","type":"multi_select","multi_select":[{"id":"833e2c78-35ed-4601-badc-50c323341d76","name":"Kara Swisher","color":"default"}]},"Name":{"id":"title","type":"title","title":[{"type":"text","text":{"content":"Who Will Teach Silicon Valley to Be Ethical? ","link":null},"annotations":{"bold":false,"italic":false,"strikethrough":false,"underline":false,"code":false,"color":"default"},"plain_text":"Who Will Teach Silicon Valley to Be Ethical? ","href":null}]}},"url":"https://www.notion.so/Who-Will-Teach-Silicon-Valley-to-Be-Ethical-a1712d5453e44893a69d4d581cd2c845"}],"next_cursor":null,"has_more":false}