API Description

Facebook Home API — Collect Facebook profile information and first-page works.

Authenticate with your Pangolinfo API Key to receive structured JSON data.

Request URL

POST https://scrapeapi.pangolinfo.com/api/v1/social/facebook-home

Request Headers

ParametersParameter valueTypeDescription
Content-Typeapplication/jsonstringData format
AuthorizationBearer xxxstringAuthorization Token

Collection takes up to approximately 75 seconds. Set your client timeout to 90 seconds.

Request Parameters

ParameterRequiredTypeDescription
targetYesstringTarget URL, supported ID or search keyword for this operation.
optionsNoobjectOptional collection settings, described below.

options Parameters

ParameterRequiredTypeDescription
includeTransparencyNobooleanInclude page transparency details. Default: false; requires one extra collection request.

Only the request parameters listed on this page are used; other fields are ignored. Pass pagination cursors back unchanged, without encoding, decoding or conversion.

Includes first-page works. Use the works operation, where available, to continue.

Response Fields

FieldTypeDescription
codeintegerStatus code; 0 indicates success.
messagestringResponse message; ok on success.
pointCostnumberPoints charged for this request.
dataobjectCollected data, with fields described below.
metaobjectRequest identifier and duration in milliseconds.
billingobjectCharged units, unit price and billing rule version.

data Fields

FieldTypeDescription
typestringResult type.
profileobjectProfile details.
worksany[]Collected works.

data.profile Fields

FieldTypeDescription
accountIdstring | nullAccount id
idstring | nullRecord identifier.
nicknamestring | nullAuthor display name.
namestring | nullName
usernamestring | nullUsername
vanitystring | nullVanity
userIdstring | nullUser id
pageIdstring | nullPage id
entityIdstring | nullEntity id
categorystring | nullCategory
category_namestring | nullCategory name
verifiedbooleanVerified
isVerifiedbooleanIs verified
genderstring | nullGender
biostring | nullBio
avatarstring | nullAvatar URL.
coverstring | nullCover
profileUrlstring | nullAuthor profile URL.
followersCountnumber | nullFollowers count
followingCountnumber | nullFollowing count
friendsnumber | nullFriends
likesCountnumber | nullLikes count
talkingAboutThisnumber | nullTalking about this
contactEmailstring | nullContact email
emailstring | nullEmail
externalLinksstring[]External links
createdTimestampnumber | nullCreated timestamp
workstring[]Work
educationstring[]Education
currentCitystring | nullCurrent city
hometownstring | nullHometown
relationshipstring | nullRelationship
addressstring | nullAddress
phonestring | nullPhone
ratingobject | nullRating
priceRangestring | nullPrice range
businessHoursstring | nullBusiness hours
servicesstring[]Services
responsibleEntitystring | nullResponsible entity
otherAccountsstring[]Other accounts
introCardsobjectIntro cards
targetUrlstringTarget url
transparencyobject | nullTransparency

data.profile.rating Fields

FieldTypeDescription
textstringText value.
recommendPercentnumberRecommend percent
reviewCountnumber | nullReview count

data.profile.transparency Fields

FieldTypeDescription
pageIdstring | nullPage id
creationDateobject | nullCreation date
adStatusstring | nullAd status
confirmedOwnerstring | nullConfirmed owner
fieldsobjectFields

Request Example

curl --request POST \
  --url https://scrapeapi.pangolinfo.com/api/v1/social/facebook-home \
  --header 'Authorization: Bearer YOUR_PANGOLINFO_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
  "target": "https://www.facebook.com/NASA"
}'

Response Example

This excerpt shows the first item of each list. Long text and URLs are shortened; pointCost is the charge for the complete response. The playground contains the full schema.

{
  "code": 0,
  "message": "ok",
  "pointCost": 0.8,
  "data": {
    "type": "home",
    "profile": {
      "accountId": "100044561550831",
      "id": "100044561550831",
      "nickname": "NASA - National Aeronautics and Space Administration",
      "name": "NASA - National Aeronautics and Space Administration",
      "username": "NASA",
      "vanity": "NASA",
      "userId": "100044561550831",
      "pageId": null,
      "entityId": null,
      "category": "Government organisation",
      "category_name": "Government organisation",
      "verified": false,
      "isVerified": false,
      "gender": "NEUTER",
      "bio": "Explore the universe and discover our home planet. \\nThere's space for everybody. ✨",
      "avatar": "https://scontent.fhan3-4.fna.fbcdn.net/v/t39.30808-1/243095782_416661036495945_3843362260429099279_n.png?stp=dst-png&cstp=mx800x800&ctp=s720x720&_nc_cat=1&cc...",
      "cover": "https://scontent.fhan4-1.fna.fbcdn.net/v/t39.99422-6/809146614_4484013928506139_3181913787670602881_n.png?stp=dst-jpg_tt6&cstp=mx2047x1487&ctp=s960x960&_nc_c...",
      "profileUrl": "https://www.facebook.com/NASA/",
      "followersCount": 28732023,
      "followingCount": 52,
      "friends": null,
      "likesCount": null,
      "talkingAboutThis": 107305,
      "contactEmail": null,
      "email": null,
      "externalLinks": [],
      "createdTimestamp": null,
      "work": [],
      "education": [],
      "currentCity": null,
      "hometown": null,
      "relationship": null,
      "address": null,
      "phone": null,
      "rating": null,
      "priceRange": null,
      "businessHours": null,
      "services": [],
      "responsibleEntity": "NATIONAL AERONAUTICS AND SPACE ADMINISTRATION",
      "otherAccounts": [],
      "introCards": {
        "INFLUENCER_CATEGORY": [
          "Page · Government organisation"
        ],
        "CONFIRMED_OWNER_LABEL": [
          "NATIONAL AERONAUTICS AND SPACE ADMINISTRATION"
        ],
        "PROFILE_EMAIL": [
          "[email protected]"
        ],
        "WEBSITE": [
          "nasa.gov/nasa-app"
        ]
      },
      "targetUrl": "https://www.facebook.com/NASA"
    },
    "works": []
  },
  "meta": {
    "requestId": "pg-audit-r1-facebook-home-1793954314343239500",
    "durationMs": 3515
  },
  "billing": {
    "unitPrice": 0.8,
    "ruleVersion": "social-primary-v2",
    "billedCount": 1,
    "pointCost": 0.8
  }
}

Points Usage

0.8 points per profile. Included works are free.

Empty results and failed requests are not charged. Duplicate IDs are counted once within a response. Separate calls and pages are billed separately. See Social Media Reviews API billing.

Try it