Get post details
curl --request GET \
--url https://api.konbiniapi.com/v1/instagram/posts/{postId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.konbiniapi.com/v1/instagram/posts/{postId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.konbiniapi.com/v1/instagram/posts/{postId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.konbiniapi.com/v1/instagram/posts/{postId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.konbiniapi.com/v1/instagram/posts/{postId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.konbiniapi.com/v1/instagram/posts/{postId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.konbiniapi.com/v1/instagram/posts/{postId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"@context": [
"https://www.w3.org/ns/activitystreams#",
"https://konbiniapi.com/ns/social#"
],
"type": "Video",
"id": "https://www.instagram.com/p/CybWViruta1/",
"url": "https://www.instagram.com/p/CybWViruta1/",
"entityId": "CybWViruta1",
"content": "When you realize there is a simpler way #learnfromkhaby",
"published": "2026-02-27T18:36:42.000Z",
"likeCount": 2800000,
"commentCount": 29200,
"attributedTo": {
"type": "Person",
"id": "https://www.instagram.com/khaby00/",
"url": "https://www.instagram.com/khaby00/",
"entityId": "779085683",
"preferredUsername": "khaby00",
"name": "Khabane Lame",
"icon": {
"type": "Image",
"url": "https://scontent.cdninstagram.com/v/t51.2885-19/avatar.jpg"
},
"role": "collaborator"
},
"location": {
"type": "Place",
"name": "Los Angeles, California",
"id": "213385402",
"url": "https://www.instagram.com/explore/locations/213385402/",
"latitude": 34.0522,
"longitude": -118.2437
},
"tag": [
{
"type": "Tag",
"name": "learnfromkhaby",
"href": "https://www.instagram.com/explore/tags/learnfromkhaby/"
}
],
"language": "en",
"isEdited": false,
"isSponsored": false,
"viewCount": 42600000,
"duration": 23,
"contentFormat": "reel",
"attachment": [
{
"type": "Video",
"url": [
"https://scontent.cdninstagram.com/v/t50.2886-16/video.mp4"
],
"mediaType": "video/mp4",
"width": 576,
"height": 1024
}
],
"image": [
{
"type": "Image",
"url": "https://scontent.cdninstagram.com/v/t51.2885-19/avatar.jpg",
"width": 1080,
"height": 1920
}
],
"audio": {
"type": "Audio",
"entityId": "293394603591002",
"name": "Original audio",
"artist": "khaby00",
"isOriginal": true,
"id": "https://www.instagram.com/reels/audio/293394603591002/",
"duration": 85.216
},
"name": "Photo of Khabane Lame",
"totalItems": 5,
"items": [
{
"type": "Image",
"entityId": "3214260996432123574",
"image": [
{
"type": "Image",
"url": "https://scontent.cdninstagram.com/v/t51.2885-19/avatar.jpg",
"width": 1080,
"height": 1920
}
],
"attachment": [
{
"type": "Video",
"url": [
"https://scontent.cdninstagram.com/v/t50.2886-16/video.mp4"
],
"mediaType": "video/mp4",
"width": 576,
"height": 1024
}
],
"name": "Photo of Khabane Lame"
}
]
}
}{
"errors": [
{
"code": "validation_error",
"message": "Validation error"
}
],
"data": null
}{
"errors": [
{
"message": "Invalid API key"
}
],
"data": null
}{
"errors": [
{
"code": "credits_exhausted",
"message": "Credits exhausted. Upgrade your plan at konbiniapi.com"
}
],
"data": null
}{
"errors": [
{
"message": "API key is disabled"
}
],
"data": null
}{
"errors": [
{
"message": "Not found"
}
],
"data": null
}{
"errors": [
{
"code": "validation_error",
"message": "Request body too large"
}
],
"data": null
}{
"errors": [
{
"code": "internal_error",
"message": "Internal error"
}
],
"data": null
}{
"errors": [
{
"code": "platform_error",
"message": "Platform error"
}
],
"data": null
}{
"errors": [
{
"code": "service_unavailable",
"message": "Service unavailable"
}
],
"data": null
}{
"errors": [
{
"code": "platform_error",
"message": "Platform error"
}
],
"data": null
}Posts
Get post details
Returns details for a single post by its shortcode, including media, captions, and engagement counts. Supports photos, videos, and carousels.
GET
/
v1
/
instagram
/
posts
/
{postId}
Get post details
curl --request GET \
--url https://api.konbiniapi.com/v1/instagram/posts/{postId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.konbiniapi.com/v1/instagram/posts/{postId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.konbiniapi.com/v1/instagram/posts/{postId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.konbiniapi.com/v1/instagram/posts/{postId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.konbiniapi.com/v1/instagram/posts/{postId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.konbiniapi.com/v1/instagram/posts/{postId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.konbiniapi.com/v1/instagram/posts/{postId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"@context": [
"https://www.w3.org/ns/activitystreams#",
"https://konbiniapi.com/ns/social#"
],
"type": "Video",
"id": "https://www.instagram.com/p/CybWViruta1/",
"url": "https://www.instagram.com/p/CybWViruta1/",
"entityId": "CybWViruta1",
"content": "When you realize there is a simpler way #learnfromkhaby",
"published": "2026-02-27T18:36:42.000Z",
"likeCount": 2800000,
"commentCount": 29200,
"attributedTo": {
"type": "Person",
"id": "https://www.instagram.com/khaby00/",
"url": "https://www.instagram.com/khaby00/",
"entityId": "779085683",
"preferredUsername": "khaby00",
"name": "Khabane Lame",
"icon": {
"type": "Image",
"url": "https://scontent.cdninstagram.com/v/t51.2885-19/avatar.jpg"
},
"role": "collaborator"
},
"location": {
"type": "Place",
"name": "Los Angeles, California",
"id": "213385402",
"url": "https://www.instagram.com/explore/locations/213385402/",
"latitude": 34.0522,
"longitude": -118.2437
},
"tag": [
{
"type": "Tag",
"name": "learnfromkhaby",
"href": "https://www.instagram.com/explore/tags/learnfromkhaby/"
}
],
"language": "en",
"isEdited": false,
"isSponsored": false,
"viewCount": 42600000,
"duration": 23,
"contentFormat": "reel",
"attachment": [
{
"type": "Video",
"url": [
"https://scontent.cdninstagram.com/v/t50.2886-16/video.mp4"
],
"mediaType": "video/mp4",
"width": 576,
"height": 1024
}
],
"image": [
{
"type": "Image",
"url": "https://scontent.cdninstagram.com/v/t51.2885-19/avatar.jpg",
"width": 1080,
"height": 1920
}
],
"audio": {
"type": "Audio",
"entityId": "293394603591002",
"name": "Original audio",
"artist": "khaby00",
"isOriginal": true,
"id": "https://www.instagram.com/reels/audio/293394603591002/",
"duration": 85.216
},
"name": "Photo of Khabane Lame",
"totalItems": 5,
"items": [
{
"type": "Image",
"entityId": "3214260996432123574",
"image": [
{
"type": "Image",
"url": "https://scontent.cdninstagram.com/v/t51.2885-19/avatar.jpg",
"width": 1080,
"height": 1920
}
],
"attachment": [
{
"type": "Video",
"url": [
"https://scontent.cdninstagram.com/v/t50.2886-16/video.mp4"
],
"mediaType": "video/mp4",
"width": 576,
"height": 1024
}
],
"name": "Photo of Khabane Lame"
}
]
}
}{
"errors": [
{
"code": "validation_error",
"message": "Validation error"
}
],
"data": null
}{
"errors": [
{
"message": "Invalid API key"
}
],
"data": null
}{
"errors": [
{
"code": "credits_exhausted",
"message": "Credits exhausted. Upgrade your plan at konbiniapi.com"
}
],
"data": null
}{
"errors": [
{
"message": "API key is disabled"
}
],
"data": null
}{
"errors": [
{
"message": "Not found"
}
],
"data": null
}{
"errors": [
{
"code": "validation_error",
"message": "Request body too large"
}
],
"data": null
}{
"errors": [
{
"code": "internal_error",
"message": "Internal error"
}
],
"data": null
}{
"errors": [
{
"code": "platform_error",
"message": "Platform error"
}
],
"data": null
}{
"errors": [
{
"code": "service_unavailable",
"message": "Service unavailable"
}
],
"data": null
}{
"errors": [
{
"code": "platform_error",
"message": "Platform error"
}
],
"data": null
}Authorizations
Send your API key in the Authorization header as a Bearer token.
Example: Authorization: Bearer <your-api-key>
Path Parameters
Post shortcode (from instagram.com/p/{shortcode}/)
Example:
"DVRYDo-Cjw3"
Response
Returns the Instagram post
Show child attributes
Show child attributes
⌘I