Threads
Threads is part of the live platform surface. The SDK wraps the profile path and raw REST covers the broader action set.
Live route family
/v1/crawl/threads/profile- raw REST routes also cover
posts,post,search, andsearch_users
Example
Read a profile
```bash
curl 'https://api.faircompany.ai/v1/crawl/threads/profile?handle=nike' \
-H "Authorization: Bearer fc_live_xxx"
```
```ts
const profile = await fc.threads.profile({
handle: "nike",
});
console.log(profile.handle);
console.log(profile.bio);
```
```python
import httpx
import os
api_key = os.environ.get("FAIRCRAWL_API_KEY", "fc_live_xxx")
response = httpx.get(
"https://api.faircompany.ai/v1/crawl/threads/profile",
headers={"Authorization": f"Bearer {api_key}"},
params={"handle": "nike"},
timeout=30,
)
response.raise_for_status()
print(response.json()["handle"])
```
```json
{
"tool": "faircrawl_research",
"arguments": {
"query": "Nike Threads profile",
"sources": ["threads"],
"limit": 5
}
}
```
Notes
- the TypeScript SDK wraps
profile - for broader discovery, use
/researchwithsources: ["threads"]