GET /v1/facebook/stored/profile
Facebook stored page API: followers, category and links by page name
Returns one stored Facebook page: name, category, followers, links and when it was last read, with metric_precision naming the counts Facebook rounds. Send the page's vanity name, numeric id or URL as q. This is a stored read: a miss is a 404, is not billed and never starts a crawl; read a fresh page with the Facebook page API.
- Price
- $0.0005 per call
- Batch
- Yes, through /v1/batch
- Failed calls
- Not charged
Example request
curl
curl 'https://api.virev.ai/v1/facebook/stored/profile?q=natgeo' \
-H "Authorization: Bearer $VIREV_API_KEY"python
import os
import requests
response = requests.request(
"GET",
"https://api.virev.ai/v1/facebook/stored/profile",
params={
"q": "natgeo",
},
headers={"Authorization": f"Bearer {os.environ['VIREV_API_KEY']}"},
timeout=60,
)
response.raise_for_status()
print(response.json())Parameters
| Name | In | Type | Description |
|---|---|---|---|
q required | query | string | A page’s vanity name or numeric id, or its facebook.com page URL. |
Example response
The example response of the API reference.
json
{
"data": {
"id": 129,
"profile_id": 1084076,
"platform": "facebook",
"username": "natgeo",
"facebook_user_id": "100044623170418",
"full_name": "National Geographic",
"biography": null,
"category": "Media/news company",
"profile_pic_url": "/api/media/facebook_account/129/profile_pic?e=1793750400&s=1cc0b48de8c02aab26b7cdb56727919f",
"external_urls": [],
"website": null,
"location": null,
"followers": 51000000,
"following": 2,
"posts_count": null,
"likes": null,
"is_verified": true,
"is_private": false,
"metric_precision": {
"followers": "approximate"
},
"last_scraped_at": "2026-10-12T16:29:15.276052Z",
"enrichment": null
},
"meta": {
"cost": "$0.0005",
"balance": "$9.9990",
"request_id": "req_51dd3ae808b467bb7eaed3dd050009c3"
}
}How it works
One stored page: name, category, followers, links and when it was last read, with metric_precision naming the counts Facebook rounds.
Strictly DB: this reads what the crawler already stored and never crawls. A miss is a 404 and is not billed. Fetch a fresh one with /v1/facebook/profile.
Errors
| Status | When |
|---|---|
400 | The request parameters are invalid. |
401 | Missing, malformed, or revoked API key. |
402 | Balance is too low for this request. |
404 | The page is not stored. You are not charged. |
429 | Over the per-minute limit. The limit belongs to your organization and all its API keys share it: 100 requests per minute unless an increase was granted. Wait for the Retry-After seconds, then retry. On a live read, code rate_limited means the platform itself rate-limited this read; retry after the Retry-After seconds. You are not charged. |
502 | The upstream fetch failed. You are not charged. |
503 | Billing could not be confirmed, so no upstream data was returned. |
504 | The upstream request timed out. You are not charged. |