Can I load into a table with Arrays from an API Query ie not flattening the data into multiple rows but loading that data into an array

I need to make an API call which will return repeated elements. I want those repeated element put into an array (with structs) rather than have a row per repeat. Is this possible and if so how ?