Introducing the Instagram APIRead more →

Instagram Topic Classification API. On each item you fetch.

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 18 Instagram endpoints that offer it.

GET /v1/instagram/post?analysis=topics

One param on the request. Topics on each item.

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

GET /v1/instagram/postTry in
curl -G 'https://socialtap.dev/v1/instagram/post' \
  --data-urlencode 'url=https://www.instagram.com/reel/De1S3KpCXf0/' \
  --data-urlencode 'analysis=topics' \
  -H "x-api-key: $SOCIALTAP_API_KEY"
GET https://socialtap.dev/v1/instagram/postDocs

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
ValueMeaning
automotivecars, motorcycles, vehicles
books_literaturebooks, writing, poetry
business_financecompanies, industries, startups, the economy, marketing
careersjobs, hiring, workplaces, career advice
educationschools, learning, courses, exams
events_attractionsconcerts, festivals, conferences, parks, museums
family_relationshipsparenting, dating, marriage, friendship
fine_artpainting, sculpture, design, photography as art
food_drinkcooking, recipes, restaurants, drinks
healthy_livingfitness, nutrition, wellness, mental wellbeing
hobbies_interestscrafts, collecting, DIY, outdoor hobbies
home_gardenhome improvement, decor, gardening, real estate living
medical_healthdiseases, treatments, doctors, medicine
moviesfilms, cinema, actors
music_audiomusic, artists, podcasts, radio
news_politicsnews, politics, elections, government, world events
personal_financesaving, investing, crypto, taxes, debt, insurance
petspets and animals
pop_culturecelebrities, internet culture, memes, gossip
real_estatebuying, selling and renting property
religion_spiritualityreligion, faith, spirituality, astrology
sciencescience, research, space, the environment
shoppingproducts, deals, retail, buying advice
sportssports, teams, athletes, betting on sports
style_fashionfashion, beauty, makeup, skincare
technology_computingsoftware, apps, gadgets, AI, programming, the internet
televisionTV shows, streaming series
traveltrips, destinations, hotels, airlines
video_gamingvideo games, gaming, esports

The topics reference

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/instagram/posts?handle=nasa&analysis=topics&where=analysis.topics=automotive

18 Instagram endpoints offer it.

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

Topics price per endpoint
EndpointAdds
Instagram Post API+2 credits per request
Instagram Posts API+21 credits per page of 12
Instagram Story API+2 credits per request
Instagram Hashtag Posts API+42 credits per page of 24
Instagram Location Posts API+32 credits per page of 18
Instagram Highlight Stories API+87 credits per page of 50
Instagram Reels API+21 credits per page of 12
Instagram Search API+42 credits per page of 24
Instagram Audio Reels API+21 credits per page of 12
Instagram Trending Reels API+70 credits per page of 40
Instagram Profile API+2 credits per request
Instagram Similar Accounts API+55 credits per page of 50
Instagram Comment API+2 credits per request
Instagram Comments API+39 credits per page of 24
Instagram Reels Transcript API+6 credits per request
Instagram Location Search API+52 credits per page of 50
Instagram User Search API+52 credits per page of 50
Instagram Audio Search API+52 credits per page of 50

More analyses on Instagram and beyond.

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

Questions about Instagram topic classification

The analyses guide has the rest.

Which Instagram endpoints offer topic classification?
Instagram Post API, Instagram Posts API, Instagram Story API, Instagram Hashtag Posts API, Instagram Location Posts API, Instagram Highlight Stories API, Instagram Reels API, Instagram Search API, Instagram Audio Reels API, Instagram Trending Reels API, Instagram Profile API, Instagram Similar Accounts API, Instagram Comment API, Instagram Comments API, Instagram Reels Transcript API, Instagram Location Search API, Instagram User Search API and Instagram Audio Search 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 Read the docs