Quick start
One call, one response. Pick your language — the request is the same everywhere: a url parameter and your key in a header.
curl -G 'https://api.gapi.dev/instagram' \
--data-urlencode 'url=https://www.instagram.com/reel/DbLWsRuyurp/' \
-H 'X-API-Key: gapi_live_your_key_here'Reading the answer
You do not need to know what kind of post it was before calling. Read type, then walk media — a single post gives one item, a carousel or story gives several, and the loop is identical either way.
data = response.json()
for item in data["media"]:
download(item["url"]) # one item, or ten — same loop
What comes back
