PulseEmetrics

Facebook

12 endpoints. All requests need an x-api-key header.

GET/v1/facebook/group

Facebook Group Info

Fetches the public information shown on a Facebook group's About page, including its description, privacy and visibility, member and activity counts, categories, administrators and moderators when Facebook exposes them, group history, and rules. Provide either url or group_id.

Cost: 5 credits live · 1 credit when served from cache

Query parameters

NameTypeDescription
urlstringThe Facebook group URL. Group sub-page URLs such as /about work too. Example: https://www.facebook.com/groups/366190054572553/about
group_idstringThe numeric Facebook group ID. Provide this instead of url if you already have it. Example: 366190054572553
freshbooleanSet to true to skip the cache and fetch live data at the live price.

Example

curl "https://api.pulseemetrics.com/v1/facebook/group?url=https%3A%2F%2Fwww.facebook.com%2Fgroups%2F366190054572553%2Fabout&group_id=366190054572553" \
  -H "x-api-key: $PULSE_KEY"
Try it in the playground →
JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/facebook/group?url=https%3A%2F%2Fwww.facebook.com%2Fgroups%2F366190054572553%2Fabout&group_id=366190054572553", {
  headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();
import os, requests

r = requests.get(
    "https://api.pulseemetrics.com/v1/facebook/group",
    params={"url": "https://www.facebook.com/groups/366190054572553/about", "group_id": "366190054572553"},
    headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())
GET/v1/facebook/group/posts

Facebook Group Posts

Fetches posts from a public Facebook group, limited to 3 posts per page due to API limitations. Each post includes id, text, url, reactionCount, commentCount, publishTime, videoDetails, and topComments. Results are chronological by default. Supports TOP_POSTS, RECENT_ACTIVITY, CHRONOLOGICAL, and CHRONOLOGICAL_LISTINGS with cursor-based pagination.

Cost: 5 credits live · 1 credit when served from cache

Query parameters

NameTypeDescription
urlstringThe URL of the group Example: https://www.facebook.com/groups/1270525996445602/
group_idstringThe ID of the group Example: 742354120555345
sort_bystringHow to sort the posts. Defaults to CHRONOLOGICAL. One of: TOP_POSTSRECENT_ACTIVITYCHRONOLOGICALCHRONOLOGICAL_LISTINGS Example: CHRONOLOGICAL
cursorstringThe cursor to paginate to the next page Example: AQHRBjJCelNvdGRjH8s2j-6...
freshbooleanSet to true to skip the cache and fetch live data at the live price.

Example

curl "https://api.pulseemetrics.com/v1/facebook/group/posts" \
  -H "x-api-key: $PULSE_KEY"
Try it in the playground →
JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/facebook/group/posts", {
  headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();
import os, requests

r = requests.get(
    "https://api.pulseemetrics.com/v1/facebook/group/posts",
    headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())
GET/v1/facebook/post

Post

Retrieves a single public Facebook post or reel by URL. Returns post_id, like_count, comment_count, share_count, view_count, description, creation_time, and author details, including the author handle when Facebook exposes a vanity profile URL. For some reels, Facebook does not expose the same view count on the individual post page that it shows on the profile Reels grid. This value can be null or lower than the public Reels badge. If you need the public Reel badge count, call /v1/facebook/profi

Cost: 20 credits live · 1 credit when served from cache

Query parameters

NameTypeDescription
allow_long_transcriptionbooleanPaid opt-in, enabled only by the literal query value 'true' (allow_long_transcription=true). Defaults to false when omitted; other values do not enable paid mode. By default, successful AI transcription of videos up to 120 seconds (two minutes, inclusive) costs a flat 1 credit per request. Over 120
get_transcriptbooleanTranscription is opt-in via get_transcript=true. Default short AI (up to 120 seconds, inclusive) is included in the existing base endpoint price, with no extra AI fee. By default, successful AI transcription of videos up to 120 seconds (two minutes, inclusive) costs a flat 1 credit per request. Over
urlrequiredstringThe URL of the post to get Example: https://www.facebook.com/reel/1535656380759655
freshbooleanSet to true to skip the cache and fetch live data at the live price.

Example

curl "https://api.pulseemetrics.com/v1/facebook/post?url=https%3A%2F%2Fwww.facebook.com%2Freel%2F1535656380759655" \
  -H "x-api-key: $PULSE_KEY"
