---
agent:
  instructions: "Search the SocialTap docs with keywords or a question instead of crawling pages: GET https://socialtap.dev/.well-known/search?q={query} returns the best sections as Markdown (JSON with Accept: application/json), free and without a key."
  endpoint: "https://socialtap.dev/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://socialtap.dev/docs/agents/#docs-for-agents"
---
# Threads Topic Classification API. On each item you fetch.

> Setting SocialTap up for your user? Follow https://socialtap.dev/setup.md.

[APIs](https://socialtap.dev/apis/index.md) · [Analyses](https://socialtap.dev/apis/analyses/index.md)**Threads**

What the item is about, as categories of the IAB Content Taxonomy's top level (most likely first; at most three), each with its probability. Add analysis=topics to any of 6 Threads endpoints that offer it.

[Start for free](https://socialtap.dev/signup/)

GET /v1/threads/post?analysis=topics

## One param on the request. Topics on each item.

The Threads Post API returns each post with analysis.topics beside its fields.

[Open in playground](https://socialtap.dev/playground/?endpoint=threads.post)

cURL:

```shell
curl -G 'https://socialtap.dev/v1/threads/post' \
  --data-urlencode 'url=https://www.threads.com/@zuck/post/DeZtp-TkQHh' \
  --data-urlencode 'analysis=topics' \
  -H "x-api-key: $SOCIALTAP_API_KEY"
```

Shape of data.analysis:

```json
{
  "topics": [
    "automotive"
  ],
  "topics_probability": {
    "automotive": 0.65
  }
}
```

Values are examples.

## What the value means.

The values below that apply, possibly none. topics_probability beside it maps each value returned to how sure it is, from 0 to 1.

Topics values

| Value | Meaning |
| --- | --- |
| `automotive` | cars, motorcycles, vehicles |
| `books_literature` | books, writing, poetry |
| `business_finance` | companies, industries, startups, the economy, marketing |
| `careers` | jobs, hiring, workplaces, career advice |
| `education` | schools, learning, courses, exams |
| `events_attractions` | concerts, festivals, conferences, parks, museums |
| `family_relationships` | parenting, dating, marriage, friendship |
| `fine_art` | painting, sculpture, design, photography as art |
| `food_drink` | cooking, recipes, restaurants, drinks |
| `healthy_living` | fitness, nutrition, wellness, mental wellbeing |
| `hobbies_interests` | crafts, collecting, DIY, outdoor hobbies |
| `home_garden` | home improvement, decor, gardening, real estate living |
| `medical_health` | diseases, treatments, doctors, medicine |
| `movies` | films, cinema, actors |
| `music_audio` | music, artists, podcasts, radio |
| `news_politics` | news, politics, elections, government, world events |
| `personal_finance` | saving, investing, crypto, taxes, debt, insurance |
| `pets` | pets and animals |
| `pop_culture` | celebrities, internet culture, memes, gossip |
| `real_estate` | buying, selling and renting property |
| `religion_spirituality` | religion, faith, spirituality, astrology |
| `science` | science, research, space, the environment |
| `shopping` | products, deals, retail, buying advice |
| `sports` | sports, teams, athletes, betting on sports |
| `style_fashion` | fashion, beauty, makeup, skincare |
| `technology_computing` | software, apps, gadgets, AI, programming, the internet |
| `television` | TV shows, streaming series |
| `travel` | trips, destinations, hotels, airlines |
| `video_gaming` | video games, gaming, esports |

[The topics reference](https://socialtap.dev/docs/analyses/topics/index.md)

## Keep only what matches.

On a list, where keeps the items that pass. Every item judged is charged whether or not it passes, so a page can be short.

```
https://socialtap.dev/v1/threads/posts?handle=zuck&analysis=topics&where=analysis.topics=automotive
```

## 6 Threads endpoints offer it.

Each adds the analysis to the posts, profiles and comments it returns. Text analyses cost one flat amount per request, or per page on a list, however many you ask for.

- - [Post Threads Post API Post or reply with exact likes and reposts 1 credit$0.75–$1.97 per 1,000 requests`GET /v1/threads/post`](https://socialtap.dev/apis/threads/post/index.md)
- - [Post Threads Posts API Pinned first, with exact likes, replies and reposts 1 credit / page$0.75–$1.97 per 1,000 pages`GET /v1/threads/posts`](https://socialtap.dev/apis/threads/posts/index.md)
- - [Post Threads Search API Public posts by keyword, best match or newest 1 credit / page$0.75–$1.97 per 1,000 pages`GET /v1/threads/search_posts`](https://socialtap.dev/apis/threads/search-posts/index.md)
- - [Profile Threads Profile API Exact follower count, bio and bio links 1 credit$0.75–$1.97 per 1,000 requests`GET /v1/threads/profile`](https://socialtap.dev/apis/threads/profile/index.md)
- - [Profile Threads User Search API Accounts by name or username, with bios 1 credit / page$0.75–$1.97 per 1,000 pages`GET /v1/threads/search_profiles`](https://socialtap.dev/apis/threads/search-profiles/index.md)
- - [Comment Threads Comments API Replies to a public post, newest first 1 credit / page$0.75–$1.97 per 1,000 pages`GET /v1/threads/comments`](https://socialtap.dev/apis/threads/comments/index.md)

Topics price per endpoint

| Endpoint | Adds |
| --- | --- |
| [Threads Post API](https://socialtap.dev/docs/reference/threads/post/index.md) | +2 credits per request |
| [Threads Posts API](https://socialtap.dev/docs/reference/threads/posts/index.md) | +44 credits per page of 25 |
| [Threads Search API](https://socialtap.dev/docs/reference/threads/search-posts/index.md) | +35 credits per page of 20 |
| [Threads Profile API](https://socialtap.dev/docs/reference/threads/profile/index.md) | +2 credits per request |
| [Threads User Search API](https://socialtap.dev/docs/reference/threads/search-profiles/index.md) | +110 credits per page of 100 |
| [Threads Comments API](https://socialtap.dev/docs/reference/threads/comments/index.md) | +80 credits per page of 50 |

## More analyses on Threads and beyond.

The same answer on other platforms, and other answers here.

- [Threads Sentiment Analysis API](https://socialtap.dev/apis/threads/sentiment-analysis/index.md): The overall feeling the author expresses: positive, negative, neutral, or mixed (clearly both).
- [Threads Toxicity Detection API](https://socialtap.dev/apis/threads/toxicity-detection/index.md): How likely the item is rude, insulting, harassing, hateful, threatening or profane toward someone (0 to 1).
- [Threads Brand Mentions API](https://socialtap.dev/apis/threads/brand-mentions/index.md): For each of the caller's brands (brand=Notion,Linear, or JSON with aliases, handles and domains): whether the item mentions it, not something else of that name, and how it speaks of it.
- [Threads Buying Intent API](https://socialtap.dev/apis/threads/buying-intent/index.md): How likely the author is looking to buy, hire or switch to a product or service (0 to 1); with about, one like the caller's.
- [Threads Brand Safety API](https://socialtap.dev/apis/threads/brand-safety/index.md): The item's risk for an advertiser in each of the 12 categories of GARM's brand safety framework, every category with its level (none, low, medium, high, floor) and the probability that is right.
- [Threads Topic Classification API](https://socialtap.dev/apis/threads/topic-classification/index.md): What the item is about, as categories of the IAB Content Taxonomy's top level (most likely first; at most three), each with its probability.
- [TikTok Topic Classification API](https://socialtap.dev/apis/tiktok/topic-classification/index.md): Posts, profiles, comments, transcripts, web results and ads
- [Instagram Topic Classification API](https://socialtap.dev/apis/instagram/topic-classification/index.md): Posts, profiles, comments, transcripts and web results
- [Facebook Topic Classification API](https://socialtap.dev/apis/facebook/topic-classification/index.md): Posts, profiles, comments, transcripts, web results and ads
- [YouTube Topic Classification API](https://socialtap.dev/apis/youtube/topic-classification/index.md): Posts, profiles, comments and transcripts
- [Reddit Topic Classification API](https://socialtap.dev/apis/reddit/topic-classification/index.md): Posts, profiles, comments and transcripts
- [Every analysis](https://socialtap.dev/apis/analyses/index.md): 31 analyses and what each adds to a request.

## Questions about Threads topic classification

The [analyses guide](https://socialtap.dev/docs/analyses/index.md) has the rest.

**Which Threads endpoints offer topic classification?**

Threads Post API, Threads Posts API, Threads Search API, Threads Profile API, Threads User Search API and Threads Comments API. Add analysis=topics to any of them.

**How much does an analysis cost?**

It depends on what it reads. Text analyses add a flat extra per page, however many you ask for. Image analyses add 3 credits per image and video analyses 30 credits per video. Each endpoint's reference page states its text price.

**Do I pay when an analysis can't answer?**

No. An analysis that fails, an item in a language it doesn't answer in, a video longer than 3 minutes and a value already computed for the same item are free. The value is null, with a warning that says why.

**Can I get only the items that match?**

Yes, on lists. where=analysis.authenticity_risk>=0.7 keeps the items that pass. Every item judged is charged whether or not it passes, so a page can be short.

**Which languages do analyses answer in?**

Each analysis's reference page lists its languages. An item in another language gets null, free, with a warning.

**Can I use my own categories or questions?**

Yes. about, brand, labels and criteria are inputs you send with the request, and the analyses that read them answer against yours.

## Send your first request in a minute.

Get a key, send a link you already have and see what comes back. The same key works on every platform.

100free credits

- No credit card
- Failed requests are free
- Works on all 319 endpoints

[Start for free](https://socialtap.dev/signup/) [Read the docs](https://socialtap.dev/docs/index.md)

---

[HTML version](https://socialtap.dev/apis/threads/topic-classification/) · [Docs index for AI agents](https://socialtap.dev/llms.txt) · [All docs in one file](https://socialtap.dev/llms-full.txt)
