---
title: "Fetch Search Posts"
method: GET
path: "/v1/data/facebook/fetch_search_posts"
tags: ["Facebook: Facebook Search"]
---

# Fetch Search Posts

`GET /v1/data/facebook/fetch_search_posts`

## Request

- Base URL: `https://api.superagnt.com`
- URL: `https://api.superagnt.com/v1/data/facebook/fetch_search_posts`
- Auth: API key in header `Authorization`

This endpoint retrieves information about Facebook Posts based on a specified search query and a location_uid. Use the end_cursor parameter to retrieve additional posts data if needed.

## Query parameters

- `start_time` string
- `recent_posts` boolean
- `end_time` string
- `query` string, required
- `end_cursor` string
- `location_uid` number

## Response `200`

Successful response

- object

## Other responses

- `400`: Bad request
- `401`: Unauthorized - invalid API key
- `429`: Rate limit exceeded

---

[API](https://skmtc.dev/superagnt/apis/superagnt-api.md) · [All operations](https://skmtc.dev/superagnt/apis/superagnt-api/llms.txt) · [OpenAPI document](https://skmtc.dev/superagnt/apis/superagnt-api/revisions/b2d8de30ccf0?raw)
