Threads Downloader API
Posts from Threads, resolved into direct links. A post carrying several images or videos returns every one of them in the same array.
GET
https://api.gapi.dev/threadsRequires the X-API-Key header · responds in JSON
Parameters
urlrequiredstringPublic Threads post: threads.com/@user/post/… and the older threads.net form both work.
e.g. https://www.threads.com/@assem.sagat/post/Dbc1nzCDv2UResponses
{
"platform": "threads",
"type": "album",
"title": null,
"author": null,
"thumbnail": "https://…",
"duration": null,
"media": [
{ "type": "image", "url": "https://…", "quality": null, "ext": null },
{ "type": "image", "url": "https://…", "quality": null, "ext": null },
{ "type": "image", "url": "https://…", "quality": null, "ext": null },
{ "type": "image", "url": "https://…", "quality": null, "ext": null },
{ "type": "image", "url": "https://…", "quality": null, "ext": null }
]
}Try it
GET
https://api.gapi.dev/threadsTry
No key yet? Create one free
curl -G 'https://api.gapi.dev/threads' \
--data-urlencode 'url=https://www.threads.com/@assem.sagat/post/Dbc1nzCDv2U' \
-H 'X-API-Key: YOUR_KEY'What each link gives you
| You send | type | media contains |
|---|---|---|
| a post with one image | image | the image at full resolution |
| a post with one video | video | the video with its audio already in it |
| a post with several | album | every item in the post, images and videos alike |
What it does not do
Profiles, a whole reply thread, and anything on a private account. This endpoint takes a link to one post and returns the files in it.
Field-by-field detail is on the response shape page.
Code examples
The same request in four languages. Swap in the key from your dashboard and it runs as it is.
curl -G 'https://api.gapi.dev/threads' \
--data-urlencode 'url=https://www.threads.com/@assem.sagat/post/Dbc1nzCDv2U' \
-H 'X-API-Key: gapi_live_your_key_here'One call, one request
A carousel with ten slides costs the same as a single photo: one charge against your balance. You pay for calls, not for files.