Get Facebook profile
curl --request GET \
--url https://api.aisa.one/apis/v1/facebook/profiles \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/facebook/profiles"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/facebook/profiles', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/facebook/profiles",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/facebook/profiles"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/facebook/profiles")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/facebook/profiles")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"business": null,
"contact": null,
"lookupStatus": "found",
"metrics": null,
"profile": {
"avatarUrl": "https://scontent-mia3-2.xx.fbcdn.net/v/t39.30808-1/643478184_26435581719392551_6829771121814667941_n.jpg?stp=c0.0.834.834a_dst-jpg_s200x200_tt6&_nc_cat=103&ccb=1-7&_nc_sid=e99d92&_nc_ohc=tLRvt443fCAQ7kNvwGAfKRT&_nc_oc=AdoTOmGyZWcO_nsPhuJxpKfLa7TDML8rGs8PNRUXphrCtuAYsZ6_1or9SL7Q4mhulaI&_nc_zt=24&_nc_ht=scontent-mia3-2.xx&_nc_gid=YzuYpZJqm6ykvk0oJe_fTg&_nc_ss=7e289&oh=00_Af56TxT5ddQ00rnsW8nXiHWWLAtWX4zavlw3Z-EOORvUPw&oe=6A0F3C41",
"coverImageUrl": "https://scontent-mia3-3.xx.fbcdn.net/v/t39.30808-6/495995630_23916984487918966_6583159705852966112_n.jpg?stp=cp6_dst-jpg_s960x960_tt6&_nc_cat=108&ccb=1-7&_nc_sid=cc71e4&_nc_ohc=nt2nA0choW8Q7kNvwGx1N4m&_nc_oc=Adq8Jfehj_xkueeaY_8KZkC5vO86jmZUe2_OYJfQIPb5b7px9_cwDFFS4jSOS7OW41A&_nc_zt=23&_nc_ht=scontent-mia3-3.xx&_nc_gid=YzuYpZJqm6ykvk0oJe_fTg&_nc_ss=7e289&oh=00_Af7xUcIAVb-s3CN-UJ-t8agl-h5C0xceMTLuiVdtNN2ScQ&oe=6A0F4D76",
"displayName": "Carly Cross",
"gender": "female",
"platform": "facebook",
"platformUserId": "pfbid0oLfXu1ATKUTKguRajfCYu7BP2rzBW8kXQ44KhGdV17eP6hffyY7P2uMZA5VDZJYwl",
"profileType": "person",
"profileUrl": "https://www.facebook.com/carly.cross.5"
}
},
"meta": {
"creditsCharged": 1,
"requestId": "req_bbb28983-bc5d-42ca-a6da-bf5ef4275778",
"version": "v1"
}
}Facebook
Get Facebook profile
Returns a Facebook profile or Page by URL or username. Required input: url.
GET
https://api.aisa.one
/
apis
/
v1
/
facebook
/
profiles
Get Facebook profile
curl --request GET \
--url https://api.aisa.one/apis/v1/facebook/profiles \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/facebook/profiles"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/facebook/profiles', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/facebook/profiles",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/facebook/profiles"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/facebook/profiles")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/facebook/profiles")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"business": null,
"contact": null,
"lookupStatus": "found",
"metrics": null,
"profile": {
"avatarUrl": "https://scontent-mia3-2.xx.fbcdn.net/v/t39.30808-1/643478184_26435581719392551_6829771121814667941_n.jpg?stp=c0.0.834.834a_dst-jpg_s200x200_tt6&_nc_cat=103&ccb=1-7&_nc_sid=e99d92&_nc_ohc=tLRvt443fCAQ7kNvwGAfKRT&_nc_oc=AdoTOmGyZWcO_nsPhuJxpKfLa7TDML8rGs8PNRUXphrCtuAYsZ6_1or9SL7Q4mhulaI&_nc_zt=24&_nc_ht=scontent-mia3-2.xx&_nc_gid=YzuYpZJqm6ykvk0oJe_fTg&_nc_ss=7e289&oh=00_Af56TxT5ddQ00rnsW8nXiHWWLAtWX4zavlw3Z-EOORvUPw&oe=6A0F3C41",
"coverImageUrl": "https://scontent-mia3-3.xx.fbcdn.net/v/t39.30808-6/495995630_23916984487918966_6583159705852966112_n.jpg?stp=cp6_dst-jpg_s960x960_tt6&_nc_cat=108&ccb=1-7&_nc_sid=cc71e4&_nc_ohc=nt2nA0choW8Q7kNvwGx1N4m&_nc_oc=Adq8Jfehj_xkueeaY_8KZkC5vO86jmZUe2_OYJfQIPb5b7px9_cwDFFS4jSOS7OW41A&_nc_zt=23&_nc_ht=scontent-mia3-3.xx&_nc_gid=YzuYpZJqm6ykvk0oJe_fTg&_nc_ss=7e289&oh=00_Af7xUcIAVb-s3CN-UJ-t8agl-h5C0xceMTLuiVdtNN2ScQ&oe=6A0F4D76",
"displayName": "Carly Cross",
"gender": "female",
"platform": "facebook",
"platformUserId": "pfbid0oLfXu1ATKUTKguRajfCYu7BP2rzBW8kXQ44KhGdV17eP6hffyY7P2uMZA5VDZJYwl",
"profileType": "person",
"profileUrl": "https://www.facebook.com/carly.cross.5"
}
},
"meta": {
"creditsCharged": 1,
"requestId": "req_bbb28983-bc5d-42ca-a6da-bf5ef4275778",
"version": "v1"
}
}
Request example pending verification. The request example for this endpoint has not yet been verified in production. Static examples describe the request format; replace sample values with your own. Check the estimated price with a free quote request (X-AISA-Cost-Mode: quote) before running it.
Request contract
- Method and path: GET /apis/v1/facebook/profiles
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/facebook/profiles - includeBusinessHours: query; optional
- url: query; required
{
"operationId": "facebook.profiles",
"method": "GET",
"path": "/apis/v1/facebook/profiles",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [
{
"in": "query",
"name": "includeBusinessHours",
"required": false,
"schema": {
"description": "Optional: include structured business hours in the response when available.",
"type": "boolean"
}
},
{
"in": "query",
"name": "url",
"required": true,
"schema": {
"description": "Facebook public profile or page URL to look up.",
"maxLength": 4096,
"minLength": 1,
"type": "string"
}
}
],
"security": [
{
"bearerAuth": []
}
],
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Observed response structure
The response observations below come from successful probes or sampled requests. They are partial: fields and types may vary, and no field is guaranteed to be present. Reviewed response definitions take precedence. No real response values are published.- HTTP status / last observed: 200 / 2026-11-26
{
"additionalProperties": true,
"properties": {
"data": {
"additionalProperties": true,
"properties": {
"profile": {
"additionalProperties": true,
"properties": {
"avatarUrl": {
"type": "string"
},
"displayName": {
"type": "string"
},
"profileUrl": {
"type": "string"
}
},
"type": [
"null",
"object"
]
}
},
"type": "object"
},
"meta": {
"additionalProperties": true,
"properties": {
"version": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.014 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Response time
- Typically returns within 10 seconds.