{"openapi":"3.1.0","info":{"title":"Scrape Creators API","description":"The easiest way to scrape public social media data at scale. Extract profiles, posts, videos, comments, and more from TikTok, Instagram, YouTube, Twitter, LinkedIn, Facebook, Reddit, and 27+ platforms.","version":"1.0.0","contact":{"name":"Scrape Creators","url":"https://scrapecreators.com","email":"support@scrapecreators.com"}},"servers":[{"url":"https://api.scrapecreators.com","description":"Production server"}],"security":[{"apiKeyAuth":[]}],"tags":[{"name":"Instagram","description":"Gets Instagram profiles, posts, and reels"}],"paths":{"/v1/instagram/search/popular":{"get":{"tags":["Instagram"],"summary":"Popular Search","description":"Use this to explore an Instagram topic and the posts Instagram curates for it. It scrapes the public /popular/{query} page without requiring an Instagram login. The first page returns the topic title, numeric total media count, Instagram's generated description and sources, suggested terms, posts, and an opaque cursor. Pass that cursor with the same query to fetch more posts. Later pages return query, posts, cursor, and has_more only. For an exact hashtag through Google-indexed results, use /v1/instagram/search/hashtag. For reels only, use /v2/instagram/reels/search. Each successful request costs 1 credit.","parameters":[{"name":"query","in":"query","required":true,"description":"The Popular topic to search for.","schema":{"type":"string"},"example":"basketball"},{"name":"cursor","in":"query","required":false,"description":"The opaque cursor returned by the previous response. Use it with the same query to fetch the next page of posts.","schema":{"type":"string"},"example":"opaque-cursor-from-response"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"example":{"success":true,"credits_remaining":99,"credits_charged":1,"query":"basketball","title":"Basketball","total_media_count":8800000,"description":{"plain_text":"James Naismith invented basketball in December 1891 in Springfield, Massachusetts as an indoor winter activity.","source_uris":["https://en.wikipedia.org/wiki/Outline_of_basketball"],"linked_terms":[]},"suggested_terms":["the tallest basketball player"],"posts":[{"id":"POLARIS_3892957342260916992","shortcode":"DYGkBO3NfMA","url":"https://www.instagram.com/reel/DYGkBO3NfMA/","type":"reel","caption":"😂😂 #meta #pov #hooper #basketball","display_url":"https://instagram.example.com/basketball-cover.jpg","video_url":"https://instagram.example.com/basketball-video.mp4","play_count":11993988,"owner":{"id":"17841409679275910","username":"lukaceo","is_verified":false,"profile_pic_url":"https://instagram.example.com/lukaceo-profile.jpg"}}],"cursor":"opaque-cursor-from-response","has_more":true}}}}}}}},"components":{"securitySchemes":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"Your Scrape Creators API key"}}}}