Facebook API by APISH avatar

Facebook API by APISH

Pricing

$4.00 / 1,000 credits

Go to Apify Store
Facebook API by APISH

Facebook API by APISH

Public Facebook pages, posts, comments, groups, Marketplace listings, events and search as JSON, with no Meta developer app, via APISH. Pay per credit; failed calls are free.

Pricing

$4.00 / 1,000 credits

Rating

0.0

(0)

Developer

APISH

APISH

Maintained by Community

Actor stats

0

Bookmarked

4

Total users

4

Monthly active users

7 days ago

Last modified

Categories

Features

Limited permissions

Share

Get public Facebook data as clean, consistent JSON: replies to a Facebook comment, facebook event, facebook events search, facebook event search, facebook group, facebook group About tab and more. 37 endpoints, one response shape, numbers parsed, absolute URLs.

How to use

  1. Pick an Endpoint. Each option shows what it returns and its price in credits.
  2. Enter its Parameters as JSON, for example {"q":"New York, NY"}. All parameters are listed below.
  3. Run. Each call becomes one row in the dataset. Use Batch to run the same endpoint for many inputs and Pages per input to follow pagination.

Pricing

Pay per event: you pay per APISH credit the call used. The price of each endpoint is in the table below. Calls that fail on our side (server errors, timeouts, blocks) are free.

Endpoints

EndpointReturnsRequired parametersCredits
/facebook/v1/comment/repliesReplies to a Facebook commenttoken1
/facebook/v1/event/detailsFacebook eventurl1
/facebook/v1/eventsFacebook events searchq5
/facebook/v1/events/searchFacebook event searchq1
/facebook/v1/groupFacebook groupurl1
/facebook/v1/group/aboutFacebook group About taburl1
/facebook/v1/group/postsPublic Facebook group postsurl1
/facebook/v1/hashtagFacebook hashtag poststag1
/facebook/v1/marketplaceFacebook Marketplace search—5
/facebook/v1/marketplace/itemFacebook Marketplace listingurl2
/facebook/v1/marketplace/location/searchLook up a place for Marketplace searchq1
/facebook/v1/marketplace/searchFacebook Marketplace search—2
/facebook/v1/pageFacebook pageurl1
/facebook/v1/page/aboutFacebook page About taburl1
/facebook/v1/page/followersFacebook page followersurl1
/facebook/v1/page/followingFacebook page followingurl1
/facebook/v1/page/reviewsFacebook page reviewsurl1
/facebook/v1/page/transparencyFacebook page transparencyurl1
/facebook/v1/photoFacebook photourl1
/facebook/v1/postFacebook posturl1
/facebook/v1/post/commentsFacebook post commentsurl1
/facebook/v1/post/reactionsFacebook post reactions—1
/facebook/v1/post/transcriptFacebook video transcripturl2
/facebook/v1/profile/albumsFacebook page photo albumsurl1
/facebook/v1/profile/eventsFacebook page eventsurl1
/facebook/v1/profile/photosFacebook page photosurl1
/facebook/v1/profile/postsFacebook page / profile postsurl1
/facebook/v1/profile/reelsFacebook page short videosurl1
/facebook/v1/profile/videosFacebook page videosurl2
/facebook/v1/reelFacebook reelurl1
/facebook/v1/resolveResolve a Facebook URLurl1
/facebook/v1/search/pagesSearch Facebook pagesq1
/facebook/v1/search/peopleSearch Facebook peopleq1
/facebook/v1/search/placesSearch Facebook placesq1
/facebook/v1/search/postsSearch Facebook postsq1
/facebook/v1/search/videosSearch Facebook videosq1
/facebook/v1/videoFacebook videourl1

Output

Each dataset row has endpoint, params, status, credits_used and the endpoint's data. Add "raw": 1 to the parameters to also get the site's original record, or "fields": "a,b.c" to return only the fields you need.

Endpoint details

Replies to a Facebook comment

Endpoint /facebook/v1/comment/replies · 1 credit per successful call.

