I don’t think they get “stored” anywhere. I think they are just read and parsed from the text content of the notes.
There might be an API function you could leverage to grab that data. Or maybe it gets cached somewhere you could read it under ~/Library/Application Support/obsidian/ but that is a pure guess.