Instagram post details by media id or URL
tikhub.x.instagram-v3-get-post-infoInstagram: get post info (v3)
- Price
- $0.008/successAt provider cost
- Success rate
- —No success-rate data yetNo success-rate data yet
- Latency p50
- ——
- Last verified
- Jul 28, 2026Verified working
GEThttps://toolswitch.dev/v1/tools/tikhub.x.instagram-v3-get-post-info?url=https%3A%2F%2Fwww.instagram.com%2Fp%2FDUajw4YkorV%2F&media_id=3850699893338385742Preview- Uses platform quota
- Synchronous response
- Reads public data
Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
url | other | Optional | 帖子URL/Post URL(与 media_id 二选一;支持 /p/、/reel/、/reels/、/tv/ 形式) | https://www.instagram.com/p/DUajw4YkorV/ |
media_id | other | Optional | 帖子媒体ID/Post media ID(与 url 二选一) | 3850699893338385742 |
- Query parameters
urlotherOptional帖子URL/Post URL(与 media_id 二选一;支持 /p/、/reel/、/reels/、/tv/ 形式)
Example:
https://www.instagram.com/p/DUajw4YkorV/media_idotherOptional帖子媒体ID/Post media ID(与 url 二选一)
Example:
3850699893338385742
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/tikhub.x.instagram-v3-get-post-info?url=https%3A%2F%2Fwww.instagram.com%2Fp%2FDUajw4YkorV%2F&media_id=3850699893338385742' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/tikhub.x.instagram-v3-get-post-info?url=https%3A%2F%2Fwww.instagram.com%2Fp%2FDUajw4YkorV%2F&media_id=3850699893338385742",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/tikhub.x.instagram-v3-get-post-info?url=https%3A%2F%2Fwww.instagram.com%2Fp%2FDUajw4YkorV%2F&media_id=3850699893338385742", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.008/success, including the service fee.