Try it in the playground →
JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/facebook/post?url=https%3A%2F%2Fwww.facebook.com%2Freel%2F1535656380759655", {
  headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();
import os, requests

r = requests.get(
    "https://api.pulseemetrics.com/v1/facebook/post",
    params={"url": "https://www.facebook.com/reel/1535656380759655"},
    headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())
GET/v1/facebook/post/comment/replies

Comment Replies

Get the replies to a comment.

Cost: 5 credits live · 1 credit when served from cache

Query parameters

NameTypeDescription
feedback_idrequiredstringThe *feedback_id* of the comment. Be careful, this is not the comment id. You can get the feedback_id from the /v1/facebook/post/comments endpoint. Example: ZmVlZGJhY2s6MzM3MzYxMzI5OTQ4Nzc1NV8xOTI5NTk0OTE3Njg3MTcz
expansion_tokenrequiredstringThe expansion_token of the comment. You can get the expansion_token from the /v1/facebook/post/comments endpoint. Example: MjoxNzc4NjM1MDM3OgF_JaMa3kMP9RIWC....
cursorstringThe cursor to paginate to the next page Example: MToxNzc4NjM1MTIyOgF_w6rc3oH0HrKM2dLjla6A...
freshbooleanSet to true to skip the cache and fetch live data at the live price.

Example

curl "https://api.pulseemetrics.com/v1/facebook/post/comment/replies?feedback_id=ZmVlZGJhY2s6MzM3MzYxMzI5OTQ4Nzc1NV8xOTI5NTk0OTE3Njg3MTcz&expansion_token=MjoxNzc4NjM1MDM3OgF_JaMa3kMP9RIWC...." \
  -H "x-api-key: $PULSE_KEY"
Try it in the playground →
JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/facebook/post/comment/replies?feedback_id=ZmVlZGJhY2s6MzM3MzYxMzI5OTQ4Nzc1NV8xOTI5NTk0OTE3Njg3MTcz&expansion_token=MjoxNzc4NjM1MDM3OgF_JaMa3kMP9RIWC....", {
  headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();
import os, requests

r = requests.get(
    "https://api.pulseemetrics.com/v1/facebook/post/comment/replies",
    params={"feedback_id": "ZmVlZGJhY2s6MzM3MzYxMzI5OTQ4Nzc1NV8xOTI5NTk0OTE3Njg3MTcz", "expansion_token": "MjoxNzc4NjM1MDM3OgF_JaMa3kMP9RIWC...."},
    headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())
GET/v1/facebook/post/comments

Comments

Fetches comments from a Facebook post or reel with cursor-based pagination. Each comment includes id, text, created_at, reply_count, reaction_count, and author details with name and profile_picture. Passing a feedback_id instead of a url significantly speeds up the request.

Cost: 5 credits live · 1 credit when served from cache

Query parameters

NameTypeDescription
urlstringFacebook post URL (or reel URL) Example: https://www.facebook.com/reel/753347914167361
feedback_idstringUsing feedback_id (instead of url) will *really* speed up the request. You can get the feedback_id when you make a request to /v1/facebook/post. Example: ZmVlZGJhY2s6MTQ0NzY1NjMyMzM4Mzg0OA==
cursorstringCursor to get more comments. Get 'cursor' from previous response. Example: MToxNzU3MTA2NzYyOgF1P1VkxpkA9Ds4...
freshbooleanSet to true to skip the cache and fetch live data at the live price.

Example

curl "https://api.pulseemetrics.com/v1/facebook/post/comments" \
  -H "x-api-key: $PULSE_KEY"
Try it in the playground →
JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/facebook/post/comments", {
  headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();
import os, requests

r = requests.get(
    "https://api.pulseemetrics.com/v1/facebook/post/comments",
    headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())
GET/v1/facebook/post/transcript

Transcript

Returns the transcript text for a Facebook video post or reel. Existing transcripts or native captions are used first and cost 1 credit only when returned. Otherwise the public video is transcribed using AI. No transcript costs 0 credits. By default, successful AI transcription of videos up to 120 seconds (two minutes, inclusive) costs a flat 1 credit per request. Over 120 seconds, videos cannot be AI-transcribed by default. Set allow_long_transcription=true to opt into paid AI with no fixed dur

Cost: 5 credits live · 1 credit when served from cache

