Appearance
Search User Threads
GET/public/research/threads/userSearch for a Threads user by username. Returns public profile information and engagement statistics.
Endpoint Details
- Authentication: Basic Auth (
Authorization: Basic Base64(AccessKey:SecretKey)) - Access Tier: Gold+
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
accountId | string | Yes | The connected Threads account ID. |
username | string | Yes | The target Threads username to search. |
Example Request
bash
curl -X GET "https://api.repliz.com/public/research/threads/user?accountId=680affa5ce12f2f72916f67e&username=meta" \
-H "Authorization: Basic $(echo -n 'YOUR_ACCESS_KEY:YOUR_SECRET_KEY' | base64)"javascript
import axios from 'axios';
const response = await axios.get('https://api.repliz.com/public/research/threads/user', {
params: {
accountId: '680affa5ce12f2f72916f67e',
username: 'meta',
},
auth: {
username: 'YOUR_ACCESS_KEY',
password: 'YOUR_SECRET_KEY',
},
});
console.log(response.data);javascript
const credentials = btoa('YOUR_ACCESS_KEY:YOUR_SECRET_KEY');
const response = await fetch(
'https://api.repliz.com/public/research/threads/user?accountId=680affa5ce12f2f72916f67e&username=meta',
{
headers: {
Authorization: `Basic ${credentials}`,
},
},
);
const data = await response.json();
console.log(data);Response
json
{
"name": "Meta",
"username": "meta",
"picture": "https://scontent.cdninstagram.com/v/t51.82787-19/551871521_17926195818103788...",
"isVerified": true,
"statistic": {
"follower": 1676247,
"like": 997,
"quotes": 11,
"replies": 111,
"repost": 51,
"views": 230894
}
}json
{
"code": 404,
"message": "account not found"
}json
{
"code": 401,
"message": "unauthorized"
}