Is it possible (and how to) query single Gutenberg blocks?

I have several Gutenberg blocks. I’d like them not to show up together in frontend inside the_content. I’d like to use them for other purposes, so I would need to query them (get their contents) one by one, store in memory and then place them where I want. Is it possible? Can’t find docs about.