Query parameters

NameTypeDescription
allow_long_transcriptionbooleanPaid opt-in, enabled only by the literal query value 'true' (allow_long_transcription=true). Defaults to false when omitted; other values do not enable paid mode. By default, successful AI transcription of videos up to 120 seconds (two minutes, inclusive) costs a flat 1 credit per request. Over 120
urlrequiredstringFacebook post URL
freshbooleanSet to true to skip the cache and fetch live data at the live price.

Example

curl "https://api.pulseemetrics.com/v1/facebook/post/transcript?allow_long_transcription=value&url=value" \
  -H "x-api-key: $PULSE_KEY"
Try it in the playground →
JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/facebook/post/transcript?allow_long_transcription=value&url=value", {
  headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();
import os, requests

r = requests.get(
    "https://api.pulseemetrics.com/v1/facebook/post/transcript",
    params={"allow_long_transcription": "value", "url": "value"},
    headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())
GET/v1/facebook/profile

Profile

Retrieves public Facebook page details including category, address, email, phone, website, services, priceRange, rating, likeCount, talkingAboutCount, and followerCount. talkingAboutCount is nullable and only returned when Facebook exposes it publicly. Also returns adLibrary status with the page's ad activity and pageId. Optionally includes businessHours when get_business_hours is set to true. Contact fields come from the submitted public profile. To request removal of your own information from

Cost: 5 credits live · 1 credit when served from cache

Query parameters

NameTypeDescription
urlrequiredstringFacebook profile URL Example: https://www.facebook.com/mantraindianfolsom
get_business_hoursstringGet the business's hours Example: true
include_gated_profilestringWhen true, returns limited public fields for gated or age-restricted profiles. Ignored for normal public profiles — those still return the full response. Example: true
freshbooleanSet to true to skip the cache and fetch live data at the live price.

Example

curl "https://api.pulseemetrics.com/v1/facebook/profile?url=https%3A%2F%2Fwww.facebook.com%2Fmantraindianfolsom" \
  -H "x-api-key: $PULSE_KEY"
Try it in the playground →
JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/facebook/profile?url=https%3A%2F%2Fwww.facebook.com%2Fmantraindianfolsom", {
  headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();
import os, requests

r = requests.get(
    "https://api.pulseemetrics.com/v1/facebook/profile",
    params={"url": "https://www.facebook.com/mantraindianfolsom"},
    headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())
GET/v1/facebook/profile/events

Profile Events

Get the events of a public Facebook page

Cost: 5 credits live · 1 credit when served from cache

Query parameters

NameTypeDescription
urlrequiredstringThe URL of the public Facebook page Example: https://www.facebook.com/brickyardoldtown
cursorstringThe cursor to paginate to get more events Example: eyJpZCI6IllYQndYMk52Ykd......
freshbooleanSet to true to skip the cache and fetch live data at the live price.

Example

curl "https://api.pulseemetrics.com/v1/facebook/profile/events?url=https%3A%2F%2Fwww.facebook.com%2Fbrickyardoldtown&cursor=eyJpZCI6IllYQndYMk52Ykd......" \
  -H "x-api-key: $PULSE_KEY"
Try it in the playground →
JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/facebook/profile/events?url=https%3A%2F%2Fwww.facebook.com%2Fbrickyardoldtown&cursor=eyJpZCI6IllYQndYMk52Ykd......", {
  headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();
import os, requests

r = requests.get(
    "https://api.pulseemetrics.com/v1/facebook/profile/events",
    params={"url": "https://www.facebook.com/brickyardoldtown", "cursor": "eyJpZCI6IllYQndYMk52Ykd......"},
    headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())
GET/v1/facebook/profile/photos

Profile Photos

Fetches photos from a public Facebook page with pagination support. Each photo includes photo_id, accessibility_caption, viewer_image with uri, height, and width, plus a thumbnail and direct url. Pagination requires passing both next_page_id and cursor from the previous response.

Cost: 5 credits live · 1 credit when served from cache

Query parameters

NameTypeDescription
urlrequiredstringFacebook page URL Example: https://www.facebook.com/Spurs
next_page_idstringTo paginate through to the next page Example: YXBwX2NvbGxlY3Rpb2......
cursorstringTo paginate through to the next page Example: AQHSRM68MZ-AJKGSgRb0......
freshbooleanSet to true to skip the cache and fetch live data at the live price.

