Instagram reel transcript API
AI transcription of a reel or video post (Instagram has no public captions).
- Cost
- 1 creditAI transcription is billed by the started minute after 2
- Cached repeats
- 0 creditssend max_age_days, results kept 30 days
- Failed requests
- 0 credits
- Status
- Betashape may still gain fields
The post's video file is read from its public embed page and transcribed on the shared speech boxes at the transcript price (1 credit per started 5 minutes of audio). Photos and carousels without a video answer transcript_unavailable, which is free.
You send one of url or id.
Request
Send your key in the x-api-key header.
curl -G "https://api.socialscrape.io/v1/instagram/post/transcript" \
-H "x-api-key: $SOCIALSCRAPE_API_KEY" \
--data-urlencode 'url=https://www.instagram.com/reel/C8rKmYvsrck/'import os
import requests
params = {
"url": "https://www.instagram.com/reel/C8rKmYvsrck/",
}
res = requests.get(
"https://api.socialscrape.io/v1/instagram/post/transcript",
headers={"x-api-key": os.environ["SOCIALSCRAPE_API_KEY"]},
params=params,
timeout=60,
)
body = res.json()
if body["ok"]:
print(body["data"])
else:
print(body["error"]["code"], body["error"]["message"])const url = new URL("https://api.socialscrape.io/v1/instagram/post/transcript");
url.search = new URLSearchParams({
url: "https://www.instagram.com/reel/C8rKmYvsrck/",
}).toString();
const res = await fetch(url, {
headers: { "x-api-key": process.env.SOCIALSCRAPE_API_KEY! },
});
const body = await res.json();
if (body.ok) {
console.log(body.data);
} else {
console.error(body.error.code, body.error.message);
}{
"nodes": [
{
"name": "SocialScrape Instagram reel transcript",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
0,
0
],
"parameters": {
"method": "GET",
"url": "https://api.socialscrape.io/v1/instagram/post/transcript",
"sendQuery": true,
"queryParameters": {
"parameters": [
{
"name": "url",
"value": "https://www.instagram.com/reel/C8rKmYvsrck/"
}
]
},
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "x-api-key",
"value": "={{ $env.SOCIALSCRAPE_API_KEY }}"
}
]
}
}
}
],
"connections": {}
}Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | url | one of | Post or reel URL (/p/..., /reel/..., /tv/...). |
id | string | one of | Shortcode or numeric media id. Also accepted as shortcode, media_id. |
Every request also accepts trim, raw and max_age_days.
Response
Sample from a recorded response, shortened. Values are public data, not yours.
{
"ok": true,
"credits_charged": 1,
"credits_remaining": 4999,
"cached": false,
"cached_at": null,
"request_id": "req_1abb44311f35f490431f9a6e",
"data": {
"object": "transcript",
"platform": "instagram",
"video_id": "C8rKmYvsrck",
"url": "https://www.instagram.com/reel/C8rKmYvsrck/",
"language": "en",
"source": "ai",
"duration_seconds": 20,
"text": "This is a canned transcript for the fixture.",
"segments": [
{
"start": 0,
"end": 3.2,
"text": "This is a canned transcript for the fixture."
}
],
"available_languages": null,
"extra": null
},
"cursor": null,
"has_more": null
}Fields
One Transcript in data.
A field the platform does not give is null, never made up. Extra platform details are in extra.
| Field | Type | Always | Notes |
|---|---|---|---|
object | "transcript" | ||
platform | Platform | yes | |
video_id | string or null | ||
url | string or null | ||
language | string or null | BCP 47, "en" | |
source | "captions" or "auto_captions" or "ai" | yes | |
duration_seconds | number or null | ||
text | string | yes | |
segments | TranscriptSegment[] or null | ||
available_languages | string[] or null | ||
extra | object or null |
Full field list in the reference for this endpoint and the data models. Errors are listed under Errors.
Questions
Which errors can it return?
invalid_params (do not retry), unsupported_url (do not retry), not_found (do not retry), transcript_unavailable (do not retry). Account and platform errors from the errors list can also happen. A failure always costs 0 credits.
Is there an SDK call for it?
The preview Python client has client.instagram.post_transcript(...) and the TypeScript client client.instagram.postTranscript(). Both return the same envelope as the HTTP API. The packages are not published yet; plain HTTP works today in any language.
Can an AI agent call it?
Yes. The MCP server reaches every built endpoint, with the same prices.