Public profile and page headers

Facebook Profile Header API

Enter a public Facebook profile or page URL, or use its numeric ID. Read the header to see who the account represents and which details you can show on an author card.

1 credit per successful request, empty results and failures are free.

POSTExample response
https://api.goanyapi.com/api/v1/facebook/profile/header
Visual

Run a request to see the visual result

The response is organized into metrics, lists and tables that match the JSON on the right.

Run a request to see the response here

Fill in the demo parameters to preview an example response for free. Sign in to send live requests with your own parameters.

Build an author card from a profile header

Keep profile.id and the returned page link alongside the name. Use profile.avatar and profile.cover for the card’s images and add a verification badge when profile.verified is true.

Read the header in the saved JSON

The White House example shows profile.name and profile.verified in data.result.profile. Both numeric follower and following counts are null. The separate profile.socialContext array contains display text such as “16M followers.”

Choose the resource type and check the rate

spaceType defaults to profile. Choose page for a public page. The query has no cursor pagination. A successful response with usable profile or section data is billed at the current rate shown in the tester. Empty results, failed requests, and viewing the saved example are free.