English
English
Appearance
English
English
Appearance
https://api.repliz.com/public/research/threads/contentFind a public Threads post from its link and get its id. Use the id as contentId in Create Comment to reply to the post, or as quotePost.id in Create Schedule to quote it.
Authorization: Basic Base64(AccessKey:SecretKey)) or Bearer token from Login with Replizresearch:read| Parameter | Type | Required | Description |
|---|---|---|---|
accountId | string | Yes | ID of a connected Threads account, the _id from Get Account. The lookup runs with its access. |
url | string | Yes | Link of the Threads post, https://www.threads.com/@username/post/{shortcode}. threads.net links and links with a query string work too. URL-encode it when you build the query yourself. |
Threads has no lookup by link, so Repliz reads the recent posts of the username in the link with Search Content User Threads and returns the post with the same shortcode. Most posts are found with one request to Threads.
What can be found
Only the main posts of public profiles with at least 100 followers, the profiles Threads lets apps read. These return 404:
For those, use Search Content Threads with a word from the post and username set to the author.
When you already have the id of the post, use Get Content Threads by ID, which also reads replies.
A short link like https://www.threads.com/t/{shortcode} has no username and returns 400; open it in a browser to get the full link.
curl -G "https://api.repliz.com/public/research/threads/content" \
--data-urlencode "accountId=680affa5ce12f2f72916f67e" \
--data-urlencode "url=https://www.threads.com/@meta/post/DYZ80_hDVCA" \
-H "Authorization: Basic $(echo -n 'YOUR_ACCESS_KEY:YOUR_SECRET_KEY' | base64)"import axios from 'axios';
const response = await axios.get('https://api.repliz.com/public/research/threads/content', {
params: {
accountId: '680affa5ce12f2f72916f67e',
url: 'https://www.threads.com/@meta/post/DYZ80_hDVCA',
},
auth: {
username: 'YOUR_ACCESS_KEY',
password: 'YOUR_SECRET_KEY',
},
});
console.log(response.data.id);const credentials = btoa('YOUR_ACCESS_KEY:YOUR_SECRET_KEY');
const params = new URLSearchParams({
accountId: '680affa5ce12f2f72916f67e',
url: 'https://www.threads.com/@meta/post/DYZ80_hDVCA',
});
const response = await fetch(`https://api.repliz.com/public/research/threads/content?${params}`, {
headers: {
Authorization: `Basic ${credentials}`,
},
});
const data = await response.json();
console.log(data.id);import axios from 'axios';
const auth = { username: 'YOUR_ACCESS_KEY', password: 'YOUR_SECRET_KEY' };
const accountId = '680affa5ce12f2f72916f67e';
const { data: post } = await axios.get('https://api.repliz.com/public/research/threads/content', {
params: { accountId, url: 'https://www.threads.com/@meta/post/DYZ80_hDVCA' },
auth,
});
await axios.post(
`https://api.repliz.com/public/content/${post.id}/comment`,
{ accountId, text: 'Great post!' },
{ auth },
);additionalInfo has isReply, parentId, and rootId, the same as in Search Content Threads.
{
"id": "18439214386190993",
"title": "",
"description": "weeds are no match for @aiatmeta",
"type": "video",
"owner": {
"id": "",
"name": "meta",
"picture": "https://scontent.cdninstagram.com/v/t51.82787-19/551871521_17926195818103788..."
},
"medias": [
{
"type": "video",
"thumbnail": "https://scontent.cdninstagram.com/v/t51.71878-15/671284855_27517940931142...",
"url": "https://instagram.fbdo9-1.fna.fbcdn.net/o1/v/t16/f2/m84/AQORkvt4V_t1S6r06V..."
}
],
"url": "https://www.threads.com/@meta/post/DYZ80_hDVCA",
"additionalInfo": {
"isReply": false,
"parentId": "",
"rootId": ""
},
"createdAt": "2026-05-16T16:00:41.000Z"
}{
"code": 400,
"message": "url must be a Threads post link like https://www.threads.com/@username/post/shortcode"
}{
"code": 404,
"message": "post not found in the posts of @meta"
}{
"code": 401,
"message": "unauthorized"
}A profile Threads won't let apps read, such as a private one or one with fewer than 100 followers, ends in the 404 above or in an error carrying Threads' own message.