Parameters:

  • token (required): replies_token of a comment from /facebook/v1/post/comments.
  • cursor: Value of next_cursor from the previous page.

Example parameters: {"token":"eyJmIjoiWm1WbFpHSmhZMnM2Y0daaWFXUXdVbVZ5YTJWMk5rMXpNbWxtZWpaMmNUZ3haR000VUZGb1VHNXhTMkpCV20xalVEYzBWelJ0WkZwRE1scDRTRGRZVkVJeVVWSlpObGxNUmtKelkycFdORUZGTlZvMlMybFRhamRoWkdSaE5sUjVNMGRWYlV3MFpuTnllRlExWTBOV1pXcHMiLCJlIjoiTWpveE56azBORFE1TXpBMk9nRl9HZERfRzBUWUxJQld4cUgwOWlzLXBRX2hKdnYxWHZWQ0FDN01FMmVTdndqY1dFMFJBeHk1bVpqTGVMZUxrVmxsd2JlbTl5S01uQTJTZW1vbGphZGZYODlwVmZ3WG1JNnA2d2stbVRVTFVhVHBHTi1hX0JSWk5pS0ZvTnF0WXN4TW1RUUN6Q28xbFl6bUd3YktsWFk1UElSUllaY1lsRm82blB4bjZvNzBzREVpdzR3WVhoQTN2T1dPNHRLRTFwSWt3UEpkalh2SUszemtTRkdNck1qNFV4b2w0cjJNdzhzWTQxVnlFN0FISFZlc05xUkFFX1NqZXFNa3E3dFVVTHJuNlc3TmdzSktwWk9LamhDMkVLaURUZGdsMFJDUUJOLTlQY18xM3JYSTNsdlUxRk1jX3N6c3kzTmd6Wlh1Z2prS2xERGFLOUtGYlNRS0dkTllGX3ZNNDl3dVlXWDJsekxLcnN0UTFEZnRoeWJGME5ONnFqTVJQMDhCa1BQRGtkeF9Vb0h1VTJzTE9FbTRuRHNUTmNKV2FZOUl1eFc3bDFuSHpqSzdZNWotMDFMa1FGX1dlUzVQWDRycFg1OWFPYV9OQlBYT0JSQkQ5Y2hKejdMWnE2VmY1am5SR0lKWnpCaW4wU1ZtUk5ibk1mQmROdnFzY1ZLN2lwYTlORkk3TUcwTW4wSllYUXJUTWdyS0pFaVhHQXVOR3g0OTdRT1VqVHlZVFl1WEZfYm9iVDhkbHZiSk9BWGhpbG1NYjV4dHhFYXpmYVI4VGxxbGs2ck4xS1doTWJQM3ZXSVV6TWhRMk4zVzVjSEV0N25ORlJzcy1wWmgwVnRuIn0"}

Facebook event

Endpoint /facebook/v1/event/details · 1 credit per successful call.

Parameters:

  • url (required)

Example parameters: {"url":"https://www.facebook.com/events/1474625497812411/"}

Endpoint /facebook/v1/events · 5 credits per successful call.

Facebook's logged-out event search, 10 events per page, with Facebook's own filters. The search cards carry only name and picture, so each event is read for its dates, place, cover and counts (details=false skips that). available_filters lists the date and category values Facebook offers for the query. Pagination: pass next_cursor back as cursor; it is null on the last page. A query without a location (e.g. "concert") returns fewer results; add location_id or put the place in q.

Parameters:

  • q (required): Search text: a place ("New York, NY"), a topic or both.
  • date: today, tomorrow, this_week, this_weekend, next_week, a day (YYYY-MM-DD) or a range (YYYY-MM-DD~YYYY-MM-DD).
  • date_from: Start of a date range (YYYY-MM-DD), instead of date.
  • date_to: End of a date range (YYYY-MM-DD).
  • category: Event category: art, causes, comedy, crafts, dance, drinks, film, fitness, food, games, gardening, health, home, literature, music, networking, other, party, religion, shopping, sports, theater, wellness (or a Facebook category id).
  • location_id: A Facebook city page id (e.g. 108424279189115 for New York); /facebook/v1/event/details returns city_id for any event.
  • details: false skips reading each event (faster; the search cards then carry only name, link and picture).
  • cursor: Value of next_cursor from the previous page.

