Facebook PagesFacebookSocial

Your Facebook Page reach and engagement metrics

facebook.facebook.page.insights

Get reach, impressions and engagement metrics for your Facebook Page

Price
freeAu prix du fournisseur
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
  • Uses platform quota
  • Synchronous response
  • Reads public data

Paramètres

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

ParamètreTypeObligatoireDescriptionExemple
Paramètres de chemin
page_idchaîneObligatoire123456789012345
Paramètres de requête
sincechaîneFacultatifUnix timestamp or YYYY-MM-DD; Meta caps a single call at 93 days2026-07-01
untilchaîneFacultatif2026-07-28
metricchaîneObligatoirecomma-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
periodchaîneObligatoireday | week | days_28 | lifetime — a metric only supports some of theseday
  • Paramètres de chemin
  • page_idchaîneObligatoire

    Exemple : 123456789012345

  • Paramètres de requête
  • sincechaîneFacultatif

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

    Exemple : 2026-07-01

  • untilchaîneFacultatif

    Exemple : 2026-07-28

  • metricchaîneObligatoire

    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

    Exemple : page_daily_follows_unique,page_post_engagements

  • periodchaîneObligatoire

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

    Exemple : day

Exemples de code

Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.

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

Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à free, frais de service inclus.