/postMedia info by URL
📸 Media Details
Cost / request
$0.01
Response format
JSON
Protocol
REST
About this endpoint
Access Instagram data through agntdata: Media info by URL. Get media details using the media link. Responses are structured JSON for AI agents, analytics, and automation — one API key instead of juggling upstream accounts. Ideal when you need user profiles, reels, explore, locations, and hashtag media programmatically.
Use cases
AI agents that need Instagram data in structured form
Analytics and monitoring pipelines for Instagram content
Research and GTM workflows that combine Instagram signals with other data
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| fields | query | string | optional | Use the `fields` parameter to reduce bandwidth consumption and minimize response size by returning only the necessary data. |
| url | query | string | required | —Default: https://www.instagram.com/p/CqIbCzYMi5C/ |
Responses
Successful response
{
"type": "object"
}Agent / Developer Schema
Machine-readable formats for integrating this endpoint into AI agents and toolchains.
{
"operationId": "Media_info_by_URL",
"method": "get",
"path": "/post",
"summary": "Media info by URL",
"description": "Get media details using the media link.",
"parameters": [
{
"name": "fields",
"in": "query",
"required": false,
"schema": {
"type": "string"
},
"description": "Use the `fields` parameter to reduce bandwidth consumption and minimize response size by returning only the necessary data."
},
{
"name": "url",
"in": "query",
"required": true,
"schema": {
"type": "string",
"default": "https://www.instagram.com/p/CqIbCzYMi5C/"
}
}
],
"responses": [
{
"statusCode": "200",
"description": "Successful response",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
},
{
"statusCode": "400",
"description": "Bad request"
},
{
"statusCode": "401",
"description": "Unauthorized - invalid API key"
},
{
"statusCode": "429",
"description": "Rate limit exceeded"
}
]
}Pricing
$0.01per successful request
Credits are deducted from your agntdata balance on each successful API call. Failed requests (4xx/5xx) are not charged.
Related endpoints
Start using this endpoint
Generate your API key and make your first call in under a minute. Free tier available with transparent pricing.
Instagram APIInstagram data APImedia info by url APIAI agents data APIInstagram APIInstagram data APIInstagram for AI agents