Example parameters: {"q":"New York, NY"}

Endpoint /facebook/v1/events/search · 1 credit per successful call.

Facebook's logged-out event search, 10 events per page, with Facebook's own filters. The search cards carry only name and picture, so each event is read for its dates, place, cover and counts (details=false skips that). available_filters lists the date and category values Facebook offers for the query. Pagination: pass next_cursor back as cursor; it is null on the last page. A query without a location (e.g. "concert") returns fewer results; add location_id or put the place in q.

Parameters:

  • q (required): Search text.
  • date: today, tomorrow, this_week, this_weekend, next_week, a day (YYYY-MM-DD) or a range (YYYY-MM-DD~YYYY-MM-DD).
  • date_from: Start of a date range (YYYY-MM-DD), instead of date.
  • date_to: End of a date range (YYYY-MM-DD).
  • category: Event category: art, causes, comedy, crafts, dance, drinks, film, fitness, food, games, gardening, health, home, literature, music, networking, other, party, religion, shopping, sports, theater, wellness (or a Facebook category id).
  • location_id: A Facebook city page id (e.g. 108424279189115 for New York); /facebook/v1/event/details returns city_id for any event.
  • details: false skips reading each event (faster; the search cards then carry only name, link and picture).
  • cursor: Value of next_cursor from the previous page.

Example parameters: {"q":"concert"}

Facebook group

Endpoint /facebook/v1/group · 1 credit per successful call.

