Multiple query results in API Action

Please rename the Group shareholders to "json" or something else, as there's a variable name collision with the Repeat shareholders

My idea is this Group "json" would have all Set Values required to build the JSON, including the Repeat shareholders you put it there nicely

Then you could indeed access {{ json }}, which would have the shareholders property inside

If you get it empty, maybe you need to add a JSON encode formatter (not in the UI):