FACEBOOK SCRAPER API

Facebook Hashtag API

List the public posts on a Facebook hashtag page, as Facebook ranks them, with their text, author, date, media, reactions, comment and share counts. Page through the posts with `cursor`.

Endpoint
POST /facebook/search/hashtag
Price
1 credit per request
SDK
client.facebook.searchHashtag()
MCP tool
facebook_search_hashtag
Terminal
curl -X POST "https://api.bridgly.app/facebook/search/hashtag" \
-H "Authorization: Bearer $BRIDGLY_KEY" \
-H "Content-Type: application/json" \
-d '{
"hashtag": "travel",
"count": 8
}'
[ REQUEST AND RESPONSE ]

What does the Facebook Hashtag API return?

List the public posts on a Facebook hashtag page as JSON: text, author, date, media, reactions, comment and share counts. Every response has the same envelope: the result in data, plus timeMs and the creditsCost of the call.

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.

Example response

200 OK · application/json
{
"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"
}
}
]
}
}
[ USE CASES ]

What can you build with the Facebook Hashtag API?

Track trends

Follow what people post under a hashtag.

Monitor campaigns

Collect the posts that use your campaign hashtag.

Find creators

Discover the people and Pages active on a topic.

[ FAQ ]

Facebook Hashtag API questions

Do I include the # sign?

Either works: "travel" and "#travel" return the same posts.

How do I use the Facebook Hashtag API?

Send a POST request to https://api.bridgly.app/facebook/search/hashtag with hashtag in the JSON body and your API key in the Authorization header. In the TypeScript SDK, call client.facebook.searchHashtag(). AI agents connected to Bridgly over MCP can call the facebook_search_hashtag tool.

How much does the Facebook Hashtag API cost?

Costs 1 credit per request. Credits cost $2.00 per 1,000 on pay-as-you-go and as low as $1.67 per 1,000 at volume. New accounts on a business email start with 100 free credits, and failed requests are never charged.

Try the Facebook Hashtag API

100 free credits on business email, no card. Your first call takes a minute.

APIMCPSDKCLI
free credits

On business email signup. No credit card required.

Start free with 100 credits