GET /v1/facebook/stored/post

Facebook stored post API: caption, counts and media by post id

Returns one stored Facebook post with its page and group: caption, counts, time, media paths and metric_precision. Send the numeric post id as q. This is a stored read: a miss is a 404 and never a crawl; read a fresh post with the Facebook post 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/post?q=1687661559397934' \
  -H "Authorization: Bearer $VIREV_API_KEY"
python
import os
import requests

response = requests.request(
    "GET",
    "https://api.virev.ai/v1/facebook/stored/post",
    params={
        "q": "1687661559397934",
    },
    headers={"Authorization": f"Bearer {os.environ['VIREV_API_KEY']}"},
    timeout=60,
)
response.raise_for_status()
print(response.json())

Parameters

NameInTypeDescription
q requiredquerystringThe post’s numeric id, facebook_content_id in a stored answer or id in a live one. Example 1687661559397934.

Example response

The example response of the API reference, with lists cut to their first 3 items and long text shortened.

json
{
  "data": {
    "facebook_content_id": "1687661559397934",
    "content_type": "post",
    "canonical_url": "https://www.facebook.com/reel/942459548952900",
    "title": null,
    "caption": "Presented by ROLEX. A lion can be difficult to track across Zambia’s vast wetlands, even with a radio collar. When the Busanga pride’s matriarch, Princess, hadn’t been seen for six months, conservationists set out to find her across a terri…",
    "likes": 1170,
    "comments": 14,
    "shares": null,
    "views": 92000,
    "duration_ms": null,
    "posted_at": "2026-10-11T22:00:12Z",
    "image_url": null,
    "video_url": null,
    "is_video": false,
    "metric_precision": {
      "views": "approximate"
    },
    "author_username": "natgeo",
    "author_facebook_id": "100044623170418",
    "author_full_name": "National Geographic",
    "author_followers": 51000000,
    "author_is_verified": true,
    "facebook_group_id": null,
    "group_name": null
  },
  "meta": {
    "cost": "$0.0005",
    "balance": "$9.9990",
    "request_id": "req_bfcb4d95c252a3c4d91df738a4dfada9"
  }
}

How it works

One stored post with its page and group: caption, counts, time, media paths and metric_precision.

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/post.

Errors

StatusWhen
400The request parameters are invalid.
401Missing, malformed, or revoked API key.
402Balance is too low for this request.
404The post is not stored. You are not charged.
429Over 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.
502The upstream fetch failed. You are not charged.
503Billing could not be confirmed, so no upstream data was returned.
504The upstream request timed out. You are not charged.