Instagram Post API
Retrieve a public Instagram post and its available content and metadata.
/v1/instagram/postCoverage is rolling out during preview. Test the endpoint you need before integrating. Unavailable operations return an explicit error and use no credits.
Try this endpoint
Enter the documented inputs, run a protected browser test, and inspect the JSON response.
curl -X GET 'https://socialquery.dev/v1/instagram/post?url=https%3A%2F%2Fwww.instagram.com%2Fp%2FDcCH2ZygIiP%2F' \
-H "x-api-key: $SOCIALQUERY_API_KEY"Request contract
Parameters
Pass these fields as query parameters. Production requests also require your server-side API key.
urlRequired- The public URL of the resource you want to look up.Example: https://www.instagram.com/p/DcCH2ZygIiP/
regionOptional- Provide region in the format shown in the example.Example: us
trimOptional- Provide trim in the format shown in the example.Example: false
download_mediaOptional- Provide download media in the format shown in the example.Example: false
Build a reliable integration.
Keep your key server-side
Pass your SocialQuery key in the x-api-key header. Never expose credentials in a browser bundle.
Check the response
Read success before using data. Preserve request_id when logging errors or contacting support.
Account for coverage
Test the fields you need. Provider availability varies, and unavailable operations use no credits.
More Instagram endpoints
View all →Instagram Profile API
Retrieve the public profile details available for a Instagram account.
Instagram Profile About API
Instagram profile about.
Instagram Profile Posts API
Instagram profile posts.