Resolve a Page ID from a URL

View all Facebook Public Data API endpoints →

Provide url for a Facebook Page to request its Page identifier. This is a documented URL-to-ID resolver; no representative response for this route was sampled, so no response envelope or exact field layout is asserted. Confirm the returned identifier before passing it to Page posts, reviews or other ID-based reads. The separately sampled page-details operation is an alternative when a name, verification flag and follower observation are also needed. Resolving an identifier does not establish access to every Page content surface.

API Features

Dedicated Page-ID entry point Accepts a human-readable Page URL without requiring an existing numeric Page ID.
Identifier-first integration Designed for applications that need a Page key before choosing a content read.
Details route alternative Use page-details instead when the observed Page identity and public metadata are needed together.
Access remains surface-specific A resolved Page key is not proof that posts, reviews or media will be publicly available.

Live API Demo

GET /api/project/facebook-scraper/page-id

Request cost is temporarily unavailable. No price is assumed.

View pricing

API Response (JSON)

{}
curl -X GET 'https://api.opendata-api.com/api/project/facebook-scraper/page-id?key=<API_KEY>&url=https%3A%2F%2Ffacebook.com%2Ffacebook'
📢
Need Help?
If you encounter API issues or need other API requirements, please contact us.
Contact Us

Use Cases

Frequently asked questions

How does this endpoint differ from Page details?

This endpoint specifically requests a Page ID. Page details also provides observed public information such as the name and follower count, so choose according to your needs.

Can I assume the field name in the resolver response?

No. No representative response has been obtained for this endpoint. Validate the actual structure and identifier first.

Does resolving an ID let me read all Page media?

No. Media remains subject to visibility limits, and videos and Reels use their own dedicated identifiers.

Related operations

Guides

View Subscription Plans →