Facebook PagesFacebookSocial

Your Facebook Page reach and engagement metrics

facebook.facebook.page.insights

Get reach, impressions and engagement metrics for your Facebook Page

Price
freeAt provider cost
Success rate
100%Last 30 days · 214 calls
Latency p50
536 msp95 835 ms
Last verified
—Not verified yet
GEThttps://toolswitch.dev/v1/tools/facebook.facebook.page.insightsPreview
Try onlineComing soonProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parameters

needs read_insights and the Page token (select this Page on the connection). Meta deprecates individual metric names on a fixed schedule, so an unknown-metric error means the metric was retired, not that the call is malformed

ParameterTypeRequiredDescriptionExample
Path parameters
page_idstringRequired123456789012345
Query parameters
sincestringOptionalUnix timestamp or YYYY-MM-DD; Meta caps a single call at 93 days2026-07-01
untilstringOptional2026-07-28
metricstringRequiredcomma-separated metric names. page_impressions, page_impressions_unique and page_fans are RETIRED on v25 — all three answer '(#100) The value must be a valid insights metric' (checked live 2026-07-28). page_daily_follows_unique is still acceptedpage_daily_follows_unique,page_post_engagements
periodstringRequiredday | week | days_28 | lifetime — a metric only supports some of theseday
  • Path parameters
  • page_idstringRequired

    Example: 123456789012345

  • Query parameters
  • sincestringOptional

    Unix timestamp or YYYY-MM-DD; Meta caps a single call at 93 days

    Example: 2026-07-01

  • untilstringOptional

    Example: 2026-07-28

  • metricstringRequired

    comma-separated metric names. page_impressions, page_impressions_unique and page_fans are RETIRED on v25 — all three answer '(#100) The value must be a valid insights metric' (checked live 2026-07-28). page_daily_follows_unique is still accepted

    Example: page_daily_follows_unique,page_post_engagements

  • periodstringRequired

    day | week | days_28 | lifetime — a metric only supports some of these

    Example: day

Code samples

Replace $TOOLSWITCH_KEY with the key you created in the console.

Preview
curl -X GET 'https://toolswitch.dev/v1/tools/facebook.facebook.page.insights' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at free, including the service fee.