Example

curl "https://api.pulseemetrics.com/v1/facebook/profile/photos?url=https%3A%2F%2Fwww.facebook.com%2FSpurs" \
  -H "x-api-key: $PULSE_KEY"
Try it in the playground →
JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/facebook/profile/photos?url=https%3A%2F%2Fwww.facebook.com%2FSpurs", {
  headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();
import os, requests

r = requests.get(
    "https://api.pulseemetrics.com/v1/facebook/profile/photos",
    params={"url": "https://www.facebook.com/Spurs"},
    headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())
GET/v1/facebook/profile/posts

Profile Posts

Returns publicly visible Facebook profile posts, limited to 3 posts per page due to API limitations. Each post includes id, text, url, reactionCount, commentCount, publishTime, videoDetails with sdUrl, hdUrl, and thumbnailUrl, plus topComments. Accepts either a url or pageId parameter, where pageId is faster.

Cost: 5 credits live · 1 credit when served from cache

Query parameters

NameTypeDescription
urlstringFacebook profile URL Example: https://www.facebook.com/pacemorby
pageIdstringFacebook profile page id Example: 100063669491743
cursorstringTo paginate through the posts Example: Cg8Ob3JnYW5pY19jdXJzb3IJA...
freshbooleanSet to true to skip the cache and fetch live data at the live price.

Example

curl "https://api.pulseemetrics.com/v1/facebook/profile/posts" \
  -H "x-api-key: $PULSE_KEY"
Try it in the playground →
JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/facebook/profile/posts", {
  headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();
import os, requests

r = requests.get(
    "https://api.pulseemetrics.com/v1/facebook/profile/posts",
    headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())
GET/v1/facebook/profile/reels

Profile Reels

Fetches up to 10 reels per request from a public Facebook page. Each reel includes id, url, view_count, description, creation_time, video_url, thumbnail, play_time_in_ms, and music details. Pagination requires passing both next_page_id and cursor from the previous response.

Cost: 5 credits live · 1 credit when served from cache

Query parameters

NameTypeDescription
urlrequiredstringFacebook page URL Example: https://www.facebook.com/pacemorby
next_page_idstringTo paginate through to the next page Example: YXBwX2NvbGxlY3Rpb2......
cursorstringTo paginate through to the next page Example: AQHSFZtzkBauSDHgy8y......
freshbooleanSet to true to skip the cache and fetch live data at the live price.

Example

curl "https://api.pulseemetrics.com/v1/facebook/profile/reels?url=https%3A%2F%2Fwww.facebook.com%2Fpacemorby" \
  -H "x-api-key: $PULSE_KEY"
Try it in the playground →
JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/facebook/profile/reels?url=https%3A%2F%2Fwww.facebook.com%2Fpacemorby", {
  headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();
import os, requests

r = requests.get(
    "https://api.pulseemetrics.com/v1/facebook/profile/reels",
    params={"url": "https://www.facebook.com/pacemorby"},
    headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())
GET/v1/facebook/search/videos

Search Videos

Searches Facebook's native public video search without a logged-in account and returns matching videos and Reels. This is not Google-indexed discovery or general Facebook text/photo-post search. Results follow Facebook's ranking and public availability, so coverage and ordering are not exhaustive or guaranteed. Requests can take several seconds; use a client timeout of at least 30 seconds. Temporary Facebook restrictions or upstream timeouts can return an uncharged error. Pass the returned curso

Cost: 5 credits live · 1 credit when served from cache

Query parameters

NameTypeDescription
queryrequiredstringThe keyword or phrase to search for Example: ai agents
cursorstringThe opaque cursor returned by the previous response. Keep the query unchanged when paginating. Stop when cursor is null or has_more is false. Example: eyJ...
freshbooleanSet to true to skip the cache and fetch live data at the live price.

Example

curl "https://api.pulseemetrics.com/v1/facebook/search/videos?query=ai%20agents&cursor=eyJ..." \
  -H "x-api-key: $PULSE_KEY"
Try it in the playground →
JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/facebook/search/videos?query=ai%20agents&cursor=eyJ...", {
  headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();
import os, requests

r = requests.get(
    "https://api.pulseemetrics.com/v1/facebook/search/videos",
    params={"query": "ai agents", "cursor": "eyJ..."},
    headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())