Skip to main content
POST /v1/data/facebook/posts-search/run Pricing: $0.005 per post ($5.00 per 1,000).

Request

Send the inputs under params. Only the keys below are accepted; any other key returns 422 invalid_params.
string[]
required
One or more search keywords. One request reads them all.
integer
default:"100"
How many posts to return in total. Defaults to 100; use 0 for all.Max 1000.
string
default:"top"
Sort By to use. Top (popular, any age) by default.Allowed values: top (Top (popular, any age)), recent (Most recent first).
string
Start Date.
string
End Date.

Example

Response fields

Each row in data is one post, keyed by these fields.

Example response

Abridged: long text and lists are shortened.
For all posts from a known page use facebook/posts; for comments use facebook/comments.