{"uid":"cap_yIeYMbKBtQTPO-1ozZVbJ","slug":"api-direct-facebook-group-posts-5719bd91","name":"API Direct – Facebook Group Posts","description":"Get posts from a specific Facebook group.","url":"https://x402.apidirect.io/v1/facebook/group/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":["group_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."},"sort_by":{"enum":["most_recent","relevance"],"type":"string","description":"Sort order for results. most_recent returns the group's posts chronologically; relevance returns its top posts. Omit to use the default order."},"group_id":{"type":"string","description":"Numeric Facebook group ID (from Group Details endpoint)"},"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_PpV5mv5Bgoc_o2KelVXYo","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 group, with optional AI sentiment analysis per post.","exampleAgentPrompt":"Pull the 3 most recent pages of posts from Facebook group 1234567890, sorted by most_recent, and include AI sentiment analysis for each post.","exampleUseCases":[{"title":"Community sentiment monitoring","prompt":"Fetch the latest 2 pages of posts from Facebook group 987654321, sorted by most_recent, and include sentiment analysis so I can see what emotions are dominating the community right now."},{"title":"Top content discovery in a niche group","prompt":"Get the top posts from Facebook group 112233445566 sorted by relevance — just 1 page is fine, no sentiment needed."},{"title":"Brand mentions tracking in a group","prompt":"Retrieve the last 5 pages of posts from Facebook group 556677889900 sorted by most_recent and turn on sentiment analysis so I can track how people feel about our brand."}],"resultDescription":"Returns a paginated list of Facebook group posts (up to 15 pages merged into one response). Each post includes its content and metadata. If sentiment analysis is enabled, each post also includes an emotions object with scores (0–100) for joy, trust, fear, surprise, sadness, disgust, anger, and anticipation, plus a dominant_emotion, emotional_intensity (0–10), and polarity (positive, negative, or neutral).","failureModes":["Invalid or non-numeric group_id returns an error","Private or restricted Facebook groups may return no posts or an access error","pages parameter out of range (below 1 or above 15) causes a validation error","Group has been deleted or deactivated returns empty or error response","Rate limiting or billing failure if payment is not properly attached"],"whenToPreferThis":"Choose this endpoint when you need to programmatically retrieve posts from a specific Facebook group — especially when you want AI-powered emotion/sentiment analysis per post. It is ideal for social listening, brand monitoring, community research, and content aggregation workflows where Facebook group data is the target source. Prefer this over generic web scraping when structured post data and optional sentiment enrichment are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T19:07:44.743Z","isFirstParty":false,"canonicalSlug":"api-direct-facebook-group-posts-5719bd91"}