Facebook Hashtag Posts API
Get Facebook Hashtag Posts data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Powered by LiteScrape, pass parameters such as limit, tag, and retrieve structured data including source post identifier, post text, author display name, source reaction count, and source comment count for topic discovery, and coverage-aware research.
- Selected price
- $0.00015 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Statistics unavailable
- Success rate · 30d
- —Statistics unavailable
Facebook Hashtag Posts API
Prepare your request, then continue with your agent.
Selected price
$0.00015 / call
- Provider
- API
- Pricing
On this page
Overview
Facebook Hashtag Posts API
POST tag with optional limit and continuation_token. posts contains source records, while pagination and coverage describe the current result scope; continuation must retain the same hashtag even when the limit changes.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | JSON body requires tag; optional body fields: continuation_token, limit. Optional query parameter: timeout (greater than 0, at most 90 seconds). |
| Selected implementation | litescrape · Facebook Hashtag Posts |
| Billing | See the pricing area for the selected implementation and request options |
What You Can Build
- Topic discovery: Build source-linked lists for a supported hashtag.
- Coverage-aware research: Keep continuation and completeness indicators with returned posts.
Returned Data
| Field | Meaning |
|---|---|
posts[].post_id |
Source post identifier. |
posts[].text |
Post text. |
posts[].url |
Source post or reel URL. |
posts[].authors[].name |
Author display name. |
posts[].engagement.reaction_count |
Source reaction count. |
posts[].engagement.comment_count |
Source comment count. |
posts[].media[].type |
Media type. |
coverage |
Returned coverage label. |
incomplete |
Source completeness indicator for the returned scope. |
pagination.continuation_token |
Token for the next request within the same hashtag. |
pagination.has_next_page |
Source continuation flag. |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the selected implementation and pricing, then adapt the request below to your target.
- Check the HTTP response and business result before reading optional fields.
curl --request POST \
https://api.openany.si/v1/agent-apis/litescrape/api/facebook/hashtag-posts \
-H "Authorization: Bearer ${OPENANY_API_KEY}" \
-H "Content-Type: application/json" \
--data-raw '{"limit":20,"tag":"nasa"}'
Request and Response Examples
The response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.
Published Facebook Hashtag Posts API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
litescrapeCurrent Facebook Hashtag Posts · POST · View API reference | $0.00015 / call | — | —successP50— |
- Unit price
- $0.00015
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.
Total $0.015
API
- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/litescrape/api/facebook/hashtag-posts- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
tag | JSON request bodybody | string | Yes | Hashtag made of letters, digits or underscores, with an optional leading #. pattern: ^#?[A-Za-z0-9_]{1,100}$ |
timeout | URL query parametersquery | number | No | Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget. maximum: 90 |
continuation_token | JSON request bodybody | string | null | No | Token from pagination.continuation_token in the preceding response. Keep the same hashtag; limit may change. Tokens can expire. |
limit | JSON request bodybody | integer | No | Maximum posts per response; fewer may be available. minimum: 1 · maximum: 20 |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
coveragestringincompletebooleanpaginationobjectcontinuation_tokenstringhas_next_pageboolean
postsobject[]authorsobject[]idstringnamestringurlstring
creation_timeintegerengagementobjectcomment_countintegerreaction_countintegershare_countinteger
mediaobject[]heightintegeridstringimageobjecturistring
playable_duration_in_msintegerthumbnailImageobjecturistring
typestringwidthinteger
post_idstringtextstringurlstring
source_urlstringsubmit_feedback_for_this_response_herestring
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 2
Review these request fields before running. Keep the published provider and request method unchanged.
timeout- Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.
body- Get public Facebook posts for a hashtag.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/litescrape/api/facebook/hashtag-posts' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ --data-raw '{ "limit": 20, "tag": "nasa" }'Check the response
Sample response · Documented HTTP 200
Sample response{ "coverage": "initial", "incomplete": true, "pagination": { "continuation_token": "h1.eyJ2IjoxLCJ0YWciOiJuYXNhIiwiY3Vyc29yIjoie1wiY3VycmVudF9zZWN0aW9uXCI6MTAsXCJzZXJpYWxpemVkX3NlY3Rpb25fY3Vyc29yXCI6XCJ7XFxcInNlcmlhbGl6ZWRfYnJvd3NlX2N1cnNvclxcXCI6XFxcIkFib09jSThFVFkzT2pXeDRYM0dpUHJEbERyWGVzalVxU0xUZl9qWVNaS0hpNWU3VzFZQl9mSHlfQktxdWp4VG15MHFnQ1IzbGc2XzI2YmpYc1NBUGllTUVTTTQ1YzQ0UlJ1bHpzeTE2Ry15V0hLd3Z2REg2Q3Q5dFdZMElqQ2wwYTVLSk5LZkxBazNKOGpvZVpGRHhPRF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yMjE0MzUxMjY0NTE3MDMwN10sXCJxdWlja19wcm9tb3Rpb25fZmJpZHNfc2hvd25cIjpbXSxcIm9yZGVyZWRfc2VjdGlvbnNcIjpbXCJ0b3BfcG9zdHNcIl0sXCJyZWVsc19zaG93blwiOltdLFwicmVlbHNfZmV0Y2hlZFwiOltdfSIsInNlZW5faWRzIjpbIjEyMjE0MzUxMjY0NTE3MDMwNyJdfQ", "has_next_page": true }, "posts": [ { "authors": [ { "id": "61585109211804", "name": "Beyond the Moon", "url": "https://www.facebook.com/BeyondtheMoon2" } ], "creation_time": 1791410449, "engagement": { "comment_count": 43, "reaction_count": 2206, "share_count": 41 }, "media": [ { "height": 1280, "id": "1567983411297824", "image": { "uri": "https://scontent-sjc6-1.xx.fbcdn.net/v/t15.5256-10/839098836_1104124862589065_3427655015503422647_n.jpg?stp=dst-jpg_tt6&cstp=mx720x1280&ctp=p565x565&_nc_cat=109&ccb=1-7&_nc_sid=5fad0e&_nc_ohc=Hj5HNvUS2TYQ7kNvwF1VZ9f&_nc_oc=Adq7t1EnKcE0GwdevpZp--T34QnLdJRjlcE1nskZfA65NVf00qGPNyC7y6DKC2pkYvE&_nc_zt=23&_nc_ht=scontent-sjc6-1.xx&_nc_gid=pjDnab9VlHowqgjxPkweKw&_nc_ss=7b289&oh=00_AQPc8lPcUEqpqn4zSy852fW4qvmRj9f6xjI1NpkL4NwARQ&oe=6AD1A5AF" }, "playable_duration_in_ms": 10000, "thumbnailImage": { "uri": "https://scontent-sjc6-1.xx.fbcdn.net/v/t15.5256-10/839098836_1104124862589065_3427655015503422647_n.jpg?stp=dst-jpg_tt6&cstp=mx720x1280&ctp=s960x960&_nc_cat=109&ccb=1-7&_nc_sid=5fad0e&_nc_ohc=Hj5HNvUS2TYQ7kNvwF1VZ9f&_nc_oc=Adq7t1EnKcE0GwdevpZp--T34QnLdJRjlcE1nskZfA65NVf00qGPNyC7y6DKC2pkYvE&_nc_zt=23&_nc_ht=scontent-sjc6-1.xx&_nc_gid=pjDnab9VlHowqgjxPkweKw&_nc_ss=7b289&oh=00_AQPc8lPcUEqpqn4zSy852fW4qvmRj9f6xjI1NpkL4NwARQ&oe=6AD1A5AF" }, "type": "Video", "width": 720 } ], "post_id": "122143512645170307", "text": "An astronaut kneels alone in the moondust, turning a billion-year-old moon rock over in his gloved hands while Earth hangs in the black sky above. Every stone up there is a page from the universe diary — and he is reading it live, 384,000 km from home. If you could bring back ONE thing from the Moon, what would it be? #MoonLanding #NASA #SpaceExploration #Astronaut #LunarMission", "url": "https://www.facebook.com/reel/1567983411297824/" } ], "source_url": "https://www.facebook.com/hashtag/nasa/", "submit_feedback_for_this_response_here": "https://ecll-litescrape-v3--site-api-web.modal.run/api/feedback/example-not-a-valid-token" }