Fix Instagram Embeds in Discord
Instantly render photos, videos, and Reels inside Discord. Swap domain names or query our API directly from your bots.
How to Use IG Linker
1
Copy Instagram Link
Go to Instagram and copy the URL of the Post or Reel you want to share. Both /p/ and /reel/ formats are fully supported.
2
Swap the Domain
When pasting the link in Discord, replace instagram.com with your deployed domain name. The rest of the link remains identical.
3
Enjoy Embeds!
Discord will retrieve the media directly through our server and display the optimized preview, while users who click the link will redirect instantly to Instagram.
Developer API Reference
If you want to integrate Instagram media embedding directly into your custom Discord slash commands, Telegram bots, or scripts, you can query our developer endpoint directly. No authentication required.
GET
/api/embed
Query Parameters
- url string Required. The absolute URL of the public Instagram Post or Reel.
- title | t string Optional. Custom title override for the Discord embed.
- desc | d string Optional. Custom description override for the Discord embed.
Example Request
curl "http://localhost:3000/api/embed?url=https://www.instagram.com/reel/DYnvKVeDYPh/"
Example JSON Response (200 OK)
{
"success": true,
"source": "fetch",
"id": "DYnvKVeDYPh",
"type": "reel",
"instagramUrl": "https://www.instagram.com/reel/DYnvKVeDYPh/",
"title": "Instagram Reel",
"description": "Click to view this post directly on Instagram.",
"media": [
{
"url": "https://d.rapidcdn.app/v2?token=...",
"thumbnail": "https://d.rapidcdn.app/thumb?token=...",
"type": "video"
}
]
}