Scrape a social media page
scrape_social_mediaScrape 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.
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 (page or personal profile, without its posts)), 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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"scraper": "<scraper>"
},
"name": "scrape_social_media"
}
}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 |