{"server":"io.github.SocialAPIsHub/social-media-api","count":12,"tools":[{"name":"facebook_ads","title":"Facebook: Ads","description":"Meta Ads Library: search ads, find advertisers by keyword, advertiser page details, single ad details and supported countries.\n\nActions:\n- action=search: Search ads in the Meta Ad Library. Pass a keyword (query) to find ads about a topic, or ad_page_id to list one advertiser's ads; filter by country, active status and date range, sort by impressions or recency. Returns ads with creative, body text, dates, platforms and snapshot URL, plus an end_cursor. Get an advertiser's ad_page_id from action=keywords or facebook_page (action=details). Pricing: 1 credit per call.\n  Inputs: query (optional), ad_page_id (optional), country (optional), activeStatus (optional), after_time (optional), before_time (optional), sort_data (optional), end_cursor (optional).\n- action=keywords: Find advertisers running ads that match a keyword: returns Facebook pages with their page_id and ad count. Use it to discover who advertises on a topic, then pass a page_id to action=search (as ad_page_id) or action=page_details. To get the ads for a keyword directly, use action=search. Pricing: 1 credit per call.\n  Inputs: query (required), country (optional).\n- action=page_details: Get an advertiser's Ads Library profile: page name, verification status, category, location and total ad count. Needs the page ID (ad_page_id from facebook_page (action=details) or page_id from action=keywords). To list the ads themselves, use action=search with ad_page_id. Pricing: 1 credit per call.\n  Inputs: page_id (required).\n- action=archive_details: Get one Ad Library ad in full: creative, body text, CTA, platforms, countries, date range, and spend and impression estimates where Meta publishes them. Needs the ad_archive_id from a action=search result. Pricing: 1 credit per call.\n  Inputs: ad_archive_id (required), page_id (optional), country (optional), is_ad_non_political (optional), is_ad_not_aaa_eligible (optional).\n- action=countries: List the country codes the Ads Library tools accept in their country parameter. Pricing: 1 credit per call.\n  Inputs: none.","input_schema":{"type":"object","required":["action"],"properties":{"query":{"type":"string","description":"Keyword. search: words in the ads (or pass ad_page_id instead) · keywords: a topic to find advertisers for, e.g. running shoes.\nRequired for: keywords. Optional for: search."},"action":{"enum":["search","keywords","page_details","archive_details","countries"],"type":"string","description":"Which operation to run. See the tool description for what each action returns and which parameters it needs."},"country":{"type":"string","description":"ISO country code or \"ALL\".\nOptional for: search, keywords, archive_details."},"page_id":{"type":"string","description":"Advertiser page ID: ad_page_id from facebook_page (action=details), or page_id from action=keywords.\nRequired for: page_details. Optional for: archive_details."},"sort_data":{"type":"string","description":"Sort by \"impressions\" or \"recent\".\nOptional for: search."},"ad_page_id":{"type":"string","description":"Facebook AD Page ID (alternative to query).\nOptional for: search."},"after_time":{"type":"string","description":"Filter ads after this date (YYYY-MM-DD).\nOptional for: search."},"end_cursor":{"type":"string","description":"Pagination cursor.\nOptional for: search."},"before_time":{"type":"string","description":"Filter ads before this date (YYYY-MM-DD).\nOptional for: search."},"activeStatus":{"type":"string","description":"Filter: ALL, Active, or Inactive.\nOptional for: search."},"ad_archive_id":{"type":"string","description":"Ad Library archive ID of the ad (ad_archive_id from a action=search result).\nRequired for: archive_details."},"is_ad_non_political":{"type":"string","description":"Filter non-political ads.\nOptional for: archive_details."},"is_ad_not_aaa_eligible":{"type":"string","description":"Filter AAA eligibility.\nOptional for: archive_details."}}},"output_schema":{"type":"object","required":["result"],"properties":{"result":{"description":"JSON response from the SocialAPIs REST endpoint, unchanged. Object or array depending on the endpoint; most include a `meta` block (statusCode, duration, creditsCharged, creditsRemaining)."},"creditsCharged":{"type":["integer","null"],"description":"Credits charged for this call, or null if the endpoint did not report it."},"creditsRemaining":{"type":["integer","null"],"description":"Credits left on the API key after this call, or null if not reported."}}},"annotations":{"title":"Facebook: Ads","readOnlyHint":true,"openWorldHint":true,"destructiveHint":false},"source":"probe","observed_at":"2026-10-20T02:32:31.563Z"},{"name":"facebook_group","title":"Facebook: Group","description":"Public Facebook groups: details, group ID, posts, videos and photo albums.\n\nActions:\n- action=details: Get a public Facebook group's profile: name, description, member count, privacy, rules and activity stats. Use action=posts for its posts. Pricing: 1 credit per call.\n  Inputs: link (required).\n- action=id: Resolve a Facebook group URL to its numeric group ID. Use action=details for the group's data. Pricing: 1 credit per call.\n  Inputs: link (required).\n- action=posts: List recent posts from a public Facebook group, with text, media, author, reactions and comment counts. Returns 3-9 posts per call plus an end_cursor for the next page; filter by date with after_time / before_time. Pricing: ceil(posts_returned / 3) credits per call, minimum 1.\n  Inputs: link (required), limit (optional), end_cursor (optional), after_time (optional), before_time (optional), timezone (optional).\n- action=videos: List videos posted in a public Facebook group, with video_id, title, duration, view count and thumbnail. Returns an end_cursor for the next page. Pricing: 1 credit per call.\n  Inputs: link (required), end_cursor (optional).\n- action=albums: List the photo albums of a public Facebook group, with album_id, album_title, url, thumbnail_uri, photos_count and videos_count. Returns an end_cursor for the next page. Needs the numeric group ID (group_id) from action=id. To get the photos in an album, pass its album_id to action=album_items. Pricing: 1 credit per call.\n  Inputs: group_id (required), limit (optional).\n- action=album_items: Get the photos and videos inside a Facebook album (from a page or a group): media_id, media_type, url, thumbnail_uri and timestamp (Unix seconds). Needs an album_id from facebook_page (action=albums) or action=albums. Returns an end_cursor for the next page. Pricing: 1 credit per call.\n  Inputs: album_id (required), end_cursor (optional).","input_schema":{"type":"object","required":["action"],"properties":{"link":{"type":"string","description":"Facebook group URL.\nRequired for: details, id, posts, videos."},"limit":{"type":"number","maximum":16,"minimum":3,"description":"Results per call. posts: 3-9 (default 3) · albums: 8-16 (default 8).\nOptional for: posts, albums."},"action":{"enum":["details","id","posts","videos","albums","album_items"],"type":"string","description":"Which operation to run. See the tool description for what each action returns and which parameters it needs."},"album_id":{"type":"string","description":"Album ID, from facebook_page (action=albums) or action=albums.\nRequired for: album_items."},"group_id":{"type":"string","description":"Facebook group ID, from action=id.\nRequired for: albums."},"timezone":{"type":"string","description":"IANA timezone for returned timestamps, e.g. UTC or America/New_York. Default: UTC.\nOptional for: posts."},"after_time":{"type":"string","description":"ISO 8601 timestamp.\nOptional for: posts."},"end_cursor":{"type":"string","description":"Pagination cursor.\nOptional for: posts, videos, album_items."},"before_time":{"type":"string","description":"ISO 8601 timestamp.\nOptional for: posts."}}},"output_schema":{"type":"object","required":["result"],"properties":{"result":{"description":"JSON response from the SocialAPIs REST endpoint, unchanged. Object or array depending on the endpoint; most include a `meta` block (statusCode, duration, creditsCharged, creditsRemaining)."},"creditsCharged":{"type":["integer","null"],"description":"Credits charged for this call, or null if the endpoint did not report it."},"creditsRemaining":{"type":["integer","null"],"description":"Credits left on the API key after this call, or null if not reported."}}},"annotations":{"title":"Facebook: Group","readOnlyHint":true,"openWorldHint":true,"destructiveHint":false},"source":"probe","observed_at":"2026-10-20T02:32:31.563Z"},{"name":"facebook_marketplace","title":"Facebook: Marketplace","description":"Facebook Marketplace: search listings, vehicles and rentals, listing and seller details, categories and city coordinates.\n\nActions:\n- action=search: Search general Facebook Marketplace listings (items for sale) by keyword or category near a location, with price, condition, radius and sort filters. Returns listings with their listing_id, plus an end_cursor. For cars and other vehicles use action=vehicles; for homes and rooms to rent use action=rentals. Get coordinates from action=city_coordinates. Pricing: 1 credit per call.\n  Inputs: query (optional), category_url (optional), commerce_search_sort_by (optional), commerce_search_and_rp_condition (optional), filter_location_latitude (optional), filter_location_longitude (optional), filter_price_lower_bound (optional), filter_price_upper_bound (optional), filter_radius_km (optional), posted_today (optional), exact_match (optional), limit (optional), end_cursor (optional).\n- action=vehicles: Search Facebook Marketplace vehicle listings (cars, trucks, motorcycles) near a location, with price, radius and seller-type filters. Returns listings with title, price, mileage, year and listing_id, plus an end_cursor. For non-vehicle items, use action=search. Pricing: 1 credit per call.\n  Inputs: sort_by (optional), filter_location_latitude (optional), filter_location_longitude (optional), filter_price_lower_bound (optional), filter_price_upper_bound (optional), filter_radius_km (optional), is_c2c_listing_only (optional), end_cursor (optional).\n- action=rentals: Search Facebook Marketplace rental listings (apartments, houses, rooms) near a location, with price, bedroom, bathroom and radius filters. Returns rental listings with their listing_id, plus an end_cursor. For items for sale, use action=search. Pricing: 1 credit per call.\n  Inputs: sort_by (optional), filter_location_latitude (optional), filter_location_longitude (optional), filter_price_lower_bound (optional), filter_price_upper_bound (optional), filter_radius_km (optional), filter_bedrooms_min (optional), filter_bedrooms_max (optional), filter_bathrooms_min (optional), filter_bathrooms_max (optional), end_cursor (optional).\n- action=listing: Get one Marketplace listing in full: title, price, description, condition, all photos, location and seller. Needs the listing_id from a Marketplace search result. Pricing: 1 credit per call.\n  Inputs: listing_id (required).\n- action=seller: Get a Marketplace seller's profile: name, join date, rating, review count and badges. Needs the seller_id from action=listing. Pricing: 1 credit per call.\n  Inputs: seller_id (required).\n- action=categories: List Marketplace categories with their IDs and category_url values. Use a category_url to filter action=search. Pricing: 1 credit per call.\n  Inputs: none.\n- action=city_coordinates: Convert a city name to the latitude and longitude that the Marketplace search tools expect in filter_location_latitude / filter_location_longitude. Pricing: 1 credit per call.\n  Inputs: city (required), country (optional), exactly_one (optional).","input_schema":{"type":"object","required":["action"],"properties":{"city":{"type":"string","description":"City name, e.g. Austin.\nRequired for: city_coordinates."},"limit":{"type":"number","description":"Maximum number of items to return. Default: 24.\nOptional for: search."},"query":{"type":"string","description":"Keyword to search listings for, e.g. iphone 15.\nOptional for: search."},"action":{"enum":["search","vehicles","rentals","listing","seller","categories","city_coordinates"],"type":"string","description":"Which operation to run. See the tool description for what each action returns and which parameters it needs."},"country":{"type":"string","description":"Country name or code.\nOptional for: city_coordinates."},"sort_by":{"type":"string","description":"Sort order. vehicles: CREATION_TIME_DESCEND, PRICE_ASCEND, VEHICLE_MILEAGE_ASCEND, … · rentals: CREATION_TIME_DESCEND, PRICE_ASCEND, BEST_MATCH.\nOptional for: vehicles, rentals."},"seller_id":{"type":"string","description":"Seller ID, from the seller field of action=listing.\nRequired for: seller."},"end_cursor":{"type":"string","description":"Pagination cursor.\nOptional for: search, vehicles, rentals."},"listing_id":{"type":"string","description":"Marketplace listing ID, from a Marketplace search result.\nRequired for: listing."},"exact_match":{"type":"string","description":"When \"true\", exact match search.\nOptional for: search."},"exactly_one":{"type":"string","description":"When \"true\", return exactly one result.\nOptional for: city_coordinates."},"category_url":{"type":"string","description":"Category URL slug.\nOptional for: search."},"posted_today":{"type":"string","description":"When \"true\", limit to items posted today.\nOptional for: search."},"filter_radius_km":{"type":"string","description":"Search radius around the center in kilometres, e.g. 40.\nOptional for: search, vehicles, rentals."},"filter_bedrooms_max":{"type":"string","description":"Maximum number of bedrooms.\nOptional for: rentals."},"filter_bedrooms_min":{"type":"string","description":"Minimum number of bedrooms, e.g. 2.\nOptional for: rentals."},"is_c2c_listing_only":{"type":"string","description":"Individual sellers only.\nOptional for: vehicles."},"filter_bathrooms_max":{"type":"string","description":"Maximum number of bathrooms.\nOptional for: rentals."},"filter_bathrooms_min":{"type":"string","description":"Minimum number of bathrooms, e.g. 1.\nOptional for: rentals."},"commerce_search_sort_by":{"type":"string","description":"Sort: BEST_MATCH, CREATION_TIME_DESCEND, PRICE_ASCEND, etc.\nOptional for: search."},"filter_location_latitude":{"type":"string","description":"Latitude of the search center, e.g. 30.2672 (from action=city_coordinates).\nOptional for: search, vehicles, rentals."},"filter_price_lower_bound":{"type":"string","description":"Minimum price in the local currency, whole number, e.g. 100.\nOptional for: search, vehicles, rentals."},"filter_price_upper_bound":{"type":"string","description":"Maximum price in the local currency, whole number, e.g. 2000.\nOptional for: search, vehicles, rentals."},"filter_location_longitude":{"type":"string","description":"Longitude of the search center, e.g. -97.7431 (from action=city_coordinates).\nOptional for: search, vehicles, rentals."},"commerce_search_and_rp_condition":{"type":"string","description":"Condition: new, used_like_new, used_good, used_fair.\nOptional for: search."}}},"output_schema":{"type":"object","required":["result"],"properties":{"result":{"description":"JSON response from the SocialAPIs REST endpoint, unchanged. Object or array depending on the endpoint; most include a `meta` block (statusCode, duration, creditsCharged, creditsRemaining)."},"creditsCharged":{"type":["integer","null"],"description":"Credits charged for this call, or null if the endpoint did not report it."},"creditsRemaining":{"type":["integer","null"],"description":"Credits left on the API key after this call, or null if not reported."}}},"annotations":{"title":"Facebook: Marketplace","readOnlyHint":true,"openWorldHint":true,"destructiveHint":false},"source":"probe","observed_at":"2026-10-20T02:32:31.563Z"},{"name":"facebook_media_download","title":"Facebook: Media Download","description":"Resolve a Facebook media URL (image, video or audio, e.g. from a post or reel) to direct downloadable file URLs. Returns URLs, not file bytes. Pricing: 1 credit per call.\nInputs: url (required).","input_schema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Facebook media URL to download"}}},"output_schema":{"type":"object","required":["result"],"properties":{"result":{"description":"JSON response from the SocialAPIs REST endpoint, unchanged. Object or array depending on the endpoint; most include a `meta` block (statusCode, duration, creditsCharged, creditsRemaining)."},"creditsCharged":{"type":["integer","null"],"description":"Credits charged for this call, or null if the endpoint did not report it."},"creditsRemaining":{"type":["integer","null"],"description":"Credits left on the API key after this call, or null if not reported."}}},"annotations":{"title":"Facebook: Media Download","readOnlyHint":true,"openWorldHint":true,"destructiveHint":false},"source":"probe","observed_at":"2026-10-20T02:32:31.563Z"},{"name":"facebook_page","title":"Facebook: Page","description":"Facebook pages: profile details, page ID, posts, videos, reels and photo albums.\n\nActions:\n- action=details: Get a Facebook page's profile: name, category, follower and like counts, bio, contact info (email, phone, website, address), rating and the ad_page_id used by the Ads Library tools. Use it when you have the page URL; to find a page by name, use facebook_search (action=pages) first. Pricing: 1 credit per call; 5 credits when exact_followers_count=true.\n  Inputs: link (required), exact_followers_count (optional).\n- action=id: Resolve a Facebook page URL to its numeric page ID. Use it when another tool needs a page or profile ID; use action=details for the page's data. Pricing: 1 credit per call.\n  Inputs: link (required).\n- action=posts: List a Facebook page's recent posts, newest first, with text, media, reactions, comment and share counts. Returns 3-9 posts per call plus an end_cursor for the next page; filter by date with after_time / before_time. For reels or videos only, use action=reels or action=videos. Pricing: ceil(posts_returned / 3) credits per call, minimum 1.\n  Inputs: link (required), limit (optional), end_cursor (optional), after_time (optional), before_time (optional), timezone (optional).\n- action=videos: List videos uploaded to a Facebook page, with video_id, title, duration, view count and thumbnail. Provide the page URL (link) or its numeric profile_id. Returns an end_cursor for the next page. For short-form reels, use action=reels. Pricing: 1 credit per call.\n  Inputs: link (optional), profile_id (optional), limit (optional), end_cursor (optional).\n- action=reels: List a Facebook page's reels (short-form videos). Returns an end_cursor for the next page. For long-form videos, use action=videos. Pricing: 1 credit per call.\n  Inputs: link (required), end_cursor (optional).\n- action=albums: List the photo albums of a Facebook page, with album_id, album_title, url, thumbnail_uri and album_items_count (text, e.g. \"400 items\"). Needs the numeric page ID (profile_id) from action=id. Returns an end_cursor for the next page. To get the photos in an album, pass its album_id to action=album_items. Pricing: 1 credit per call.\n  Inputs: profile_id (required), limit (optional), end_cursor (optional).\n- action=album_items: Get the photos and videos inside a Facebook album (from a page or a group): media_id, media_type, url, thumbnail_uri and timestamp (Unix seconds). Needs an album_id from action=albums or facebook_group (action=albums). Returns an end_cursor for the next page. Pricing: 1 credit per call.\n  Inputs: album_id (required), end_cursor (optional).","input_schema":{"type":"object","required":["action"],"properties":{"link":{"type":"string","description":"Facebook page URL, e.g. https://facebook.com/nike. For videos you can pass profile_id instead.\nRequired for: details, id, posts, reels. Optional for: videos."},"limit":{"type":"number","maximum":16,"minimum":3,"description":"Results per call. posts: 3-9 (default 3) · videos: 6-12 (default 6) · albums: 8-16 (default 8).\nOptional for: posts, videos, albums."},"action":{"enum":["details","id","posts","videos","reels","albums","album_items"],"type":"string","description":"Which operation to run. See the tool description for what each action returns and which parameters it needs."},"album_id":{"type":"string","description":"Album ID, from action=albums or facebook_group (action=albums).\nRequired for: album_items."},"timezone":{"type":"string","description":"Timezone for timestamps (e.g., UTC, America/New_York).\nOptional for: posts."},"after_time":{"type":"string","description":"ISO 8601 timestamp - only return posts after this time.\nOptional for: posts."},"end_cursor":{"type":"string","description":"Pagination cursor from the previous response.\nOptional for: posts, videos, reels, albums, album_items."},"profile_id":{"type":"string","description":"Numeric Facebook page ID, from action=id. For videos, an alternative to link.\nRequired for: albums. Optional for: videos."},"before_time":{"type":"string","description":"ISO 8601 timestamp - only return posts before this time.\nOptional for: posts."},"exact_followers_count":{"type":"boolean","description":"When true, performs a deeper scrape to return the exact follower count (e.g. 38,493,217 instead of \"38M\"). Charges 5 credits when true, 1 credit otherwise. Default: false.\nOptional for: details."}}},"output_schema":{"type":"object","required":["result"],"properties":{"result":{"description":"JSON response from the SocialAPIs REST endpoint, unchanged. Object or array depending on the endpoint; most include a `meta` block (statusCode, duration, creditsCharged, creditsRemaining)."},"creditsCharged":{"type":["integer","null"],"description":"Credits charged for this call, or null if the endpoint did not report it."},"creditsRemaining":{"type":["integer","null"],"description":"Credits left on the API key after this call, or null if not reported."}}},"annotations":{"title":"Facebook: Page","readOnlyHint":true,"openWorldHint":true,"destructiveHint":false},"source":"probe","observed_at":"2026-10-20T02:32:31.563Z"},{"name":"facebook_post","title":"Facebook: Post","description":"Facebook posts, videos and comments: post details, attachments, comments and replies.\n\nActions:\n- action=details: Get a Facebook post's text, author, timestamp, media, and reaction, comment and share counts. Start here for any post. If you need view counts, video download URLs or audio metadata (common for reels and videos), use action=details_extended instead. Pricing: 1 credit per call.\n  Inputs: link (required).\n- action=details_extended: Get everything action=details returns plus view counts, HD/SD video URLs, music/audio metadata and author verification status. Use it for reels and video posts, or when the standard details lack view_count, video_hd_src or attached_track. Pricing: 1 credit per call.\n  Inputs: link (required).\n- action=id: Extract the numeric post ID from a Facebook post URL. Use it to get the post_id that action=attachments needs. Pricing: 1 credit per call.\n  Inputs: link (required).\n- action=attachments: List every media attachment (images and videos, with URLs and dimensions) on a Facebook post, including all items in multi-photo posts. Needs the numeric post_id from action=id. For the post's text and engagement, use action=details. Pricing: 5 credits per call (deeper scrape than standard post details).\n  Inputs: post_id (required).\n- action=video: Get a Facebook video post's metadata: title, message text and hashtags, owner, reactions and view count. Needs the numeric video_id (the number in a facebook.com/.../videos/<id> URL, or from facebook_page (action=videos)). Pricing: 1 credit per call.\n  Inputs: video_id (required).\n- action=comments: List top-level comments on a Facebook post or reel, with author, text, timestamp and reaction count. Returns up to 30 per call plus an end_cursor for the next page. Set include_reply_info=true to get the comment_feedback_id and expansion_token that action=comment_replies needs. Pricing: 1 credit per call.\n  Inputs: link (required), limit (optional), end_cursor (optional), include_reply_info (optional).\n- action=comment_replies: List replies to one Facebook comment. Needs comment_feedback_id and expansion_token, which action=comments returns when called with include_reply_info=true. Pricing: 1 credit per call.\n  Inputs: comment_feedback_id (required), expansion_token (required).","input_schema":{"type":"object","required":["action"],"properties":{"link":{"type":"string","description":"Facebook post or reel URL (regular posts, video posts and reels).\nRequired for: details, details_extended, id, comments."},"limit":{"type":"number","maximum":30,"description":"Maximum number of comments to return. Default: 10. Maximum: 30.\nOptional for: comments."},"action":{"enum":["details","details_extended","id","attachments","video","comments","comment_replies"],"type":"string","description":"Which operation to run. See the tool description for what each action returns and which parameters it needs."},"post_id":{"type":"string","description":"Numeric Facebook post ID, from action=id.\nRequired for: attachments."},"video_id":{"type":"string","description":"Numeric Facebook video ID, e.g. the number in a facebook.com/.../videos/<id> URL.\nRequired for: video."},"end_cursor":{"type":"string","description":"Pagination cursor for next page of comments.\nOptional for: comments."},"expansion_token":{"type":"string","description":"Expansion token from the comments endpoint with include_reply_info=true.\nRequired for: comment_replies."},"include_reply_info":{"type":"string","description":"When \"true\", includes comment_feedback_id and expansion_token for fetching replies.\nOptional for: comments."},"comment_feedback_id":{"type":"string","description":"Feedback ID from the comments endpoint with include_reply_info=true.\nRequired for: comment_replies."}}},"output_schema":{"type":"object","required":["result"],"properties":{"result":{"description":"JSON response from the SocialAPIs REST endpoint, unchanged. Object or array depending on the endpoint; most include a `meta` block (statusCode, duration, creditsCharged, creditsRemaining)."},"creditsCharged":{"type":["integer","null"],"description":"Credits charged for this call, or null if the endpoint did not report it."},"creditsRemaining":{"type":["integer","null"],"description":"Credits left on the API key after this call, or null if not reported."}}},"annotations":{"title":"Facebook: Post","readOnlyHint":true,"openWorldHint":true,"destructiveHint":false},"source":"probe","observed_at":"2026-10-20T02:32:31.563Z"},{"name":"facebook_search","title":"Facebook: Search","description":"Search Facebook by keyword: pages, people, posts, videos and locations.\n\nActions:\n- action=pages: Find Facebook pages by keyword (brand, business or topic name), optionally near a location. Returns page names, URLs, categories and follower counts, 3 per call, plus an end_cursor. Use it when you don't have the page URL; then call facebook_page (action=details) with a result's URL. For locations, get a location_uid from action=locations. Pricing: 1 credit per call.\n  Inputs: query (required), location_uid (optional), end_cursor (optional).\n- action=people: Find public Facebook profiles by name or keyword, optionally near a location (location_uid from action=locations). Returns names, profile URLs and pictures, plus work, education and location where public, and an end_cursor. Pricing: 1 credit per call.\n  Inputs: query (required), location_uid (optional), end_cursor (optional).\n- action=posts: Search public Facebook posts by keyword, optionally filtered by location (location_uid from action=locations) and date range. Returns posts with text, author and engagement, plus an end_cursor. To list one page's posts, use facebook_page (action=posts) instead. Pricing: 1 credit per call.\n  Inputs: query (required), location_uid (optional), start_time (optional), end_time (optional), recent_posts (optional), end_cursor (optional).\n- action=videos: Search public Facebook videos by keyword, optionally most recent first or live videos only. Returns video titles, URLs and view counts, plus an end_cursor. Pricing: 1 credit per call.\n  Inputs: query (required), most_recent (optional), videos_live (optional), fields (optional), end_cursor (optional).\n- action=locations: Look up Facebook places by name (city, region, venue) and get their location_uid. The location_uid is only used to filter action=pages, action=people and action=posts; it is not a Marketplace location (use facebook_marketplace (action=city_coordinates) for that). Pricing: 1 credit per call.\n  Inputs: query (required).","input_schema":{"type":"object","required":["action"],"properties":{"query":{"type":"string","description":"Search keyword. pages: a brand or business name · people: a name · posts, videos: words in the text · locations: a city, place or landmark.\nRequired for: pages, people, posts, videos, locations."},"action":{"enum":["pages","people","posts","videos","locations"],"type":"string","description":"Which operation to run. See the tool description for what each action returns and which parameters it needs."},"fields":{"type":"string","description":"Comma-separated list of response fields to include.\nOptional for: videos."},"end_time":{"type":"string","description":"Filter posts before this date (YYYY-MM-DD).\nOptional for: posts."},"end_cursor":{"type":"string","description":"Pagination cursor.\nOptional for: pages, people, posts, videos."},"start_time":{"type":"string","description":"Filter posts after this date (YYYY-MM-DD).\nOptional for: posts."},"most_recent":{"type":"string","description":"When \"true\", shows most recent videos first.\nOptional for: videos."},"videos_live":{"type":"string","description":"When \"true\", filters for live videos only.\nOptional for: videos."},"location_uid":{"type":"string","description":"Location UID from action=locations, to limit results to a place.\nOptional for: pages, people, posts."},"recent_posts":{"type":"string","description":"When \"true\", shows only recent posts.\nOptional for: posts."}}},"output_schema":{"type":"object","required":["result"],"properties":{"result":{"description":"JSON response from the SocialAPIs REST endpoint, unchanged. Object or array depending on the endpoint; most include a `meta` block (statusCode, duration, creditsCharged, creditsRemaining)."},"creditsCharged":{"type":["integer","null"],"description":"Credits charged for this call, or null if the endpoint did not report it."},"creditsRemaining":{"type":["integer","null"],"description":"Credits left on the API key after this call, or null if not reported."}}},"annotations":{"title":"Facebook: Search","readOnlyHint":true,"openWorldHint":true,"destructiveHint":false},"source":"probe","observed_at":"2026-10-20T02:32:31.563Z"},{"name":"instagram_location","title":"Instagram: Location","description":"Instagram locations: posts tagged at a place, and nearby places.\n\nActions:\n- action=posts: List Instagram posts tagged at a location: top posts (tab=ranked) or most recent (tab=recent). Needs a location_id, e.g. from a place in instagram_search (action=search). Returns an end_cursor for the next page. Pricing: 1 credit per call.\n  Inputs: location_id (required), tab (optional), end_cursor (optional).\n- action=nearby: List Instagram places near a given location, with name, category, coordinates and post count. Needs a location_id, e.g. from a place in instagram_search (action=search). Pricing: 1 credit per call.\n  Inputs: location_id (required).","input_schema":{"type":"object","required":["action"],"properties":{"tab":{"type":"string","description":"Filter: \"recent\" or \"ranked\".\nOptional for: posts."},"action":{"enum":["posts","nearby"],"type":"string","description":"Which operation to run. See the tool description for what each action returns and which parameters it needs."},"end_cursor":{"type":"string","description":"Pagination cursor for next page.\nOptional for: posts."},"location_id":{"type":"string","description":"Instagram location ID.\nRequired for: posts, nearby."}}},"output_schema":{"type":"object","required":["result"],"properties":{"result":{"description":"JSON response from the SocialAPIs REST endpoint, unchanged. Object or array depending on the endpoint; most include a `meta` block (statusCode, duration, creditsCharged, creditsRemaining)."},"creditsCharged":{"type":["integer","null"],"description":"Credits charged for this call, or null if the endpoint did not report it."},"creditsRemaining":{"type":["integer","null"],"description":"Credits left on the API key after this call, or null if not reported."}}},"annotations":{"title":"Instagram: Location","readOnlyHint":true,"openWorldHint":true,"destructiveHint":false},"source":"probe","observed_at":"2026-10-20T02:32:31.563Z"},{"name":"instagram_post","title":"Instagram: Post","description":"Instagram posts: full post details, or the shortcode from a post URL.\n\nActions:\n- action=details: Get one Instagram post or reel in full: caption, media URLs, engagement counts, timestamp and owner. Needs the shortcode (the part after /p/ or /reel/ in the URL, or from action=id). Pricing: 1 credit per call.\n  Inputs: shortcode (required).\n- action=id: Extract the shortcode from an Instagram post or reel URL. action=details needs the shortcode. Pricing: 1 credit per call.\n  Inputs: link (required).","input_schema":{"type":"object","required":["action"],"properties":{"link":{"type":"string","description":"Instagram post URL.\nRequired for: id."},"action":{"enum":["details","id"],"type":"string","description":"Which operation to run. See the tool description for what each action returns and which parameters it needs."},"shortcode":{"type":"string","description":"Instagram post shortcode (e.g., DMF-GjGO0-q).\nRequired for: details."}}},"output_schema":{"type":"object","required":["result"],"properties":{"result":{"description":"JSON response from the SocialAPIs REST endpoint, unchanged. Object or array depending on the endpoint; most include a `meta` block (statusCode, duration, creditsCharged, creditsRemaining)."},"creditsCharged":{"type":["integer","null"],"description":"Credits charged for this call, or null if the endpoint did not report it."},"creditsRemaining":{"type":["integer","null"],"description":"Credits left on the API key after this call, or null if not reported."}}},"annotations":{"title":"Instagram: Post","readOnlyHint":true,"openWorldHint":true,"destructiveHint":false},"source":"probe","observed_at":"2026-10-20T02:32:31.563Z"},{"name":"instagram_profile","title":"Instagram: Profile","description":"Instagram profiles: details, user ID, posts, reels, highlights and highlight stories.\n\nActions:\n- action=details: Get an Instagram profile by username: bio, follower and post counts, verification status and related profiles. Pricing: 1 credit per call.\n  Inputs: username (required), link (optional).\n- action=id: Resolve an Instagram username or profile URL to its two IDs: user_id (long, e.g. 17841401474538262), used by action=posts and action=reels, and pk (short, e.g. 528817151), used by action=highlights. Pricing: 1 credit per call.\n  Inputs: link (optional), username (optional).\n- action=posts: List an Instagram profile's posts (photos, videos, carousels) with captions, like and comment counts and media URLs. Pass username (returns more results) or user_id (the long user_id from action=id, not the pk). Returns an end_cursor for the next page. For reels only, use action=reels. Pricing: 1 credit per call.\n  Inputs: username (optional), user_id (optional), end_cursor (optional).\n- action=reels: List an Instagram profile's reels with play counts, captions, video URLs and audio metadata. Needs the long user_id from action=id (not the pk). Returns an end_cursor for the next page. Pricing: 1 credit per call.\n  Inputs: user_id (required), end_cursor (optional).\n- action=highlights: List an Instagram profile's story highlights with titles, cover images and highlight IDs. Needs the profile's pk from action=id, passed as user_id (not the long user_id). Use action=highlight_details to get the stories in one highlight. Pricing: 1 credit per call.\n  Inputs: user_id (required).\n- action=highlight_details: Get the stories inside one Instagram highlight. Needs a highlight_id from action=highlights. Pricing: 1 credit per call.\n  Inputs: highlight_id (required).","input_schema":{"type":"object","required":["action"],"properties":{"link":{"type":"string","description":"Instagram profile URL (alternative to username).\nOptional for: details, id."},"action":{"enum":["details","id","posts","reels","highlights","highlight_details"],"type":"string","description":"Which operation to run. See the tool description for what each action returns and which parameters it needs."},"user_id":{"type":"string","description":"Instagram profile ID from action=id. posts, reels: its long user_id (e.g. 17841401474538262) · highlights: its pk (e.g. 528817151). For posts, an alternative to username.\nRequired for: reels, highlights. Optional for: posts."},"username":{"type":"string","description":"Instagram username, without the @. For posts it returns more results than user_id.\nRequired for: details. Optional for: id, posts."},"end_cursor":{"type":"string","description":"Pagination cursor for next page.\nOptional for: posts, reels."},"highlight_id":{"type":"string","description":"Highlight ID (from profile highlights endpoint).\nRequired for: highlight_details."}}},"output_schema":{"type":"object","required":["result"],"properties":{"result":{"description":"JSON response from the SocialAPIs REST endpoint, unchanged. Object or array depending on the endpoint; most include a `meta` block (statusCode, duration, creditsCharged, creditsRemaining)."},"creditsCharged":{"type":["integer","null"],"description":"Credits charged for this call, or null if the endpoint did not report it."},"creditsRemaining":{"type":["integer","null"],"description":"Credits left on the API key after this call, or null if not reported."}}},"annotations":{"title":"Instagram: Profile","readOnlyHint":true,"openWorldHint":true,"destructiveHint":false},"source":"probe","observed_at":"2026-10-20T02:32:31.563Z"},{"name":"instagram_reels","title":"Instagram: Reels","description":"Instagram Reels: the trending feed, or reels that use a given audio track.\n\nActions:\n- action=feed: Get Instagram's recommended and trending reels. Pass clips_media_id from a previous result to continue the feed or get similar reels by the same author. Not tied to a user; for one profile's reels use instagram_profile (action=reels). Pricing: 1 credit per call.\n  Inputs: clips_media_id (optional).\n- action=by_audio: List Instagram reels that use a given sound. Needs the audio_id (music/audio cluster ID) found in reel results' audio metadata. Pass max_id from the previous response for the next page. Pricing: 1 credit per call.\n  Inputs: audio_id (required), max_id (optional).","input_schema":{"type":"object","required":["action"],"properties":{"action":{"enum":["feed","by_audio"],"type":"string","description":"Which operation to run. See the tool description for what each action returns and which parameters it needs."},"max_id":{"type":"string","description":"Pagination cursor for next page.\nOptional for: by_audio."},"audio_id":{"type":"string","description":"Audio cluster ID (music ID).\nRequired for: by_audio."},"clips_media_id":{"type":"string","description":"Clip media ID for chaining/pagination (from previous response).\nOptional for: feed."}}},"output_schema":{"type":"object","required":["result"],"properties":{"result":{"description":"JSON response from the SocialAPIs REST endpoint, unchanged. Object or array depending on the endpoint; most include a `meta` block (statusCode, duration, creditsCharged, creditsRemaining)."},"creditsCharged":{"type":["integer","null"],"description":"Credits charged for this call, or null if the endpoint did not report it."},"creditsRemaining":{"type":["integer","null"],"description":"Credits left on the API key after this call, or null if not reported."}}},"annotations":{"title":"Instagram: Reels","readOnlyHint":true,"openWorldHint":true,"destructiveHint":false},"source":"probe","observed_at":"2026-10-20T02:32:31.563Z"},{"name":"instagram_search","title":"Instagram: Search","description":"Search Instagram by keyword and get the top matching users, hashtags and places. Use it to find a username, or a place's location_id for instagram_location (action=posts). Returns an end_cursor for more. Pricing: 1 credit per call.\nInputs: keyword (required), end_cursor (optional).","input_schema":{"type":"object","required":["keyword"],"properties":{"keyword":{"type":"string","description":"Search keyword/query"},"end_cursor":{"type":"string","description":"Pagination cursor for next page"}}},"output_schema":{"type":"object","required":["result"],"properties":{"result":{"description":"JSON response from the SocialAPIs REST endpoint, unchanged. Object or array depending on the endpoint; most include a `meta` block (statusCode, duration, creditsCharged, creditsRemaining)."},"creditsCharged":{"type":["integer","null"],"description":"Credits charged for this call, or null if the endpoint did not report it."},"creditsRemaining":{"type":["integer","null"],"description":"Credits left on the API key after this call, or null if not reported."}}},"annotations":{"title":"Instagram: Search","readOnlyHint":true,"openWorldHint":true,"destructiveHint":false},"source":"probe","observed_at":"2026-10-20T02:32:31.563Z"}],"next_cursor":null,"next_actions":[{"action":"get_connection","description":"Connection block to call these tools","href":"/v1/servers/io.github.SocialAPIsHub%2Fsocial-media-api/connection?target=mcpServers","arguments":{"name":"io.github.SocialAPIsHub/social-media-api","target":"mcpServers"}},{"action":"get_server","description":"Full descriptor with trust and connectability","href":"/v1/servers/io.github.SocialAPIsHub%2Fsocial-media-api","arguments":{"name":"io.github.SocialAPIsHub/social-media-api"}}]}