Вложенные словари

Цепочка ключей извлекает данные из глубины:

api = {"user": {"profile": {"name": "Alex"}}}
print(api["user"]["profile"]["name"])