Read an Instagram public profile preview
curl --request GET \
--url https://api.vexqo.dev/instagram/profiles/{username}/posts \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.vexqo.dev/instagram/profiles/{username}/posts"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.vexqo.dev/instagram/profiles/{username}/posts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"source": {
"platform": "tiktok",
"method": "public_web_page",
"collector": "curl_cffi",
"url": "<string>",
"observed_at": "<string>",
"cached": true,
"age_seconds": 150,
"exit_country": "<string>"
},
"links": {},
"profile": {
"id": "<string>",
"username": "<string>",
"name": "<string>",
"verified": true,
"url": "<string>",
"biography": "<string>",
"private": true,
"avatar_url": "<string>",
"website": "<string>",
"followers": 1,
"following": 1,
"posts_count": 1,
"likes": 1
},
"posts": [
{
"id": "<string>",
"shortcode": "<string>",
"url": "<string>",
"type": "image",
"caption": "<string>",
"created_at": "<string>",
"author": {
"id": "<string>",
"username": "<string>",
"name": "<string>",
"verified": true,
"url": "<string>"
},
"metrics": {
"views": 1,
"likes": 1,
"comments": 1,
"shares": 1,
"saves": 1
},
"media": {
"assets": [
{
"type": "image",
"url": "<string>",
"preview_url": "<string>",
"position": 1,
"width": 1,
"height": 1,
"duration_seconds": 1
}
],
"expected_count": 1,
"returned_count": 1,
"complete": true
},
"links": {}
}
],
"collection": {
"scope": "public_profile_preview",
"returned": 6,
"partial": true,
"has_more": true,
"pagination_supported": false
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Instagram
Read an Instagram public profile preview
Up to 12 posts exposed in the public preview. Partial history, no supported pagination. Media can be incomplete; follow each post’s detail link.
GET
/
instagram
/
profiles
/
{username}
/
posts
Read an Instagram public profile preview
curl --request GET \
--url https://api.vexqo.dev/instagram/profiles/{username}/posts \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.vexqo.dev/instagram/profiles/{username}/posts"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.vexqo.dev/instagram/profiles/{username}/posts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"source": {
"platform": "tiktok",
"method": "public_web_page",
"collector": "curl_cffi",
"url": "<string>",
"observed_at": "<string>",
"cached": true,
"age_seconds": 150,
"exit_country": "<string>"
},
"links": {},
"profile": {
"id": "<string>",
"username": "<string>",
"name": "<string>",
"verified": true,
"url": "<string>",
"biography": "<string>",
"private": true,
"avatar_url": "<string>",
"website": "<string>",
"followers": 1,
"following": 1,
"posts_count": 1,
"likes": 1
},
"posts": [
{
"id": "<string>",
"shortcode": "<string>",
"url": "<string>",
"type": "image",
"caption": "<string>",
"created_at": "<string>",
"author": {
"id": "<string>",
"username": "<string>",
"name": "<string>",
"verified": true,
"url": "<string>"
},
"metrics": {
"views": 1,
"likes": 1,
"comments": 1,
"shares": 1,
"saves": 1
},
"media": {
"assets": [
{
"type": "image",
"url": "<string>",
"preview_url": "<string>",
"position": 1,
"width": 1,
"height": 1,
"duration_seconds": 1
}
],
"expected_count": 1,
"returned_count": 1,
"complete": true
},
"links": {}
}
],
"collection": {
"scope": "public_profile_preview",
"returned": 6,
"partial": true,
"has_more": true,
"pagination_supported": false
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}