Threads

User posts

A user's latest posts: the ones their profile shows logged out. There is no next page.

GET/v1/threads/profiles/posts1 credit
x-api-key*stringrequiredheader

Your API key, made in the dashboard.

Parameters

2
handlestringoptionalquery

A Threads handle, with or without the @. Give handle or url.

example: zuck

urlstringoptionalquery

A profile's link: threads.com/@<handle>, with anything after it. Give handle or url.

max 300 chars

Response fields

36
dataarray

The result: one object, or a list for the endpoints that return several.

data[].idstring

Threads' id for the post.

data[].urlstring

The post's link.

data[].codestring

The post's code: the part after /post/ in its link.

data[].textstringnullable

What it says.

data[].authorstringnullable

Its author's username.

data[].author_idstringnullable

Its author's id.

data[].author_namestringnullable

Its author's display name.

data[].author_picturestringnullable

Its author's profile picture. The link is signed, and expires after a while.

data[].author_verifiedbooleannullable

Whether its author is verified.

data[].is_replybooleannullable

Whether it replies to another post.

data[].reply_tostringnullable

The username of the post's author it replies to.

data[].pinnedbooleannullable

Whether it is pinned to its author's profile.

data[].scoreintegernullable

Likes.

data[].comment_countintegernullable

Direct replies.

data[].repost_countintegernullable

Reposts.

data[].quote_countintegernullable

Quotes.

data[].reshare_countintegernullable

Shares.

data[].media_typestringnullable

What it holds: text, image, video, carousel (several images or videos) or other.

data[].mediaarraynullable

Its images and videos, in order.

data[].media[].typestringnullable

image or video; other for a kind Threads adds later.

data[].media[].urlstring

The file's link. It is signed, and expires after a while.

data[].media[].widthintegernullable

Its width, in pixels.

data[].media[].heightintegernullable

Its height, in pixels.

data[].created_atstringnullable

When it was posted.

format: date-time

pageobjectnullable

Paging, for the endpoints that page; null for the others.

page.next_cursorstringnullable

Send it as the cursor parameter, with the same other parameters, for the next page. Null on the last page.

page.has_morebooleanoptional

Whether another page follows.

default: false

metaobject

About this call.

meta.platformstring

The platform: reddit, threads, tiktok or youtube.

meta.endpointstring

The endpoint's name, such as channel_videos.

meta.paramsobject

The call's parameters, defaults included. Parameters without a value, and the cursor, are left out.

meta.request_idstring

This call's id. Quote it when you report a problem.

meta.api_versionstring

The API version that answered.

meta.fetched_atstring

When the data was fetched from the platform (UTC).

format: date-time

meta.cachedbooleanoptional

Whether it came from our cache; fetched_at says how old it is.

default: false

Code example

curl -X GET 'https://api.socialparse.dev/v1/threads/profiles/posts?handle=zuck' \  -H 'x-api-key: YOUR_API_KEY'

Responses

Successful Response

{  "data": [    {      "id": "string",      "url": "string",      "code": "string",      "text": "string",      "author": "string",      "author_id": "string",      "author_name": "string",      "author_picture": "string",      "author_verified": true,      "is_reply": true,      "reply_to": "string",      "pinned": true,      "score": 0,      "comment_count": 0,      "repost_count": 0,      "quote_count": 0,      "reshare_count": 0,      "media_type": "string",      "media": [        {          "type": "string",          "url": "string",          "width": 0,          "height": 0        }      ],      "created_at": "2019-08-24T14:15:22Z"    }  ],  "page": {    "next_cursor": "string",    "has_more": false  },  "meta": {    "platform": "string",    "endpoint": "string",    "params": {      "property1": "string",      "property2": "string"    },    "request_id": "string",    "api_version": "string",    "fetched_at": "2019-08-24T14:15:22Z",    "cached": false  }}