Scrape a social media page
scrape_social_mediaExtracts public profiles, posts, and search results from Instagram, TikTok, Facebook, LinkedIn, X/Twitter, and Threads by selecting a scraper and providing its inputs.
Instructions
Scrape a public social media profile, post or search (Instagram, TikTok, Facebook, LinkedIn, X/Twitter, Threads). Always use this tool for these networks, never scrape_raw_html. Choose the scraper and give its inputs: instagramProfile (account (name or profile URL); returns the 12 latest posts), instagramPost (url), tiktokProfile (url), tiktokHashtag (hashtag; max_video_count), facebookProfile (url; load_more_items_count), facebookPost (url), facebookOrganization (url), facebookMarketplaceItem (url; country), facebookMarketplaceSearch (keyword, city, country; items_limit), linkedinProfile (url; language), linkedinCompanyProfile (url; language), linkedinPost (url), linkedinSearchResult (keywords; page, language), twitterProfile (url; number_of_tweets), twitterSearch (search; posts_max_count), threadsProfile (url), threadsPost (url). Waits for the result for about a minute, otherwise returns a responseId for get_social_media_result: use that tool to wait longer, as calling this one again is billed again. Costs 30 credits; failed requests are refunded.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Profile, post or page URL | |
| city | No | ||
| page | No | ||
| search | No | twitterSearch | |
| account | No | instagramProfile: account name or profile URL | |
| country | No | ||
| hashtag | No | ||
| keyword | No | facebookMarketplaceSearch | |
| scraper | Yes | ||
| keywords | No | linkedinSearchResult | |
| language | No | ||
| items_limit | No | ||
| max_video_count | No | ||
| posts_max_count | No | ||
| number_of_tweets | No | ||
| load_more_items_count | No |