Please restate and clarify which API endpoints you are using, what data your interested in collecting, and what seems to be preventing you from accessing that data from the API response.
My best guess here is that if you’re working with the API from Gamemaker, you’re writing GML. Have you tried using json_decode to transform the response data into an object you can traverse with GML?