Get page details
curl --request GET \
--url https://api.keyapi.ai/v1/facebook/page_details \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.keyapi.ai/v1/facebook/page_details"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.keyapi.ai/v1/facebook/page_details', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://api.keyapi.ai/v1/facebook/page_details")
.header("Authorization", "Bearer <token>")
.asString();{
"code": 0,
"message": "success",
"data": {
"results": {
"name": "Facebook",
"type": "page",
"page_id": "100064860875397",
"url": "https://www.facebook.com/facebook",
"image": "https://scontent-bog2-2.xx.fbcdn.net/v/t39.30808-1/380700650_10162533193146729_2379134611963304810_n.jpg?stp=dst-jpg_tt6&cstp=mx2048x2048&ctp=s480x480&_nc_cat=1&ccb=1-7&_nc_sid=2d3e12&_nc_ohc=v825A_xemiwQ7kNvwGSD97v&_nc_oc=Adr7U64VZW3KpRq2SUcvj2THdDKouV6SBDuyTLEGcURbPh5Kx0way7cGhgsU_GKShkI&_nc_zt=24&_nc_ht=scontent-bog2-2.xx&_nc_gid=gCAMAhaGMfT0IfSdRCzeJA&_nc_ss=7d289&oh=00_AQJcs42chmiL0sPwM7XqIFdU5qvjwXEJGD2AvZQg9GhrWg&oe=6AB8080E",
"intro": null,
"likes": null,
"followers": 154000000,
"following": null,
"categories": [
"Page",
"Internet company"
],
"phone": null,
"email": null,
"address": null,
"rating": null,
"services": null,
"price_range": null,
"website": "facebook.com/help",
"delegate_page": {
"id": "20531316728",
"pamv_comms_data": null
},
"cover_image": "https://scontent-bog2-1.xx.fbcdn.net/v/t39.99422-6/752509141_1477888607438767_1446725256166483359_n.png?stp=dst-avif&cstp=mx2553x945&ctp=p720x720&_nc_cat=104&ccb=1-7&_nc_sid=cc71e4&_nc_ohc=_AWQY7KXE_EQ7kNvwF2xu9K&_nc_oc=Ado9ckPNKbQg3iHqW6mOOqUg5EcAtK6XOgjOTicgAD4fAooEoUQMy9mOqbDC0_hYl5c&_nc_zt=14&_nc_ht=scontent-bog2-1.xx&_nc_gid=gCAMAhaGMfT0IfSdRCzeJA&_nc_ss=7d289&oh=00_AQKmPA9iRbT6rDQC0VCyTT9rWOIuikNCHhII5u7oWvkwyw&oe=6AB80BA9",
"verified": true,
"other_accounts": [],
"reels_page_id": "YXBwX2NvbGxlY3Rpb246cGZiaWQwQ010dEU0SHRoR05XZkNNZ0JHcTFoTGd0N1ZrZDI1eG54ejRNMXYzM2Q1cG9pdG9kMmdwd0ZVVzZEclU3cnFEUlFtOWRTaDFnWUVVWUdBRDZhcXRYS1NCY0hGTlRQZXRuS3pLNWRs"
}
},
"requestId": "8d1cb72b-ef14-4192-aceb-6a161c7ea2cb"
}{
"code": 400,
"data": null,
"message": "Missing required parameter: handle"
}{
"code": 401,
"data": null,
"message": "apiKey is null"
}{
"code": 402,
"data": null,
"message": "apiKey quota is not enough"
}{
"code": 429,
"data": null,
"message": "qps limit exceeded"
}{
"code": 500,
"data": null,
"message": "Internal server error"
}Pages
Get page details
GET
/
v1
/
facebook
/
page_details
Get page details
curl --request GET \
--url https://api.keyapi.ai/v1/facebook/page_details \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.keyapi.ai/v1/facebook/page_details"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.keyapi.ai/v1/facebook/page_details', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://api.keyapi.ai/v1/facebook/page_details")
.header("Authorization", "Bearer <token>")
.asString();{
"code": 0,
"message": "success",
"data": {
"results": {
"name": "Facebook",
"type": "page",
"page_id": "100064860875397",
"url": "https://www.facebook.com/facebook",
"image": "https://scontent-bog2-2.xx.fbcdn.net/v/t39.30808-1/380700650_10162533193146729_2379134611963304810_n.jpg?stp=dst-jpg_tt6&cstp=mx2048x2048&ctp=s480x480&_nc_cat=1&ccb=1-7&_nc_sid=2d3e12&_nc_ohc=v825A_xemiwQ7kNvwGSD97v&_nc_oc=Adr7U64VZW3KpRq2SUcvj2THdDKouV6SBDuyTLEGcURbPh5Kx0way7cGhgsU_GKShkI&_nc_zt=24&_nc_ht=scontent-bog2-2.xx&_nc_gid=gCAMAhaGMfT0IfSdRCzeJA&_nc_ss=7d289&oh=00_AQJcs42chmiL0sPwM7XqIFdU5qvjwXEJGD2AvZQg9GhrWg&oe=6AB8080E",
"intro": null,
"likes": null,
"followers": 154000000,
"following": null,
"categories": [
"Page",
"Internet company"
],
"phone": null,
"email": null,
"address": null,
"rating": null,
"services": null,
"price_range": null,
"website": "facebook.com/help",
"delegate_page": {
"id": "20531316728",
"pamv_comms_data": null
},
"cover_image": "https://scontent-bog2-1.xx.fbcdn.net/v/t39.99422-6/752509141_1477888607438767_1446725256166483359_n.png?stp=dst-avif&cstp=mx2553x945&ctp=p720x720&_nc_cat=104&ccb=1-7&_nc_sid=cc71e4&_nc_ohc=_AWQY7KXE_EQ7kNvwF2xu9K&_nc_oc=Ado9ckPNKbQg3iHqW6mOOqUg5EcAtK6XOgjOTicgAD4fAooEoUQMy9mOqbDC0_hYl5c&_nc_zt=14&_nc_ht=scontent-bog2-1.xx&_nc_gid=gCAMAhaGMfT0IfSdRCzeJA&_nc_ss=7d289&oh=00_AQKmPA9iRbT6rDQC0VCyTT9rWOIuikNCHhII5u7oWvkwyw&oe=6AB80BA9",
"verified": true,
"other_accounts": [],
"reels_page_id": "YXBwX2NvbGxlY3Rpb246cGZiaWQwQ010dEU0SHRoR05XZkNNZ0JHcTFoTGd0N1ZrZDI1eG54ejRNMXYzM2Q1cG9pdG9kMmdwd0ZVVzZEclU3cnFEUlFtOWRTaDFnWUVVWUdBRDZhcXRYS1NCY0hGTlRQZXRuS3pLNWRs"
}
},
"requestId": "8d1cb72b-ef14-4192-aceb-6a161c7ea2cb"
}{
"code": 400,
"data": null,
"message": "Missing required parameter: handle"
}{
"code": 401,
"data": null,
"message": "apiKey is null"
}{
"code": 402,
"data": null,
"message": "apiKey quota is not enough"
}{
"code": 429,
"data": null,
"message": "qps limit exceeded"
}{
"code": 500,
"data": null,
"message": "Internal server error"
}🪙4 creditsper request
Copy for AI
🤖 Why Code When AI Can Do It For You?
Stop writing code like it’s 1970! Let AI do the heavy lifting - click the sparkles to copy a perfectly formatted prompt for ChatGPT, Claude, or your favorite AI assistant.

