One public Instagram post or reel by URL: owner, caption, like, comment and play counts, media URLs and audio.
1 credit/ call
Never more than 3 credits a call.
You only pay when data comes back.
curl -X POST "https://api.primaryapi.com/v1/run/instagram.post" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://www.instagram.com/p/DLNsnpUTdVS/"}'{
"output": {
"found": true,
"data": {
"displayName": "<string | null>",
"likes": "<integer | null>",
"comments": "<integer | null>",
"hasAudio": "<boolean | null>", …
}
},
"credits": 1
}Input and output
3 fields, 1 advanced
https://www.instagram.com/p/DLNsnpUTdVS/.39 fields
Good to know
Media URLs are temporary signed CDN links.
Unknown URL? It comes back as not found, not as an error.
The same key and credits work for every API.