Skip to main content
GET
Search public Facebook posts by keyword

Response

The HTTP 200 JSON response uses code for business status: 0 indicates success; a nonzero value indicates a business error. On success, data.results is an array of posts. No results are represented by an empty array. data.cursor is a string or null. requestParams echoes this GET request: values in query are strings and body is null. Use the returned cursor for the next-page request.
Request example pending verification. The request example for this endpoint has not yet been verified in production. Static examples describe the request format; replace sample values with your own. Check the estimated price with a free quote request (X-AISA-Cost-Mode: quote) before running it.

Request contract

  • Method and path: GET /apis/v1/facebook/search-post-v1
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/facebook/search-post-v1
  • cursor: query; optional
  • endDate: query; optional
  • keyword: query; required
  • startDate: query; optional
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Observed response structure

The response observations below come from successful probes or sampled requests. They are partial: fields and types may vary, and no field is guaranteed to be present. Reviewed response definitions take precedence. No real response values are published.
  • HTTP status / last observed: 200 / 2026-11-28

Cost and request rules

Usage-based pricing. Default request estimate: $0.02952 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Pagination

  • Pass aisa_pagination.next_cursor as cursor (query parameter) to fetch the next page; stop when aisa_pagination.has_more is false.
  • The same values are returned in the X-AISA-Has-More and X-AISA-Next-Cursor response headers.
  • Results may repeat across pages; de-duplicate by a stable id.

Response time

  • Typically returns within 30 seconds.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

cursor
string

Next page: the aisa_pagination.next_cursor of the previous response.

Required string length: 1 - 4096
endDate
string

End date in yyyy-MM-dd format.

keyword
string
required

Search keywords.

startDate
string

Start date in yyyy-MM-dd format.

Response

JSON response. A code of 0 indicates business success; nonzero codes indicate a business error.

code
integer
required
data
object
required
message
string | null
required
recordTime
string | null
required
requestId
string
requestParams
object

Echo of this GET request. Query parameter values are strings; body is null.

aisa_pagination
object

AIsa pagination. Pass next_cursor as cursor to fetch the next page; has_more is false on the last page.