APIs / Facebook / Marketplace Search
Facebook: Marketplace Search
Marketplace Search from Facebook as JSON. 1 credit per successful call.
GET /v1/facebook/marketplace-searchNeeds terms
Note
This endpoint needs the restricted-endpoint terms, which you can accept in your dashboard.
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
query | string | Optional | Up to 200 characters |
location | string | Optional | Up to 120 characters |
Example request
curl "https://api.perceptlayer.com/v1/facebook/marketplace-search?query=bike&location=San+Francisco" \
-H "X-API-Key: $API_KEY"Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.
Response fields
The response has these 8 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
listings | object[] |
listings_count | integer |
filters_count | integer |
categories | object[] |
categories_count | integer |
no_results | boolean |
resolved_location | object |
search_parameters | object |