Facebook Page Search API
Search Facebook Page via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Powered by LiteScrape, pass parameters such as ad_type, country, limit, and retrieve structured data including source suggestion identifier, source display name, source alias, entity type, and source category label for page discovery, and catalogue matching.
- Selected price
- $0.00015 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- 0Selected implementation · last 30 days
- Success rate · 30d
- —No requests in this period
Facebook Page Search API
Prepare your request, then continue with your agent.
Selected price
$0.00015 / call
- Provider
- API
- Pricing
On this page
Overview
Facebook Page Search API
The JSON body requires query and accepts country, ad_type and limit. pages contains source suggestion records; source=page_suggestions identifies this scope, and entity_type is preserved as returned rather than inferred from the page name.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | JSON body requires query; optional body fields: ad_type, country, limit. Optional query parameter: timeout (greater than 0, at most 90 seconds). |
| Selected implementation | litescrape · Facebook Search Pages |
| Billing | See the pricing area for the selected implementation and request options |
What You Can Build
- Page discovery: Build bounded source suggestion lists for a name or phrase.
- Catalogue matching: Retain entity classification and platform-specific social counts.
Returned Data
| Field | Meaning |
|---|---|
pages[].page_id |
Source suggestion identifier. |
pages[].name |
Source display name. |
pages[].page_alias |
Source alias. |
pages[].entity_type |
Entity classification returned by the source. |
pages[].category |
Source category label. |
pages[].likes |
Source like count. |
pages[].ig_username |
Associated Instagram username when returned. |
pages[].ig_followers |
Associated Instagram follower count when returned. |
pages[].verification |
Source verification label. |
source |
Result-scope label. |
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/search-pages \
-H "Authorization: Bearer ${OPENANY_API_KEY}" \
-H "Content-Type: application/json" \
--data-raw '{"ad_type":"ALL","country":"US","limit":15,"query":"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 Page Search 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 Search Pages · POST · View API reference | $0.00015 / call | 0 | —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/search-pages- 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 |
|---|---|---|---|---|
query | JSON request bodybody | string | Yes | Page name or phrase to look up. minLength: 1 · maxLength: 200 · pattern: ^\S(?:.*\S)?$ |
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 |
ad_type | JSON request bodybody | string | No | Ad category for Page suggestions: all ads or political and issue ads. enum: "ALL", "POLITICAL_AND_ISSUE_ADS" |
country | JSON request bodybody | string | No | Two-letter country preference for Page suggestions, such as US, GB or CA. Does not restrict a Page's location. pattern: ^[A-Z]{2}$ |
limit | JSON request bodybody | integer | No | Maximum Page suggestions per response; fewer may be available. minimum: 1 · maximum: 15 |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
pagesobject[]categorystringentity_typestringig_followersinteger | nullig_usernamestring | nullimage_uristringlikesintegernamestringpage_aliasstringpage_idstringverificationstring
sourcestringsource_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- Search public Facebook Pages by name.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/litescrape/api/facebook/search-pages' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ --data-raw '{ "ad_type": "ALL", "country": "US", "limit": 15, "query": "NASA" }'Check the response
Sample response · Documented HTTP 200
Sample response{ "pages": [ { "category": "Government Organization", "entity_type": "PERSON_PROFILE", "ig_followers": 104331988, "ig_username": "nasa", "image_uri": "https://scontent-lax3-1.xx.fbcdn.net/v/t39.30808-1/243095782_416661036495945_3843362260429099279_n.png?stp=dst-png&cstp=mx800x800&ctp=s200x200&_nc_cat=1&ccb=1-7&_nc_sid=418b77&_nc_ohc=4lGeUjpKYjEQ7kNvwEcNGtv&_nc_oc=Adp4cV4Y4Usixn6YYSBl6Wy1HzKXOO0e-rOtYVYaD1TwUyucjEzh4R6ftkZHXaDHQ7g&_nc_zt=24&_nc_ht=scontent-lax3-1.xx&_nc_gid=K-EwX4gvmurTdLZNUKXkug&_nc_ss=7b289&oh=00_AQMjIAaeAC9Y9AnwKWFU0_z6yxsu9JBySiB5yh3g0QXk9g&oe=6AD17C15", "likes": 28716977, "name": "NASA - National Aeronautics and Space Administration", "page_alias": "NASA", "page_id": "54971236771", "verification": "BLUE_VERIFIED" }, { "category": "Science Website", "entity_type": "PERSON_PROFILE", "ig_followers": 2144800, "ig_username": "nasaearth", "image_uri": "https://scontent-lax3-1.xx.fbcdn.net/v/t39.30808-1/658893230_1365685015607326_7541834145676870338_n.avif?stp=dst-avif&cstp=mx2048x1366&ctp=p200x200&_nc_cat=104&ccb=1-7&_nc_sid=418b77&_nc_ohc=yYeIqwd1hT0Q7kNvwHWoSZh&_nc_oc=AdqeQSXQdorPZndVZ4PZUUgCmYYn7tBEmHdpxGsSd0WHdL9IHaIOkhjKzIg_oXdPiX0&_nc_zt=24&_nc_ht=scontent-lax3-1.xx&_nc_gid=K-EwX4gvmurTdLZNUKXkug&_nc_ss=7b289&oh=00_AQPiUxJ_wW2f66ZiceeRBAZRC8H9U29sTtEQWN3ImrvTIQ&oe=6AD18D54", "likes": 11299448, "name": "NASA Earth", "page_alias": "nasaearth", "page_id": "57242657138", "verification": "BLUE_VERIFIED" }, { "category": "Public Figure", "entity_type": "PERSON_PROFILE", "ig_followers": 1183394, "ig_username": "joshnasar", "image_uri": "https://scontent-lax3-1.xx.fbcdn.net/v/t39.30808-1/324025154_1323529671731122_9213150886294789590_n.jpg?stp=dst-jpg_tt6&cstp=mx828x444&ctp=p200x200&_nc_cat=1&ccb=1-7&_nc_sid=418b77&_nc_ohc=IB4bbUtwkYYQ7kNvwFWBhk6&_nc_oc=Adr6W0_txT185iMxxpNikbjYZxEoPtW33Y6IksKHcJJngTH3Y89D9Vzm_ROcDIAN934&_nc_zt=24&_nc_ht=scontent-lax3-1.xx&_nc_gid=K-EwX4gvmurTdLZNUKXkug&_nc_ss=7b289&oh=00_AQOchbO6p_l0KO8HPZbpx-xsS5c6EUuBxuN5OJrMwHHzwA&oe=6AD16E69", "likes": 3508125, "name": "Josh Nasar", "page_alias": "joshuanasarfanpage", "page_id": "106558772714844", "verification": "BLUE_VERIFIED" }, { "category": "Public Figure", "entity_type": "PERSON_PROFILE", "ig_followers": 2718081, "ig_username": "nasasolarsystem", "image_uri": "https://scontent-lax7-1.xx.fbcdn.net/v/t39.30808-1/241260165_217120870450866_7331285613217075250_n.png?stp=dst-png&cstp=mx1214x1214&ctp=s200x200&_nc_cat=105&ccb=1-7&_nc_sid=418b77&_nc_ohc=EE6dP_C3cQIQ7kNvwHUZ1ba&_nc_oc=Adq-YRMZCwRhv-cI_8pal2c343fvlfxNkBSrwQ8j1HgSBFcmwMshv9k6RjEqHBOceb4&_nc_zt=24&_nc_ht=scontent-lax7-1.xx&_nc_gid=K-EwX4gvmurTdLZNUKXkug&_nc_ss=7b289&oh=00_AQPnNSMq_O2qq2gj7xnLaOra1wFPaZeUour1tInHCaCmjQ&oe=6AD162C8", "likes": 5109426, "name": "NASA Solar System Exploration", "page_alias": "NASASolarSystem", "page_id": "79209882917", "verification": "BLUE_VERIFIED" }, { "category": "Government Organization", "entity_type": "PERSON_PROFILE", "ig_followers": 5567694, "ig_username": "nasaartemis", "image_uri": "https://scontent-lax3-1.xx.fbcdn.net/v/t39.30808-1/242064401_4441058882627329_554584327804861439_n.jpg?stp=dst-jpg_tt6&cstp=mx1079x1079&ctp=s200x200&_nc_cat=109&ccb=1-7&_nc_sid=418b77&_nc_ohc=iirzmHV7DXAQ7kNvwGltkmf&_nc_oc=Adoi17XU04HehF1ngnjJvJz4q1Ncz_BZcLGqUMLiNU-mz2a_cg6qEZ66GO7l6psx3EY&_nc_zt=24&_nc_ht=scontent-lax3-1.xx&_nc_gid=K-EwX4gvmurTdLZNUKXkug&_nc_ss=7b289&oh=00_AQMlOTCKeSTkx4wdWxUxt07hACfpMIyWaLDNSZ-ia-IXFw&oe=6AD18235", "likes": 4170274, "name": "NASA Artemis", "page_alias": "NASAArtemis", "page_id": "202876413112285", "verification": "BLUE_VERIFIED" }, { "category": "Political Party", "entity_type": "PERSON_PROFILE", "ig_followers": 7709, "ig_username": "nasastranka", "image_uri": "https://scontent-lax3-1.xx.fbcdn.net/v/t39.30808-1/793405669_1658358675653081_4344043038397180175_n.jpg?stp=dst-jpg_tt6&cstp=mx1200x1200&ctp=s200x200&_nc_cat=102&ccb=1-7&_nc_sid=418b77&_nc_ohc=AELls3xnmp4Q7kNvwHHYKgi&_nc_oc=AdpoleLb7w9KvcefzAs5Zl1M5LrpDQOVoQkc58vwIACw7svCpRzpxHpVHFGLrPBybFw&_nc_zt=24&_nc_ht=scontent-lax3-1.xx&_nc_gid=K-EwX4gvmurTdLZNUKXkug&_nc_ss=7b289&oh=00_AQNh62lYxp2RQIRczCQTGkAQN4h-Bti5gPculOibjr-Lyw&oe=6AD18FDB", "likes": 59627, "name": "Naša stranka", "page_alias": "nasastranka.ba", "page_id": "493542940657979", "verification": "BLUE_VERIFIED" }, { "category": "Product/service", "entity_type": "PERSON_PROFILE", "ig_followers": 2205, "ig_username": "nasalpump.shop", "image_uri": "https://scontent-lax3-1.xx.fbcdn.net/v/t39.30808-1/615086595_122101952301203386_172418350720249438_n.jpg?stp=dst-jpg_tt6&cstp=mx1440x1440&ctp=s200x200&_nc_cat=102&ccb=1-7&_nc_sid=418b77&_nc_ohc=Yu9x_xKzxKcQ7kNvwHQWgPd&_nc_oc=AdrW5m57qMyvntIdY8xYvhjXkDe9B-CMEgxWT6esqhpLxpTeKSc3g-1gekSwucJ8fFM&_nc_zt=24&_nc_ht=scontent-lax3-1.xx&_nc_gid=K-EwX4gvmurTdLZNUKXkug&_nc_ss=7b289&oh=00_AQMupowS0cO6wVhfeQ4bATDIo0N-hTFXPA5ur99u14YAgA&oe=6AD18225", "likes": 2383, "name": "Nasalpump", "page_alias": "", "page_id": "946309125232244", "verification": "NOT_VERIFIED" }, { "category": "Government Organization", "entity_type": "PERSON_PROFILE", "ig_followers": 2568, "ig_username": "nasasuperhrana", "image_uri": "https://scontent-lax3-1.xx.fbcdn.net/v/t39.30808-1/458931430_839237764999403_4214651644779961795_n.jpg?stp=dst-jpg_tt6&cstp=mx2048x1448&ctp=p200x200&_nc_cat=110&ccb=1-7&_nc_sid=418b77&_nc_ohc=7lXkTzR5f90Q7kNvwEWraSk&_nc_oc=AdpURq71E1DxvqjGoUgGd1W4VVhGbKNO2-diYvcO0eCZBd7ogsigDNieXRtgkro8168&_nc_zt=24&_nc_ht=scontent-lax3-1.xx&_nc_gid=K-EwX4gvmurTdLZNUKXkug&_nc_ss=7b289&oh=00_AQP_LA7fHYuILWVwWZCmcQAClQ8znDZ__Tqby2iFfDg8gg&oe=6AD1625F", "likes": 32974, "name": "Naša super hrana", "page_alias": "nasasuperhrana", "page_id": "185244268335529", "verification": "NOT_VERIFIED" }, { "category": "Government Organization", "entity_type": "PERSON_PROFILE", "ig_followers": 118800, "ig_username": "nasamoonbase", "image_uri": "https://scontent-lax3-1.xx.fbcdn.net/v/t39.30808-1/619489625_1195870842724021_2078285495526280735_n.jpg?stp=dst-jpg_tt6&cstp=mx1200x1200&ctp=s200x200&_nc_cat=1&ccb=1-7&_nc_sid=418b77&_nc_ohc=0L-e1bHK-J0Q7kNvwFxa3pB&_nc_oc=AdpUOACq9cpAYFw2xtTai11J9fdtNoJ_-sf6N0wmkOJ1c55DdLnEwDpIZnoqEroLCXA&_nc_zt=24&_nc_ht=scontent-lax3-1.xx&_nc_gid=K-EwX4gvmurTdLZNUKXkug&_nc_ss=7b289&oh=00_AQOmCzlWK3jV3vW1NhRUbcR_LW8L7-cHb-sQzGH9liV4hw&oe=6AD17319", "likes": 2420873, "name": "NASA History", "page_alias": "NASAHistoryOffice", "page_id": "519024461482574", "verification": "BLUE_VERIFIED" }, { "category": "Government Organization", "entity_type": "PERSON_PROFILE", "ig_followers": 1574354, "ig_username": "nasajohnson", "image_uri": "https://scontent-lax7-1.xx.fbcdn.net/v/t39.30808-1/320051371_814137286552871_2298523932649599660_n.jpg?stp=dst-jpg_tt6&cstp=mx800x800&ctp=s200x200&_nc_cat=105&ccb=1-7&_nc_sid=418b77&_nc_ohc=PzLIOCynewwQ7kNvwHNymB2&_nc_oc=AdosBKvvXKcW3QDVJF7FkYbx1N3BaW94MbmLah9qKxyCPV5d3X-wcS5RKis0N-FQKmw&_nc_zt=24&_nc_ht=scontent-lax7-1.xx&_nc_gid=K-EwX4gvmurTdLZNUKXkug&_nc_ss=7b289&oh=00_AQOoI1KopoigK45VQd0aNdMwmPrhvc_2nKguvZJawuB0JQ&oe=6AD18A7A", "likes": 2128592, "name": "NASA's Johnson Space Center", "page_alias": "NASAJSC", "page_id": "267875289901288", "verification": "BLUE_VERIFIED" }, { "category": "Record label", "entity_type": "PERSON_PROFILE", "ig_followers": null, "ig_username": null, "image_uri": "https://scontent-lax3-1.xx.fbcdn.net/v/t39.30808-1/299797474_388754093373515_7599886006600084404_n.jpg?stp=dst-jpg_tt6&cstp=mx558x720&ctp=p200x200&_nc_cat=109&ccb=1-7&_nc_sid=418b77&_nc_ohc=wVJ4yN67c1EQ7kNvwHEtp1o&_nc_oc=AdrKdtKOEK5aE9J0i8vdKctg8wOtpUaI3EvZaOnU-Hmas-BtVj_Thy2PpH4ubtp_p0A&_nc_zt=24&_nc_ht=scontent-lax3-1.xx&_nc_gid=K-EwX4gvmurTdLZNUKXkug&_nc_ss=7b289&oh=00_AQPIqh12RPmAlWb0oR3dxvVA8m84HXoy6BTyqpw8g1sRuA&oe=6AD19569", "likes": 1825, "name": "NASA", "page_alias": "", "page_id": "116063838425155", "verification": "NOT_VERIFIED" }, { "category": "Government Organization", "entity_type": "PERSON_PROFILE", "ig_followers": null, "ig_username": null, "image_uri": "https://scontent-lax3-1.xx.fbcdn.net/v/t39.30808-1/272663558_464027402054410_8145899201323383394_n.jpg?stp=dst-jpg_tt6&cstp=mx1258x1258&ctp=s200x200&_nc_cat=109&ccb=1-7&_nc_sid=418b77&_nc_ohc=Lqwg0pKpFdcQ7kNvwE92wNm&_nc_oc=AdqkgORv51Sz4hghgj9d4_H3MaXa3TuHAWhJlIlw59tOdDxNlWXh9vBsfQaGxFPNY5k&_nc_zt=24&_nc_ht=scontent-lax3-1.xx&_nc_gid=K-EwX4gvmurTdLZNUKXkug&_nc_ss=7b289&oh=00_AQMhK_SdPICUvkYMclFarYvgLxsD1WiCGYc3tu3eGt2QaA&oe=6AD165F1", "likes": 1931824, "name": "NASA's Kennedy Space Center", "page_alias": "NASAKennedy", "page_id": "86505458090", "verification": "BLUE_VERIFIED" }, { "category": "Government Organization", "entity_type": "PERSON_PROFILE", "ig_followers": 326529, "ig_username": "nasauniverse", "image_uri": "https://scontent-lax3-2.xx.fbcdn.net/v/t39.30808-1/272341566_298217115680003_4584897478699717817_n.jpg?stp=dst-jpg_tt6&cstp=mx1440x1440&ctp=s200x200&_nc_cat=111&ccb=1-7&_nc_sid=418b77&_nc_ohc=VSyaUPXSdzkQ7kNvwEEqpV7&_nc_oc=Adro-n0tXdOb_IoblbiCjS5-BGA2y_LPxfWx29bUfvlhlrk4TZpLUsE_qhdC8sqwMRQ&_nc_zt=24&_nc_ht=scontent-lax3-2.xx&_nc_gid=K-EwX4gvmurTdLZNUKXkug&_nc_ss=7b289&oh=00_AQPybw0uFWLqN39OfrfRTozk7oMVu0M_cSmKIuLvHoGuOA&oe=6AD18B6E", "likes": 1760768, "name": "NASA Universe", "page_alias": "NASAUniverse", "page_id": "175603359135248", "verification": "BLUE_VERIFIED" }, { "category": "Science, Technology & Engineering", "entity_type": "PERSON_PROFILE", "ig_followers": null, "ig_username": null, "image_uri": "https://scontent-lax3-2.xx.fbcdn.net/v/t39.30808-1/519897359_1148751277286627_2398819745703668374_n.jpg?stp=dst-jpg_tt6&cstp=mx1405x1369&ctp=p200x200&_nc_cat=107&ccb=1-7&_nc_sid=418b77&_nc_ohc=ucSWWllb2OYQ7kNvwGjlApu&_nc_oc=Adpwn0gl7ZSqQaCiE-0Bn8s5PkgU27JMf24pvsR98pOS8eV88oEnp3tGZ7eZIsvqRHc&_nc_zt=24&_nc_ht=scontent-lax3-2.xx&_nc_gid=K-EwX4gvmurTdLZNUKXkug&_nc_ss=7b289&oh=00_AQMNRIfhWoyhZkRH0TUXeYxXnna8V6L29pmTRCkMdCfUjw&oe=6AD16250", "likes": 1739701, "name": "NASA Space Alerts", "page_alias": "NASASpaceAlerts", "page_id": "118107518236480", "verification": "BLUE_VERIFIED" }, { "category": "Science Website", "entity_type": "PERSON_PROFILE", "ig_followers": 3575890, "ig_username": "nasawebb", "image_uri": "https://scontent-lax7-1.xx.fbcdn.net/v/t39.30808-1/431801464_793705439454330_18872977326830824_n.jpg?stp=dst-jpg_tt6&cstp=mx1460x2048&ctp=p200x200&_nc_cat=101&ccb=1-7&_nc_sid=418b77&_nc_ohc=hKYgsBQugkoQ7kNvwGzJW_O&_nc_oc=Adp-h05c0uMOqBEmugoSRMLaBMu7ZyOnAy9sdUz_nzcEh60b-obpeyzBn4ILbG2qvUU&_nc_zt=24&_nc_ht=scontent-lax7-1.xx&_nc_gid=K-EwX4gvmurTdLZNUKXkug&_nc_ss=7b289&oh=00_AQMSszNTNMRtPZLOpp96vh0CC_JdLwPqYRJSu5sXkV90Hw&oe=6AD165E2", "likes": 1726168, "name": "NASA's James Webb Space Telescope", "page_alias": "NASAWebb", "page_id": "382651265048", "verification": "BLUE_VERIFIED" } ], "source": "page_suggestions", "source_url": "https://www.facebook.com/ads/library/", "submit_feedback_for_this_response_here": "https://ecll-litescrape-v3--site-api-web.modal.run/api/feedback/example-not-a-valid-token" }