A public group: name, privacy, member count, description, cover, and its discussion feed (3 posts per page, Facebook's logged-out page size; the first call reads two pages). Pagination: pass next_cursor back as cursor here (or to /facebook/v1/group/posts).

Parameters:

  • url (required): Group URL, slug or numeric id.
  • sort — one of recent, top: recent (default) or top.
  • cursor: Value of next_cursor from the previous page.

Example parameters: {"url":"instantpotcommunity"}

Facebook group About tab

Endpoint /facebook/v1/group/about · 1 credit per successful call.

A group's About tab: full description, privacy (public/private) and visibility, creation date, exact member count, new members in the last week, posts in the last day and month, admins and moderators (with counts) and the group rules.

Parameters:

  • url (required): Group URL, vanity name or numeric id.

Example parameters: {"url":"instantpotcommunity"}

Public Facebook group posts

Endpoint /facebook/v1/group/posts · 1 credit per successful call.

Parameters:

  • url (required)
  • sort: recent or top.
  • cursor: Value of next_cursor from the previous page.

Example parameters: {"url":"https://www.facebook.com/groups/1270525996445602/"}

Facebook hashtag posts

Endpoint /facebook/v1/hashtag · 1 credit per successful call.

The posts Facebook shows logged out for a hashtag: its top post and its most recent post (one each, 1-2 posts in all). Logged out, Facebook shows nothing further on a hashtag page and answers its paging query with "Rate limit exceeded", so there is no next page (next_cursor is always null). Each post has text, author, time, media, reaction/comment/share counts and tab (top or recent).

Parameters:

  • tag (required): Hashtag, with or without #, or a facebook.com/hashtag/... URL.
  • sort — one of all, top, recent: all (default: top and recent post), top or recent.

Example parameters: {"tag":"nasa"}

Endpoint /facebook/v1/marketplace · 5 credits per successful call.

The server-rendered Marketplace search page: 24 listings. Logged out, Facebook's Marketplace search API answers with empty pages (checked Oct 2026), so there are no further pages; narrow the search with the filters instead. All filters are applied by Facebook. Without q, category browses a category with the same filters.

Parameters:

  • q: Search text (optional when category is given).
  • location: A Marketplace city slug (nyc, sanfrancisco, la, …) or a place name ("Austin, TX"); default nyc.
  • min_price: Minimum price, in the listing currency.
  • max_price: Maximum price.
  • radius_km: Search radius around the location, km (1-500).
  • sort — one of best_match, newest, oldest, price_low, price_high, distance, distance_far: best_match (default), newest, oldest, price_low, price_high, distance, distance_far.
  • days_since_listed: Listed within the last 1, 7 or 30 days.
  • condition: Item condition, comma-separated: new, used_like_new, used_good, used_fair.
  • delivery — one of local_pickup, shipping: local_pickup or shipping.
  • exact: true: only listings that match the words exactly.
  • category: Without q: browse a Marketplace category instead (vehicles, electronics, propertyrentals, apparel, homegoods, …).

Example parameters: {"q":"electronics","location":"sanfrancisco"}

Facebook Marketplace listing

Endpoint /facebook/v1/marketplace/item · 2 credits per successful call.

One Marketplace listing: title, price, description, condition and attributes, photos, location, category, seller (name, joined, rating), delivery options (delivery_options: delivery types, shipping offered and eligibility, shipping profile, free-shipping offer, buy now, local pickup).

Parameters:

  • url (required)

Example parameters: {"url":"https://www.facebook.com/marketplace/item/919704987847781/"}

Endpoint /facebook/v1/marketplace/location/search · 1 credit per successful call.

Every response includes credits_used: the credits this call cost. Facebook's own location picker is login-only; places come from Open-Meteo geocoding.

Parameters:

  • q (required)

Example parameters: {"q":"Austin"}

Endpoint /facebook/v1/marketplace/search · 2 credits per successful call.

The server-rendered Marketplace search page: 24 listings. Logged out, Facebook's Marketplace search API answers with empty pages (checked Oct 2026), so there are no further pages; narrow the search with the filters instead. All filters are applied by Facebook. Without q, category browses a category with the same filters. Vehicle filters (year, mileage, make, model, body style, vehicle type, transmission) apply to keyword searches; rental filters (bedrooms, bathrooms, property type, area, pets, furnished) apply to searches and the propertyrentals category. available_filters lists the page's own filters with their choices (e.g. make and model ids).

Parameters:

  • q: Search text (optional when category is given).
  • location: A Marketplace city slug (nyc, sanfrancisco, la, …) or a place name ("Austin, TX"); default nyc.
  • min_price: Minimum price, in the listing currency.
  • max_price: Maximum price.
  • radius_km: Search radius around the location, km (1-500).
  • sort — one of best_match, newest, oldest, price_low, price_high, distance, distance_far, mileage_low, mileage_high, year_new, year_old: best_match (default), newest, oldest, price_low, price_high, distance, distance_far; mileage_low, mileage_high, year_new and year_old when browsing category=vehicles without q.
  • days_since_listed: Listed within the last 1, 7 or 30 days.
  • condition: Item condition, comma-separated: new, used_like_new, used_good, used_fair.
  • delivery — one of local_pickup, shipping: local_pickup or shipping.
  • exact: true: only listings that match the words exactly.
  • min_year: Vehicles: earliest model year.
  • max_year: Vehicles: latest model year.
  • min_mileage: Vehicles: lowest mileage.
  • max_mileage: Vehicles: highest mileage.
  • make: Vehicles: a make id from available_filters (e.g. 308436969822020 Honda).
  • model: Vehicles: a model id from available_filters (with make).
  • body_style: Vehicles: comma list of convertible, coupe, hatchback, minivan, sedan, wagon, suv, truck, small_car, other_body_style.
  • vehicle_type: Vehicles: car_truck, motorcycle, powersport, rv_camper, boat, commercial, trailer or other.
  • transmission: Vehicles: automatic or manual.
  • min_bedrooms: Rentals: at least this many bedrooms.
  • max_bedrooms: Rentals: at most this many bedrooms.
  • min_bathrooms: Rentals: at least this many bathrooms (1, 1.5, 2 ...).
  • max_bathrooms: Rentals: at most this many bathrooms.
  • property_type: Rentals: comma list of apartment-condo, house, private_room-shared_room, townhouse.
  • min_area: Rentals: smallest area (square feet).
  • max_area: Rentals: largest area (square feet).
  • dogs_ok: Rentals: dogs allowed.
  • cats_ok: Rentals: cats allowed.
  • furnished: Rentals: furnished only.
  • individual_sellers_only: Only listings from individuals (no businesses).
  • category: Without q: browse a Marketplace category instead (vehicles, electronics, propertyrentals, apparel, homegoods, …).

Example parameters: {"q":"bike","location":"sanfrancisco"}

Facebook page

Endpoint /facebook/v1/page · 1 credit per successful call.

A public page or profile: name, category, intro, follower/following counts (exact follower count when Facebook shows it), contact cards (phone, email, website, address, hours, price range), rating, verified flag, profile and cover pictures, social links.

Parameters:

  • url (required): Page URL or username.

Example parameters: {"url":"nasa"}

Facebook page About tab

Endpoint /facebook/v1/page/about · 1 credit per successful call.

Every field of a public page's About tab, read from its four sub-tabs in parallel: categories, address with map pin (latitude/longitude), phone, email, websites, social links (Instagram, X…), rating ("98% recommend") and review count, hours status, price range, services, the long description (about), privacy policy and impressum, and Page transparency (Page ID, creation date, whether the page is running ads, the confirmed owner). sections lists every section and field as Facebook shows them; a sub-tab that could not be read is named in sections_failed.

Parameters:

  • url (required): Page URL or username (profile.php?id=… links work too).
  • sections: Comma-separated subset of contact, details, privacy, transparency (default: all four).

Example parameters: {"url":"NASA"}

Facebook page followers

Endpoint /facebook/v1/page/followers · 1 credit per successful call.

Every response includes credits_used: the credits this call cost. The followers Facebook lists publicly for a page or public profile (the first entries of the list; Facebook shows no further pages without an account), with the total follower count. more_available tells whether the full list is longer.

Parameters:

  • url (required): Page or profile URL or username.

Example parameters: {"url":"https://www.facebook.com/NASA"}

Facebook page following

Endpoint /facebook/v1/page/following · 1 credit per successful call.

Every response includes credits_used: the credits this call cost. The pages and profiles a page or public profile follows, as Facebook lists them publicly (the first entries of the list). more_available tells whether the full list is longer.

Parameters:

  • url (required): Page or profile URL or username.

Example parameters: {"url":"https://www.facebook.com/NASA"}

Facebook page reviews

Endpoint /facebook/v1/page/reviews · 1 credit per successful call.

Every response includes credits_used: the credits this call cost. A page's reviews (recommendations): text, author, date, recommends yes/no, reactions and comments, plus the page's recommend percentage and review count. Pass next_cursor back as cursor; null on the last page.

Parameters:

  • url (required): Page URL or username.
  • cursor: Value of next_cursor from the previous page.

Example parameters: {"url":"https://www.facebook.com/joesstonecrab"}

Facebook page transparency

Endpoint /facebook/v1/page/transparency · 1 credit per successful call.

A page's transparency panel: Page ID, creation date (also as YYYY-MM-DD), the ad status with running_ads true/false, the confirmed owner (responsible_entity) and the admin note. available is false for profiles without the panel.

Parameters:

  • url (required): Page URL or username (profile.php?id=… links work too).

Example parameters: {"url":"NASA"}

Facebook photo

Endpoint /facebook/v1/photo · 1 credit per successful call.

One public Facebook photo as the logged-out photo page shows it: id, link, image (largest size), width and height, the site's description of the picture, the caption of its post, owner (id, name, link), time, reactions with the breakdown by type, comments, shares, and the post_id and feedback_id to use with /facebook/v1/post/comments.

Parameters:

  • url (required): A photo link (/photo/?fbid=
  • id: Photo id.

Example parameters: {"url":"https://www.facebook.com/photo/?fbid=1675983760563660"}

Facebook post

Endpoint /facebook/v1/post · 1 credit per successful call.

Parameters:

  • url (required)

Example parameters: {"url":"https://www.facebook.com/NASA/posts/1658876782274358"}

Facebook post comments

Endpoint /facebook/v1/post/comments · 1 credit per successful call.

Parameters:

  • url (required)
  • sort: relevant, newest or all.
  • cursor: Value of next_cursor from the previous page.

Example parameters: {"url":"https://www.facebook.com/NASA/posts/1658876782274358"}

Facebook post reactions

Endpoint /facebook/v1/post/reactions · 1 credit per successful call.

Every response includes credits_used: the credits this call cost. Reaction totals by type (like, love, care, haha, wow, sad, angry) and the reacting profiles Facebook lists publicly for a post (the first 10, or the first 10 of one type with type). Pass a post URL or the feedback_id from /facebook/v1/post.

Parameters:

  • url: Post URL.
  • feedback_id: feedback_id from /facebook/v1/post (instead of url).
  • type — one of like, love, care, haha, wow, sad, angry: Only reactors with this reaction.

Example parameters: {"url":"https://www.facebook.com/NASA/posts/pfbid09brqCCTZ2tMaqk582QcQo83AgQoc3s9xE5H82qkMQBsNokX3knkXckksXddVNhxfl"}

Facebook video transcript

Endpoint /facebook/v1/post/transcript · 2 credits per successful call.

Parameters:

  • url (required)

Example parameters: {"url":"https://www.facebook.com/watch/?v=452499129200583"}

Facebook page photo albums

Endpoint /facebook/v1/profile/albums · 1 credit per successful call.

A page's photo albums: album id, title, number of items, cover image and link, 8 per page. Pagination: pass next_cursor back as cursor; it is null on the last page. (Logged out, Facebook does not show the photos inside an album; /facebook/v1/profile/photos lists the page's photos.)

Parameters:

  • url (required): Page URL or username.
  • cursor: Value of next_cursor from the previous page.

Example parameters: {"url":"NASA"}

Facebook page events

Endpoint /facebook/v1/profile/events · 1 credit per successful call.

Parameters:

  • url (required)

Example parameters: {"url":"https://www.facebook.com/NASA"}

Facebook page photos

Endpoint /facebook/v1/profile/photos · 1 credit per successful call.

Parameters:

  • url (required)
  • cursor: Value of next_cursor from the previous page.

Example parameters: {"url":"https://www.facebook.com/NASA"}

Facebook page / profile posts

Endpoint /facebook/v1/profile/posts · 1 credit per successful call.

Parameters:

  • url (required)
  • cursor: Value of next_cursor from the previous page.

Example parameters: {"url":"https://www.facebook.com/NASA"}

Facebook page short videos

Endpoint /facebook/v1/profile/reels · 1 credit per successful call.

Every response includes credits_used: the credits this call cost. Facebook's Reels tab is login-only; this lists the page's vertical videos.

Parameters:

  • url (required)
  • cursor: Value of next_cursor from the previous page.

Example parameters: {"url":"https://www.facebook.com/NASA"}

Facebook page videos

Endpoint /facebook/v1/profile/videos · 2 credits per successful call.

Parameters:

  • url (required)
  • cursor: Value of next_cursor from the previous page.

Example parameters: {"url":"https://www.facebook.com/NASA"}

Facebook reel

Endpoint /facebook/v1/reel · 1 credit per successful call.

One public Facebook reel: id, link, title, the site's summary, caption, owner (id, name, link, verified), publish time, duration, size, thumbnail, SD and HD file links, reactions, comments, shares and views where shown, soundtrack, and the post_id and feedback_id to use with /facebook/v1/post/comments; /facebook/v1/post/transcript turns the speech into text.

Parameters:

  • url (required): A reel link (/reel/
  • id: Reel id.

Example parameters: {"url":"https://www.facebook.com/reel/1863947697952668"}

Resolve a Facebook URL

Endpoint /facebook/v1/resolve · 1 credit per successful call.

Every response includes credits_used: the credits this call cost. Any Facebook URL (page, profile, group, post, video, reel, photo, event, marketplace item, hashtag) or share / short link (fb.me, fb.watch, facebook.com/share/...) to its type, numeric id and canonical URL, plus the name for pages, profiles and groups. URLs that carry the id answer instantly.

Parameters:

  • url (required): Any Facebook URL or share link.

Example parameters: {"url":"https://www.facebook.com/NASA"}

Search Facebook pages

Endpoint /facebook/v1/search/pages · 1 credit per successful call.

Every response includes credits_used: the credits this call cost. Pages matching a keyword: id, name, URL, picture, verified badge and the description line Facebook shows. Pass next_cursor back as cursor for more; null on the last page.

Parameters:

  • q (required): Search text.
  • cursor: Value of next_cursor from the previous page.

Example parameters: {"q":"nasa"}

Search Facebook people

Endpoint /facebook/v1/search/people · 1 credit per successful call.

Every response includes credits_used: the credits this call cost. Public profiles matching a name, with the snippet Facebook shows (for example where the person lives or works). location_id (a Facebook city page id) ranks people from that city first. Pass next_cursor back as cursor; null on the last page.

Parameters:

  • q (required): Search text.
  • location_id: Facebook city page id, e.g. 106078429431815 (London).
  • cursor: Value of next_cursor from the previous page.

Example parameters: {"q":"john smith"}

Search Facebook places

Endpoint /facebook/v1/search/places · 1 credit per successful call.

Every response includes credits_used: the credits this call cost. Businesses and places matching a keyword. location_id (a Facebook city page id, e.g. 108659242498155 for Chicago) limits results to that city; price 1-4 filters by price range. Pass next_cursor back as cursor; null on the last page.

Parameters:

  • q (required): Search text.
  • location_id: Facebook city page id.
  • price: Price range, 1 ($) to 4 ($$$$).
  • cursor: Value of next_cursor from the previous page.

Example parameters: {"q":"pizza"}

Search Facebook posts

Endpoint /facebook/v1/search/posts · 1 credit per successful call.

Every response includes credits_used: the credits this call cost. Public posts matching a keyword, with text, author, date, reaction/comment/share counts, photos and videos. recent=true returns the most recent posts; start_date / end_date (YYYY, YYYY-MM or YYYY-MM-DD) limit the posting date. Pass next_cursor back as cursor; null on the last page.

Parameters:

  • q (required): Search text.
  • recent: Most recent posts first.
  • start_date: Posted on or after (YYYY, YYYY-MM or YYYY-MM-DD).
  • end_date: Posted on or before (YYYY, YYYY-MM or YYYY-MM-DD).
  • cursor: Value of next_cursor from the previous page.

Example parameters: {"q":"artemis"}

Search Facebook videos

Endpoint /facebook/v1/search/videos · 1 credit per successful call.

Parameters:

  • q (required)
  • cursor: Value of next_cursor from the previous page.

Example parameters: {"q":"nasa artemis"}

Facebook video

Endpoint /facebook/v1/video · 1 credit per successful call.

One public Facebook video as the logged-out page shows it: id, link, reel flag, title, the site's summary, caption, owner (id, name, link, verified), publish time, duration, size, thumbnail, SD and HD file links and the DASH manifest, reactions, comments, shares and views where shown, soundtrack, and the post_id and feedback_id to use with /facebook/v1/post/comments; /facebook/v1/post/transcript turns the speech into text.

Parameters:

  • url (required): A video link in any form (/watch?v=, /
  • id: Video id.

Example parameters: {"url":"https://www.facebook.com/watch/?v=1686472756520976"}

Support

Questions, bugs or a missing field? Open an issue in this Actor's Issues tab and we will reply there.

Public data only: nothing behind a login. You are responsible for how you use the data you collect.