Facebook profiles, posts, groups and search as JSON
Look up any public profile, Page, post, group, event or Marketplace listing by link, read its comments and replies, and search posts, hashtags, people, Pages, groups, videos and Marketplace.
import { Bridgly } from "@bridgly/sdk";const client = new Bridgly({ apiKey: "bgly_YOUR_KEY" });const res = await client.facebook.getProfilePosts({ profile: "NASA", count: 3});if (res.type === "success") { console.log(res.data);}npm install @bridgly/sdk
All 24 Facebook endpoints
Send a profile or Page link, username or numeric ID and get its name, bio, category, verified badge, follower counts, websites, pictures and the intro details it shows publicly, such as city, work, address, rating or contact email. Then read every section of its About tab, list its posts, newest first, its photos with their descriptions, its reels with play counts, the posts that mention it, or the events it hosts.
Every post comes back the same way, whether it is from a timeline, a group, a search or a single link: text, author, date, photos and videos with their files, the link it shares with its preview, the post it reshares, reactions by type, and comment and share counts. Comments come top or newest first, and replies take the post link and the comment ID.
Groups return their description, privacy, exact member count, posts in the last day and month, creation date, admins and rules, and their feed by top, newest or recent activity, and their events. Events return their description, venue with address and coordinates, hosts, ticket link and going and interested counts, and any city’s events can be listed. Search covers posts, hashtags, people, Pages, groups, videos, places and Marketplace listings near any location, with a price range; each listing then returns its description, every photo and its seller.
Facebook Profile API
POST/facebook/get-profileGet a Facebook profile or Page as JSON: name, bio, category, follower count, verified badge, intro details, websites and pictures, from a link or username.1 credit per requestDetails →
Request body
profilestringrequired- The profile or Page: its link, username or numeric ID, e.g. "https://www.facebook.com/NASA", "NASA" or "100044561550831".
cacheMaxAgeHoursinteger- Accept a cached result up to this many hours old, at no cost; its `cachedAt` says when it was fetched. Without one that recent, fresh data is fetched at the normal price. Leave it out to always get fresh data, e.g. 24.
cacheOnlyboolean- Return only a cached result, never fresh data. With `cacheMaxAgeHours`, only one that recent; without it, the latest of any age. Responds 404, at no cost, when there is none, e.g. true.
Response
{ "timeMs": 1840, "creditsCost": 1, "cachedAt": "2026-01-15T09:30:00.000Z", "data": { "id": "string", "name": "string", "username": "string", "pageId": "string", "url": "string", "alternateName": "string", "isPage": true, "isVerified": true, "category": "string", "bio": "string", "details": [ { "type": "string", "text": "string", "links": [ { "type": "string", "id": "string", "name": "string", "url": "string" } ] } ], "followerCount": 0, "followingCount": 0, "friendCount": 0, "websites": [ "string" ], "profilePictureUrl": "string", "coverPhotoUrl": "string" }}Facebook Posts API
POST/facebook/get-profile-postsList the posts of any public Facebook profile or Page as JSON, newest first: text, photos, videos, links, reactions by type, comment and share counts.1 credit per requestDetails →
Request body
cursorstring- The previous response's `nextCursor`, to fetch the next page. Omit it for the first page.
profilestringrequired- The profile or Page: its link, username or numeric ID, e.g. "https://www.facebook.com/NASA", "NASA" or "100044561550831".
countinteger · 1–3 · default 3- Number of results to return (1–3). Defaults to 3.
cacheMaxAgeHoursinteger- Accept a cached result up to this many hours old, at no cost; its `cachedAt` says when it was fetched. Without one that recent, fresh data is fetched at the normal price. Leave it out to always get fresh data, e.g. 24.
cacheOnlyboolean- Return only a cached result, never fresh data. With `cacheMaxAgeHours`, only one that recent; without it, the latest of any age. Responds 404, at no cost, when there is none, e.g. true.
Response
{ "timeMs": 1840, "creditsCost": 1, "cachedAt": "2026-01-15T09:30:00.000Z", "data": { "nextCursor": "string", "posts": [ { "id": "string", "url": "string", "text": "string", "entities": [ { "type": "string", "id": "string", "name": "string", "url": "string" } ], "headline": "string", "tagged": [ { "type": "string", "id": "string", "name": "string", "url": "string" } ], "place": { "type": "string", "id": "string", "name": "string", "url": "string" }, "createdAt": "string", "privacy": "string", "author": { "id": "string", "name": "string", "url": "string", "profilePictureUrl": "string" }, "group": { "id": "string", "name": "string", "url": "string" }, "reactionCount": 0, "reactions": [ { "reaction": "string", "count": 0 } ], "commentCount": 0, "shareCount": 0, "media": [ { "type": "photo", "id": "string", "url": "string", "imageUrl": "string", "width": 0, "height": 0, "altText": "string" } ], "link": { "url": "string", "title": "string", "description": "string", "domain": "string", "imageUrl": "string" }, "sharedPost": { "id": "string", "url": "string", "text": "string", "createdAt": "string", "author": { "id": "string", "name": "string", "url": "string", "profilePictureUrl": "string" } }, "poll": { "id": "string", "question": "string", "responseMethod": "string", "state": "string", "options": [ { "id": "string", "text": "string", "voteCount": 0 } ] }, "music": { "id": "string", "title": "string", "artist": "string" } } ] }}Facebook Photos API
POST/facebook/get-profile-photosList the photos a Facebook profile or Page posted, as JSON: full size image URL, dimensions, photo link and the image description, page after page.1 credit per requestDetails →
Request body
cursorstring- The previous response's `nextCursor`, to fetch the next page. Omit it for the first page.
profilestringrequired- The profile or Page: its link, username or numeric ID, e.g. "https://www.facebook.com/NASA", "NASA" or "100044561550831".
countinteger · 1–8 · default 8- Number of results to return (1–8). Defaults to 8.
cacheMaxAgeHoursinteger- Accept a cached result up to this many hours old, at no cost; its `cachedAt` says when it was fetched. Without one that recent, fresh data is fetched at the normal price. Leave it out to always get fresh data, e.g. 24.
cacheOnlyboolean- Return only a cached result, never fresh data. With `cacheMaxAgeHours`, only one that recent; without it, the latest of any age. Responds 404, at no cost, when there is none, e.g. true.
Response
{ "timeMs": 1840, "creditsCost": 1, "cachedAt": "2026-01-15T09:30:00.000Z", "data": { "nextCursor": "string", "photos": [ { "id": "string", "url": "string", "imageUrl": "string", "width": 0, "height": 0, "altText": "string" } ] }}Facebook Reels API
POST/facebook/get-profile-reelsList the reels of a Facebook profile or Page as JSON: caption, video file, thumbnail, duration, play count, reactions, comments and shares for each reel.1 credit per requestDetails →
Request body
cursorstring- The previous response's `nextCursor`, to fetch the next page. Omit it for the first page.
profilestringrequired- The profile or Page: its link, username or numeric ID, e.g. "https://www.facebook.com/NASA", "NASA" or "100044561550831".
countinteger · 1–10 · default 10- Number of results to return (1–10). Defaults to 10.
cacheMaxAgeHoursinteger- Accept a cached result up to this many hours old, at no cost; its `cachedAt` says when it was fetched. Without one that recent, fresh data is fetched at the normal price. Leave it out to always get fresh data, e.g. 24.
cacheOnlyboolean- Return only a cached result, never fresh data. With `cacheMaxAgeHours`, only one that recent; without it, the latest of any age. Responds 404, at no cost, when there is none, e.g. true.
Response
{ "timeMs": 1840, "creditsCost": 1, "cachedAt": "2026-01-15T09:30:00.000Z", "data": { "nextCursor": "string", "reels": [ { "id": "string", "url": "string", "videoUrl": "string", "thumbnailUrl": "string", "durationSeconds": 0, "width": 0, "height": 0, "postId": "string", "text": "string", "entities": [ { "type": "string", "id": "string", "name": "string", "url": "string" } ], "createdAt": "string", "playCount": 0, "reactionCount": 0, "commentCount": 0, "shareCount": 0, "audio": { "id": "string", "title": "string" } } ] }}Facebook About API
POST/facebook/get-profile-aboutGet every section of a Facebook profile or Page About tab as JSON: work, education, places, contact info, links, category and personal details.1 credit per requestDetails →
Request body
profilestringrequired- The profile or Page: its link, username or numeric ID, e.g. "https://www.facebook.com/NASA", "NASA" or "100044561550831".
cacheMaxAgeHoursinteger- Accept a cached result up to this many hours old, at no cost; its `cachedAt` says when it was fetched. Without one that recent, fresh data is fetched at the normal price. Leave it out to always get fresh data, e.g. 24.
cacheOnlyboolean- Return only a cached result, never fresh data. With `cacheMaxAgeHours`, only one that recent; without it, the latest of any age. Responds 404, at no cost, when there is none, e.g. true.
Response
{ "timeMs": 1840, "creditsCost": 1, "cachedAt": "2026-01-15T09:30:00.000Z", "data": { "id": "string", "sections": [ { "type": "string", "title": "string", "fields": [ { "type": "string", "text": "string", "details": [ "string" ], "links": [ { "type": "string", "id": "string", "name": "string", "url": "string" } ], "latitude": 0, "longitude": 0 } ] } ] }}Facebook Mentions API
POST/facebook/get-profile-mentionsList the public posts that mention a Facebook Page as JSON: text, author, date, media, reactions, comment and share counts.1 credit per requestDetails →
Request body
cursorstring- The previous response's `nextCursor`, to fetch the next page. Omit it for the first page.
profilestringrequired- The profile or Page: its link, username or numeric ID, e.g. "https://www.facebook.com/NASA", "NASA" or "100044561550831".
countinteger · 1–3 · default 3- Number of results to return (1–3). Defaults to 3.
cacheMaxAgeHoursinteger- Accept a cached result up to this many hours old, at no cost; its `cachedAt` says when it was fetched. Without one that recent, fresh data is fetched at the normal price. Leave it out to always get fresh data, e.g. 24.
cacheOnlyboolean- Return only a cached result, never fresh data. With `cacheMaxAgeHours`, only one that recent; without it, the latest of any age. Responds 404, at no cost, when there is none, e.g. true.
Response
{ "timeMs": 1840, "creditsCost": 1, "cachedAt": "2026-01-15T09:30:00.000Z", "data": { "nextCursor": "string", "posts": [ { "id": "string", "url": "string", "text": "string", "entities": [ { "type": "string", "id": "string", "name": "string", "url": "string" } ], "headline": "string", "tagged": [ { "type": "string", "id": "string", "name": "string", "url": "string" } ], "place": { "type": "string", "id": "string", "name": "string", "url": "string" }, "createdAt": "string", "privacy": "string", "author": { "id": "string", "name": "string", "url": "string", "profilePictureUrl": "string" }, "group": { "id": "string", "name": "string", "url": "string" }, "reactionCount": 0, "reactions": [ { "reaction": "string", "count": 0 } ], "commentCount": 0, "shareCount": 0, "media": [ { "type": "photo", "id": "string", "url": "string", "imageUrl": "string", "width": 0, "height": 0, "altText": "string" } ], "link": { "url": "string", "title": "string", "description": "string", "domain": "string", "imageUrl": "string" }, "sharedPost": { "id": "string", "url": "string", "text": "string", "createdAt": "string", "author": { "id": "string", "name": "string", "url": "string", "profilePictureUrl": "string" } }, "poll": { "id": "string", "question": "string", "responseMethod": "string", "state": "string", "options": [ { "id": "string", "text": "string", "voteCount": 0 } ] }, "music": { "id": "string", "title": "string", "artist": "string" } } ] }}Facebook Page Events API
POST/facebook/get-profile-eventsList the upcoming or past events a Facebook Page or profile hosts as JSON: name, date, venue, city, cover image and canceled state.1 credit per requestDetails →
Request body
cursorstring- The previous response's `nextCursor`, to fetch the next page. Omit it for the first page.
profilestringrequired- The profile or Page: its link, username or numeric ID, e.g. "https://www.facebook.com/NASA", "NASA" or "100044561550831".
timeframeenum · default upcoming- Which events to list: "upcoming" or "past". Defaults to "upcoming".
- upcoming | past
countinteger · 1–10 · default 10- Number of results to return (1–10). Defaults to 10.
cacheMaxAgeHoursinteger- Accept a cached result up to this many hours old, at no cost; its `cachedAt` says when it was fetched. Without one that recent, fresh data is fetched at the normal price. Leave it out to always get fresh data, e.g. 24.
cacheOnlyboolean- Return only a cached result, never fresh data. With `cacheMaxAgeHours`, only one that recent; without it, the latest of any age. Responds 404, at no cost, when there is none, e.g. true.
Response
{ "timeMs": 1840, "creditsCost": 1, "cachedAt": "2026-01-15T09:30:00.000Z", "data": { "nextCursor": "string", "events": [ { "id": "string", "url": "string", "name": "string", "startsAt": "string", "timeText": "string", "isPast": true, "isCanceled": true, "isOnline": true, "isHappeningNow": true, "kind": "string", "parentEventId": "string", "groupId": "string", "place": { "id": "string", "name": "string" }, "city": "string", "attendance": "string", "coverPhotoUrl": "string", "createdBy": { "id": "string", "name": "string", "url": "string", "profilePictureUrl": "string" }, "sharedBy": { "id": "string", "name": "string", "url": "string", "profilePictureUrl": "string" } } ] }}Facebook Post API
POST/facebook/get-postGet a single Facebook post from its link as JSON: text, author, date, photos, videos, shared link, reactions by type, comment and share counts.1 credit per requestDetails →
Request body
urlstringrequired- Link to the post, e.g. "https://www.facebook.com/NASA/posts/pfbid0sWE…", a group post link, a share link such as "https://www.facebook.com/share/p/1DnHdkn7c7/", or a permalink.php or story.php link.
cacheMaxAgeHoursinteger- Accept a cached result up to this many hours old, at no cost; its `cachedAt` says when it was fetched. Without one that recent, fresh data is fetched at the normal price. Leave it out to always get fresh data, e.g. 24.
cacheOnlyboolean- Return only a cached result, never fresh data. With `cacheMaxAgeHours`, only one that recent; without it, the latest of any age. Responds 404, at no cost, when there is none, e.g. true.
Response
{ "timeMs": 1840, "creditsCost": 1, "cachedAt": "2026-01-15T09:30:00.000Z", "data": { "id": "string", "url": "string", "text": "string", "entities": [ { "type": "string", "id": "string", "name": "string", "url": "string" } ], "headline": "string", "tagged": [ { "type": "string", "id": "string", "name": "string", "url": "string" } ], "place": { "type": "string", "id": "string", "name": "string", "url": "string" }, "createdAt": "string", "privacy": "string", "author": { "id": "string", "name": "string", "url": "string", "profilePictureUrl": "string" }, "group": { "id": "string", "name": "string", "url": "string" }, "reactionCount": 0, "reactions": [ { "reaction": "string", "count": 0 } ], "commentCount": 0, "shareCount": 0, "media": [ { "type": "photo", "id": "string", "url": "string", "imageUrl": "string", "width": 0, "height": 0, "altText": "string" } ], "link": { "url": "string", "title": "string", "description": "string", "domain": "string", "imageUrl": "string" }, "sharedPost": { "id": "string", "url": "string", "text": "string", "createdAt": "string", "author": { "id": "string", "name": "string", "url": "string", "profilePictureUrl": "string" } }, "poll": { "id": "string", "question": "string", "responseMethod": "string", "state": "string", "options": [ { "id": "string", "text": "string", "voteCount": 0 } ] }, "music": { "id": "string", "title": "string", "artist": "string" } }}Facebook Comments API
POST/facebook/get-post-commentsList the comments of a Facebook post as JSON, top or newest first: text, author, date, reaction count and reply count, with a cursor for every next page.1 credit per requestDetails →
Request body
cursorstring- The previous response's `nextCursor`, to fetch the next page. Omit it for the first page.
urlstringrequired- Link to the post, e.g. "https://www.facebook.com/NASA/posts/pfbid0sWE…", a group post link, a share link such as "https://www.facebook.com/share/p/1DnHdkn7c7/", or a permalink.php or story.php link.
sortenum · default top- Comment order: "top" (every comment, in Facebook's ranking) or "newest" first. Defaults to "top".
- top | newest
countinteger · 1–10 · default 10- Number of results to return (1–10). Defaults to 10.
cacheMaxAgeHoursinteger- Accept a cached result up to this many hours old, at no cost; its `cachedAt` says when it was fetched. Without one that recent, fresh data is fetched at the normal price. Leave it out to always get fresh data, e.g. 24.
cacheOnlyboolean- Return only a cached result, never fresh data. With `cacheMaxAgeHours`, only one that recent; without it, the latest of any age. Responds 404, at no cost, when there is none, e.g. true.
Response
{ "timeMs": 1840, "creditsCost": 1, "cachedAt": "2026-01-15T09:30:00.000Z", "data": { "nextCursor": "string", "comments": [ { "id": "string", "url": "string", "text": "string", "entities": [ { "type": "string", "id": "string", "name": "string", "url": "string" } ], "createdAt": "string", "author": { "id": "string", "name": "string", "url": "string", "profilePictureUrl": "string" }, "reactionCount": 0, "replyCount": 0, "imageUrl": "string", "parentCommentId": "string" } ] }}Facebook Comment Replies API
POST/facebook/get-comment-repliesList the replies to a Facebook comment as JSON, oldest first: text, author, date and reaction count, with a cursor for every next page of replies.1 credit per requestDetails →
Request body
cursorstring- The previous response's `nextCursor`, to fetch the next page. Omit it for the first page.
urlstringrequired- Link to the post, e.g. "https://www.facebook.com/NASA/posts/pfbid0sWE…", a group post link, a share link such as "https://www.facebook.com/share/p/1DnHdkn7c7/", or a permalink.php or story.php link.
commentIdstringrequired- Numeric ID of the comment whose replies to list, as returned by the post comments endpoint.
countinteger · 1–10 · default 10- Number of results to return (1–10). Defaults to 10.
cacheMaxAgeHoursinteger- Accept a cached result up to this many hours old, at no cost; its `cachedAt` says when it was fetched. Without one that recent, fresh data is fetched at the normal price. Leave it out to always get fresh data, e.g. 24.
cacheOnlyboolean- Return only a cached result, never fresh data. With `cacheMaxAgeHours`, only one that recent; without it, the latest of any age. Responds 404, at no cost, when there is none, e.g. true.
Response
{ "timeMs": 1840, "creditsCost": 1, "cachedAt": "2026-01-15T09:30:00.000Z", "data": { "nextCursor": "string", "replies": [ { "id": "string", "url": "string", "text": "string", "entities": [ { "type": "string", "id": "string", "name": "string", "url": "string" } ], "createdAt": "string", "author": { "id": "string", "name": "string", "url": "string", "profilePictureUrl": "string" }, "reactionCount": 0, "replyCount": 0, "imageUrl": "string", "parentCommentId": "string" } ] }}Facebook Group API
POST/facebook/get-groupGet a Facebook group’s details as JSON: name, description, privacy, member count, posts per day and month, creation date, admins and group rules.1 credit per requestDetails →
Request body
groupstringrequired- The group: its link, username or numeric ID, e.g. "https://www.facebook.com/groups/3267540656602272" or "3267540656602272".
cacheMaxAgeHoursinteger- Accept a cached result up to this many hours old, at no cost; its `cachedAt` says when it was fetched. Without one that recent, fresh data is fetched at the normal price. Leave it out to always get fresh data, e.g. 24.
cacheOnlyboolean- Return only a cached result, never fresh data. With `cacheMaxAgeHours`, only one that recent; without it, the latest of any age. Responds 404, at no cost, when there is none, e.g. true.
Response
{ "timeMs": 1840, "creditsCost": 1, "cachedAt": "2026-01-15T09:30:00.000Z", "data": { "id": "string", "name": "string", "url": "string", "username": "string", "description": "string", "privacy": "string", "visibility": "string", "memberCount": 0, "newMembersLastWeek": 0, "postsLastDay": 0, "postsLastMonth": 0, "createdAt": "string", "admins": [ { "id": "string", "name": "string", "url": "string", "profilePictureUrl": "string" } ], "moderators": [ { "id": "string", "name": "string", "url": "string", "profilePictureUrl": "string" } ], "locations": [ { "id": "string", "name": "string" } ], "rules": [ { "title": "string", "description": "string" } ], "coverPhotoUrl": "string" }}Facebook Group Posts API
POST/facebook/get-group-postsList the posts of a public Facebook group as JSON, by top, newest or recent activity: text, author, media, reactions, comments and shares for each post.1 credit per requestDetails →
Request body
cursorstring- The previous response's `nextCursor`, to fetch the next page. Omit it for the first page.
groupstringrequired- The group: its link, username or numeric ID, e.g. "https://www.facebook.com/groups/3267540656602272" or "3267540656602272".
sortenum · default top- Post order: "top" (most relevant first), "new" (newest posts first) or "activity" (most recent activity first). Defaults to "top".
- top | new | activity
countinteger · 1–3 · default 3- Number of results to return (1–3). Defaults to 3.
cacheMaxAgeHoursinteger- Accept a cached result up to this many hours old, at no cost; its `cachedAt` says when it was fetched. Without one that recent, fresh data is fetched at the normal price. Leave it out to always get fresh data, e.g. 24.
cacheOnlyboolean- Return only a cached result, never fresh data. With `cacheMaxAgeHours`, only one that recent; without it, the latest of any age. Responds 404, at no cost, when there is none, e.g. true.
Response
{ "timeMs": 1840, "creditsCost": 1, "cachedAt": "2026-01-15T09:30:00.000Z", "data": { "nextCursor": "string", "posts": [ { "id": "string", "url": "string", "text": "string", "entities": [ { "type": "string", "id": "string", "name": "string", "url": "string" } ], "headline": "string", "tagged": [ { "type": "string", "id": "string", "name": "string", "url": "string" } ], "place": { "type": "string", "id": "string", "name": "string", "url": "string" }, "createdAt": "string", "privacy": "string", "author": { "id": "string", "name": "string", "url": "string", "profilePictureUrl": "string" }, "group": { "id": "string", "name": "string", "url": "string" }, "reactionCount": 0, "reactions": [ { "reaction": "string", "count": 0 } ], "commentCount": 0, "shareCount": 0, "media": [ { "type": "photo", "id": "string", "url": "string", "imageUrl": "string", "width": 0, "height": 0, "altText": "string" } ], "link": { "url": "string", "title": "string", "description": "string", "domain": "string", "imageUrl": "string" }, "sharedPost": { "id": "string", "url": "string", "text": "string", "createdAt": "string", "author": { "id": "string", "name": "string", "url": "string", "profilePictureUrl": "string" } }, "poll": { "id": "string", "question": "string", "responseMethod": "string", "state": "string", "options": [ { "id": "string", "text": "string", "voteCount": 0 } ] }, "music": { "id": "string", "title": "string", "artist": "string" } } ] }}Facebook Group Events API
POST/facebook/get-group-eventsList the upcoming or past events of a Facebook group as JSON: name, date, creator, cover image and canceled state.1 credit per requestDetails →
Request body
cursorstring- The previous response's `nextCursor`, to fetch the next page. Omit it for the first page.
groupstringrequired- The group: its link, username or numeric ID, e.g. "https://www.facebook.com/groups/3267540656602272" or "3267540656602272".
timeframeenum · default upcoming- Which events to list: "upcoming" or "past". Defaults to "upcoming".
- upcoming | past
countinteger · 1–8 · default 8- Number of results to return (1–8). Defaults to 8.
cacheMaxAgeHoursinteger- Accept a cached result up to this many hours old, at no cost; its `cachedAt` says when it was fetched. Without one that recent, fresh data is fetched at the normal price. Leave it out to always get fresh data, e.g. 24.
cacheOnlyboolean- Return only a cached result, never fresh data. With `cacheMaxAgeHours`, only one that recent; without it, the latest of any age. Responds 404, at no cost, when there is none, e.g. true.
Response
{ "timeMs": 1840, "creditsCost": 1, "cachedAt": "2026-01-15T09:30:00.000Z", "data": { "nextCursor": "string", "events": [ { "id": "string", "url": "string", "name": "string", "startsAt": "string", "timeText": "string", "isPast": true, "isCanceled": true, "isOnline": true, "isHappeningNow": true, "kind": "string", "parentEventId": "string", "groupId": "string", "place": { "id": "string", "name": "string" }, "city": "string", "attendance": "string", "coverPhotoUrl": "string", "createdBy": { "id": "string", "name": "string", "url": "string", "profilePictureUrl": "string" }, "sharedBy": { "id": "string", "name": "string", "url": "string", "profilePictureUrl": "string" } } ] }}Facebook Event API
POST/facebook/get-eventGet a Facebook event as JSON: name, description, start and end time, venue with address and coordinates, hosts, categories, ticket link and going and interested counts.1 credit per requestDetails →
Request body
eventstringrequired- The event: its link or numeric ID, e.g. "https://www.facebook.com/events/1476422713848230/" or "1476422713848230".
cacheMaxAgeHoursinteger- Accept a cached result up to this many hours old, at no cost; its `cachedAt` says when it was fetched. Without one that recent, fresh data is fetched at the normal price. Leave it out to always get fresh data, e.g. 24.
cacheOnlyboolean- Return only a cached result, never fresh data. With `cacheMaxAgeHours`, only one that recent; without it, the latest of any age. Responds 404, at no cost, when there is none, e.g. true.
Response
{ "timeMs": 1840, "creditsCost": 1, "cachedAt": "2026-01-15T09:30:00.000Z", "data": { "id": "string", "url": "string", "name": "string", "description": "string", "startsAt": "string", "endsAt": "string", "timeText": "string", "isPast": true, "isCanceled": true, "isOnline": true, "kind": "string", "parentEventId": "string", "place": { "id": "string", "name": "string", "address": "string", "latitude": 0, "longitude": 0 }, "city": { "id": "string", "name": "string" }, "hosts": [ { "id": "string", "name": "string", "url": "string", "profilePictureUrl": "string" } ], "categories": [ "string" ], "goingCount": 0, "interestedCount": 0, "ticketUrl": "string", "ticketProvider": "string", "coverPhotoUrl": "string" }}Facebook Events Near Me API
POST/facebook/get-events-by-locationList the events Facebook suggests in any city as JSON: name, date, venue, attendance and cover image, page after page.1 credit per requestDetails →
Request body
cursorstring- The previous response's `nextCursor`, to fetch the next page. Omit it for the first page.
locationIdstringrequired- Numeric ID of the city, as returned by the location search, e.g. "106224666074625" for Austin, Texas.
countinteger · 1–12 · default 12- Number of results to return (1–12). Defaults to 12.
cacheMaxAgeHoursinteger- Accept a cached result up to this many hours old, at no cost; its `cachedAt` says when it was fetched. Without one that recent, fresh data is fetched at the normal price. Leave it out to always get fresh data, e.g. 24.
cacheOnlyboolean- Return only a cached result, never fresh data. With `cacheMaxAgeHours`, only one that recent; without it, the latest of any age. Responds 404, at no cost, when there is none, e.g. true.
Response
{ "timeMs": 1840, "creditsCost": 1, "cachedAt": "2026-01-15T09:30:00.000Z", "data": { "nextCursor": "string", "events": [ { "id": "string", "url": "string", "name": "string", "startsAt": "string", "timeText": "string", "isPast": true, "isCanceled": true, "isOnline": true, "isHappeningNow": true, "kind": "string", "parentEventId": "string", "groupId": "string", "place": { "id": "string", "name": "string" }, "city": "string", "attendance": "string", "coverPhotoUrl": "string", "createdBy": { "id": "string", "name": "string", "url": "string", "profilePictureUrl": "string" }, "sharedBy": { "id": "string", "name": "string", "url": "string", "profilePictureUrl": "string" } } ] }}Facebook Post Search API
POST/facebook/search/postsSearch public Facebook posts by keyword as JSON: text, author, date, photos, videos, links, reactions, comments and shares for every matching post.1 credit per requestDetails →
Request body
cursorstring- The previous response's `nextCursor`, to fetch the next page. Omit it for the first page.
querystringrequired- What to search for, e.g. "electric bikes".
countinteger · 1–8 · default 8- Number of results to return (1–8). Defaults to 8.
cacheMaxAgeHoursinteger- Accept a cached result up to this many hours old, at no cost; its `cachedAt` says when it was fetched. Without one that recent, fresh data is fetched at the normal price. Leave it out to always get fresh data, e.g. 24.
cacheOnlyboolean- Return only a cached result, never fresh data. With `cacheMaxAgeHours`, only one that recent; without it, the latest of any age. Responds 404, at no cost, when there is none, e.g. true.
Response
{ "timeMs": 1840, "creditsCost": 1, "cachedAt": "2026-01-15T09:30:00.000Z", "data": { "nextCursor": "string", "results": [ { "id": "string", "url": "string", "text": "string", "entities": [ { "type": "string", "id": "string", "name": "string", "url": "string" } ], "headline": "string", "tagged": [ { "type": "string", "id": "string", "name": "string", "url": "string" } ], "place": { "type": "string", "id": "string", "name": "string", "url": "string" }, "createdAt": "string", "privacy": "string", "author": { "id": "string", "name": "string", "url": "string", "profilePictureUrl": "string" }, "group": { "id": "string", "name": "string", "url": "string" }, "reactionCount": 0, "reactions": [ { "reaction": "string", "count": 0 } ], "commentCount": 0, "shareCount": 0, "media": [ { "type": "photo", "id": "string", "url": "string", "imageUrl": "string", "width": 0, "height": 0, "altText": "string" } ], "link": { "url": "string", "title": "string", "description": "string", "domain": "string", "imageUrl": "string" }, "sharedPost": { "id": "string", "url": "string", "text": "string", "createdAt": "string", "author": { "id": "string", "name": "string", "url": "string", "profilePictureUrl": "string" } }, "poll": { "id": "string", "question": "string", "responseMethod": "string", "state": "string", "options": [ { "id": "string", "text": "string", "voteCount": 0 } ] }, "music": { "id": "string", "title": "string", "artist": "string" } } ] }}Facebook People Search API
POST/facebook/search/peopleSearch Facebook for people by name or keyword as JSON: name, profile link, picture and the summary line Facebook shows, such as city or work.1 credit per requestDetails →
Request body
cursorstring- The previous response's `nextCursor`, to fetch the next page. Omit it for the first page.
querystringrequired- What to search for, e.g. "electric bikes".
countinteger · 1–8 · default 8- Number of results to return (1–8). Defaults to 8.
cacheMaxAgeHoursinteger- Accept a cached result up to this many hours old, at no cost; its `cachedAt` says when it was fetched. Without one that recent, fresh data is fetched at the normal price. Leave it out to always get fresh data, e.g. 24.
cacheOnlyboolean- Return only a cached result, never fresh data. With `cacheMaxAgeHours`, only one that recent; without it, the latest of any age. Responds 404, at no cost, when there is none, e.g. true.
Response
{ "timeMs": 1840, "creditsCost": 1, "cachedAt": "2026-01-15T09:30:00.000Z", "data": { "nextCursor": "string", "results": [ { "id": "string", "name": "string", "url": "string", "profilePictureUrl": "string", "isVerified": true, "summary": "string" } ] }}Facebook Page Search API
POST/facebook/search/pagesSearch Facebook Pages by keyword as JSON: name, Page link, picture and summary with category, followers, rating and address when shown.1 credit per requestDetails →
Request body
cursorstring- The previous response's `nextCursor`, to fetch the next page. Omit it for the first page.
querystringrequired- What to search for, e.g. "electric bikes".
countinteger · 1–8 · default 8- Number of results to return (1–8). Defaults to 8.
cacheMaxAgeHoursinteger- Accept a cached result up to this many hours old, at no cost; its `cachedAt` says when it was fetched. Without one that recent, fresh data is fetched at the normal price. Leave it out to always get fresh data, e.g. 24.
cacheOnlyboolean- Return only a cached result, never fresh data. With `cacheMaxAgeHours`, only one that recent; without it, the latest of any age. Responds 404, at no cost, when there is none, e.g. true.
Response
{ "timeMs": 1840, "creditsCost": 1, "cachedAt": "2026-01-15T09:30:00.000Z", "data": { "nextCursor": "string", "results": [ { "id": "string", "name": "string", "url": "string", "profilePictureUrl": "string", "isVerified": true, "summary": "string" } ] }}Facebook Group Search API
POST/facebook/search/groupsSearch Facebook groups by keyword as JSON: group name, link, picture and summary with privacy, member count and how many posts a day it gets.1 credit per requestDetails →
Request body
cursorstring- The previous response's `nextCursor`, to fetch the next page. Omit it for the first page.
querystringrequired- What to search for, e.g. "electric bikes".
countinteger · 1–8 · default 8- Number of results to return (1–8). Defaults to 8.
cacheMaxAgeHoursinteger- Accept a cached result up to this many hours old, at no cost; its `cachedAt` says when it was fetched. Without one that recent, fresh data is fetched at the normal price. Leave it out to always get fresh data, e.g. 24.
cacheOnlyboolean- Return only a cached result, never fresh data. With `cacheMaxAgeHours`, only one that recent; without it, the latest of any age. Responds 404, at no cost, when there is none, e.g. true.
Response
{ "timeMs": 1840, "creditsCost": 1, "cachedAt": "2026-01-15T09:30:00.000Z", "data": { "nextCursor": "string", "results": [ { "id": "string", "name": "string", "url": "string", "pictureUrl": "string", "summary": "string" } ] }}Facebook Video Search API
POST/facebook/search/videosSearch Facebook videos and reels by keyword as JSON: title, owner, duration, thumbnail, video file, date and reactions, comments and shares.1 credit per requestDetails →
Request body
cursorstring- The previous response's `nextCursor`, to fetch the next page. Omit it for the first page.
querystringrequired- What to search for, e.g. "electric bikes".
countinteger · 1–8 · default 8- Number of results to return (1–8). Defaults to 8.
cacheMaxAgeHoursinteger- Accept a cached result up to this many hours old, at no cost; its `cachedAt` says when it was fetched. Without one that recent, fresh data is fetched at the normal price. Leave it out to always get fresh data, e.g. 24.
cacheOnlyboolean- Return only a cached result, never fresh data. With `cacheMaxAgeHours`, only one that recent; without it, the latest of any age. Responds 404, at no cost, when there is none, e.g. true.
Response
{ "timeMs": 1840, "creditsCost": 1, "cachedAt": "2026-01-15T09:30:00.000Z", "data": { "nextCursor": "string", "results": [ { "id": "string", "url": "string", "videoUrl": "string", "thumbnailUrl": "string", "durationSeconds": 0, "width": 0, "height": 0, "title": "string", "createdAt": "string", "owner": { "id": "string", "name": "string", "url": "string", "profilePictureUrl": "string" }, "reactionCount": 0, "commentCount": 0, "shareCount": 0 } ] }}Facebook Hashtag API
POST/facebook/search/hashtagList the public posts on a Facebook hashtag page as JSON: text, author, date, media, reactions, comment and share counts.1 credit per requestDetails →
Request body
cursorstring- The previous response's `nextCursor`, to fetch the next page. Omit it for the first page.
hashtagstringrequired- The hashtag, with or without "#", e.g. "travel".
countinteger · 1–8 · default 8- Number of results to return (1–8). Defaults to 8.
cacheMaxAgeHoursinteger- Accept a cached result up to this many hours old, at no cost; its `cachedAt` says when it was fetched. Without one that recent, fresh data is fetched at the normal price. Leave it out to always get fresh data, e.g. 24.
cacheOnlyboolean- Return only a cached result, never fresh data. With `cacheMaxAgeHours`, only one that recent; without it, the latest of any age. Responds 404, at no cost, when there is none, e.g. true.
Response
{ "timeMs": 1840, "creditsCost": 1, "cachedAt": "2026-01-15T09:30:00.000Z", "data": { "nextCursor": "string", "results": [ { "id": "string", "url": "string", "text": "string", "entities": [ { "type": "string", "id": "string", "name": "string", "url": "string" } ], "headline": "string", "tagged": [ { "type": "string", "id": "string", "name": "string", "url": "string" } ], "place": { "type": "string", "id": "string", "name": "string", "url": "string" }, "createdAt": "string", "privacy": "string", "author": { "id": "string", "name": "string", "url": "string", "profilePictureUrl": "string" }, "group": { "id": "string", "name": "string", "url": "string" }, "reactionCount": 0, "reactions": [ { "reaction": "string", "count": 0 } ], "commentCount": 0, "shareCount": 0, "media": [ { "type": "photo", "id": "string", "url": "string", "imageUrl": "string", "width": 0, "height": 0, "altText": "string" } ], "link": { "url": "string", "title": "string", "description": "string", "domain": "string", "imageUrl": "string" }, "sharedPost": { "id": "string", "url": "string", "text": "string", "createdAt": "string", "author": { "id": "string", "name": "string", "url": "string", "profilePictureUrl": "string" } }, "poll": { "id": "string", "question": "string", "responseMethod": "string", "state": "string", "options": [ { "id": "string", "text": "string", "voteCount": 0 } ] }, "music": { "id": "string", "title": "string", "artist": "string" } } ] }}Facebook Location Search API
POST/facebook/search/locationsFind cities and areas by name as JSON, with the ID that lists their events and the latitude and longitude that search their Marketplace.1 credit per requestDetails →
Request body
querystringrequired- Name of the city or area to find, e.g. "Austin".
cacheMaxAgeHoursinteger- Accept a cached result up to this many hours old, at no cost; its `cachedAt` says when it was fetched. Without one that recent, fresh data is fetched at the normal price. Leave it out to always get fresh data, e.g. 24.
cacheOnlyboolean- Return only a cached result, never fresh data. With `cacheMaxAgeHours`, only one that recent; without it, the latest of any age. Responds 404, at no cost, when there is none, e.g. true.
Response
{ "timeMs": 1840, "creditsCost": 1, "cachedAt": "2026-01-15T09:30:00.000Z", "data": { "locations": [ { "id": "string", "name": "string", "subtitle": "string", "address": "string", "latitude": 0, "longitude": 0, "countryCode": "string", "timezone": "string" } ] }}Facebook Marketplace API
POST/facebook/search/marketplaceSearch Facebook Marketplace listings near any location as JSON: title, price, original price, city, photo, seller, date and delivery options.1 credit per requestDetails →
Request body
cursorstring- The previous response's `nextCursor`, to fetch the next page. Omit it for the first page.
querystringrequired- What to search for, e.g. "electric bikes".
latitudenumber · -90–90required- Latitude of the place to search around, e.g. 40.7142.
longitudenumber · -180–180required- Longitude of the place to search around, e.g. -74.0064.
radiusKminteger · 1–500 · default 65- Search radius in kilometers (1–500). Defaults to 65. Facebook shows listings inside it first and can add listings from farther away when few nearby listings match.
minPriceinteger- Lowest price, in the local currency.
maxPriceinteger- Highest price, in the local currency.
countinteger · 1–10 · default 10- Number of results to return (1–10). Defaults to 10.
cacheMaxAgeHoursinteger- Accept a cached result up to this many hours old, at no cost; its `cachedAt` says when it was fetched. Without one that recent, fresh data is fetched at the normal price. Leave it out to always get fresh data, e.g. 24.
cacheOnlyboolean- Return only a cached result, never fresh data. With `cacheMaxAgeHours`, only one that recent; without it, the latest of any age. Responds 404, at no cost, when there is none, e.g. true.
Response
{ "timeMs": 1840, "creditsCost": 1, "cachedAt": "2026-01-15T09:30:00.000Z", "data": { "nextCursor": "string", "listings": [ { "id": "string", "url": "string", "title": "string", "price": { "amount": 0, "formatted": "string" }, "originalPrice": { "amount": 0, "formatted": "string" }, "city": "string", "cityPage": { "id": "string", "name": "string" }, "categoryId": "string", "subtitles": [ "string" ], "imageUrl": "string", "seller": { "id": "string", "name": "string", "url": "string", "profilePictureUrl": "string" }, "createdAt": "string", "isSold": true, "isPending": true, "deliveryTypes": [ "string" ] } ] }}Facebook Marketplace Item API
POST/facebook/get-marketplace-itemGet a Facebook Marketplace listing as JSON: title, description, price, condition, every photo, location, seller and status.1 credit per requestDetails →
Request body
itemstringrequired- The listing: its link or numeric ID, e.g. "https://www.facebook.com/marketplace/item/1649700810182946/" or "1649700810182946".
cacheMaxAgeHoursinteger- Accept a cached result up to this many hours old, at no cost; its `cachedAt` says when it was fetched. Without one that recent, fresh data is fetched at the normal price. Leave it out to always get fresh data, e.g. 24.
cacheOnlyboolean- Return only a cached result, never fresh data. With `cacheMaxAgeHours`, only one that recent; without it, the latest of any age. Responds 404, at no cost, when there is none, e.g. true.
Response
{ "timeMs": 1840, "creditsCost": 1, "cachedAt": "2026-01-15T09:30:00.000Z", "data": { "id": "string", "url": "string", "title": "string", "price": { "amount": 0, "formatted": "string" }, "originalPrice": { "amount": 0, "formatted": "string" }, "city": "string", "categoryId": "string", "imageUrl": "string", "seller": { "id": "string", "name": "string", "url": "string", "profilePictureUrl": "string" }, "createdAt": "string", "isSold": true, "isPending": true, "deliveryTypes": [ "string" ], "postId": "string", "description": "string", "currency": "string", "status": "string", "attributes": [ { "name": "string", "value": "string", "code": "string" } ], "photos": [ { "id": "string", "imageUrl": "string", "width": 0, "height": 0, "altText": "string" } ], "latitude": 0, "longitude": 0, "sellerJoinedAt": "string" }}Why not the official Facebook API?
Meta’s Graph API is built for the Pages and accounts you manage. Reading public content from other Pages needs an approved Meta app and app review, and Meta retired its Groups API in 2024.
No app review
There is no Meta app, business verification or permission review to go through. One Bridgly API key is all you need.
Any public profile, Page or group
Look up profiles, Pages, posts and groups you do not manage, by link or username.
Search included
Search public posts, people, Pages, groups, videos and Marketplace, which the Graph API does not offer.
Your first Facebook call
curl -X POST "https://api.bridgly.app/facebook/get-profile-posts" \ -H "Authorization: Bearer $BRIDGLY_KEY" \ -H "Content-Type: application/json" \ -d '{ "profile": "NASA", "count": 3}'With Bridgly connected to your AI agent, ask:
Get the latest posts from facebook.com/NASA and tell me which one got the most reactions.
What people build with Facebook data
Social listening
Search public posts and videos that mention your brand, and read their comments.
Competitor tracking
Follow what competing Pages post and how much engagement each post gets.
Community research
Find active groups in a niche and read what their members ask about.
Lead and market data
Collect local businesses from Page search, and prices from Marketplace listings.
What the Facebook API does not do
- Only public content is returned. Private profiles, private groups’ posts and friends-only posts are not available.
- Single post lookups take post links. Reel, video and photo links are not supported there; reels come from the reels and video search endpoints.
- Follower, play and share counts are the rounded numbers Facebook shows, such as 28M.
- A page of profile or group posts holds up to 3 posts, the number Facebook serves at a time.
- Marketplace search takes a latitude and longitude; the location search returns them for a city name.
Facebook API questions
Do I need a Meta developer app?
No. You authenticate with your Bridgly API key only. There is no Meta app, app review or access token to manage.
Which inputs do the endpoints take?
Profiles and groups take a link, a username or a numeric ID. Post, comment and reply endpoints take the post link, from a profile, Page or group.
Is Bridgly affiliated with Meta?
No. Bridgly is an independent service and is not affiliated with Meta.
How much does it cost?
One credit per request on every Facebook endpoint. What a credit costs in dollars depends on your pricing package, and goes as low as $1.67 per 1,000 credits at volume.
Your API key and credits work on every platform. See all platforms.
Start pulling Facebook data
100 free credits on business email, no card. Your first call takes a minute.