{"uid":"cap_SGLV4-qUx5jPgGrI0nFSW","slug":"api-direct-facebook-page-posts-7f10af72","name":"API Direct – Facebook Page Posts","description":"Get posts from a specific Facebook page.","url":"https://x402.apidirect.io/v1/facebook/page/posts?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["page_id"],"properties":{"pages":{"type":"integer","default":1,"maximum":15,"minimum":1,"description":"Number of pages to fetch and merge into one response (1-15). Billed per page."},"page_id":{"type":"string","description":"Numeric Facebook page ID (from Page Details endpoint)"},"end_date":{"type":"string","description":"Filter posts until this date (YYYY-MM-DD)"},"start_date":{"type":"string","description":"Filter posts from this date (YYYY-MM-DD)"},"get_sentiment":{"type":"boolean","default":false,"description":"Set to true to add AI emotion analysis to each post. Adds a `sentiment` object containing `emotions` (joy, trust, fear, surprise, sadness, disgust, anger and anticipation, each scored 0-100), `dominant_emotion`, `emotional_intensity` (0-10), and `polarity` (positive, negative or neutral). Any post t"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.009","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.009/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_8S1Vax5jcGBLYnXMMKSTB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.009","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches posts from a specific Facebook page by page ID, with optional date filtering and AI sentiment analysis.","exampleAgentPrompt":"Can you pull all the Facebook posts from the page with ID 123456789 posted between January 1 and March 31, 2024, and include AI sentiment analysis for each one?","exampleUseCases":[{"title":"Brand monitoring on Facebook","prompt":"Fetch the last 3 pages of posts from the Nike Facebook page (page ID 15087023) from the past month and include sentiment analysis so I can see how their content is landing emotionally."},{"title":"Competitor content audit","prompt":"Get me all Facebook posts from page ID 90010177782 posted between 2024-06-01 and 2024-09-30 — I want to review what they've been publishing over the summer."},{"title":"Social media sentiment report","prompt":"Pull the most recent posts from the Starbucks Facebook page (ID 82344997230) and turn on sentiment analysis so I can see the joy, anger, and trust scores for each post."}],"resultDescription":"Returns a list of Facebook posts from the specified page, including post text, timestamps, and metadata. When sentiment analysis is enabled, each post includes an emotions object with scores (0-100) for joy, trust, fear, surprise, sadness, disgust, anger, and anticipation, plus dominant_emotion, emotional_intensity (0-10), and polarity (positive/negative/neutral).","failureModes":["Invalid or non-numeric page_id returns an error","Private or restricted Facebook pages may return no posts","Invalid date format (not YYYY-MM-DD) causes a bad request","Requesting more than 15 pages triggers a validation error","Page has no posts in the specified date range returns empty result","Rate limiting or payment failure results in 402 response"],"whenToPreferThis":"Choose this endpoint when you need structured access to Facebook page post history with optional date filtering and AI-powered emotional sentiment scoring. It is ideal for brand monitoring, competitor analysis, content audits, or social listening workflows where Facebook is the target platform. Prefer it over manual scraping or generic social APIs when you need per-post emotion breakdowns beyond simple positive/negative polarity.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T19:06:47.950Z","isFirstParty":false,"canonicalSlug":"api-direct-facebook-page-posts-7f10af72"}