Facebook Marketplace Search Basic
Usage-based pricing
ae_facebook_marketplace_search_basic
Find Facebook Marketplace listings by coordinates and keyword with price, condition, recency, availability and delivery filters.
Usage-based pricing
Pricing
If (((query response != not provided) && (billing indicator != not provided)) && (billing indicator > 0)), the charge for this component is 4.8 AE credits; otherwise it is 0 AE credits. Add all applicable components to obtain the total charge for this call.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
request_body | object | Yes | No parameter description. | — |
request_body.lat | string | Yes | Latitude of the search location (e.g. '30.2677'). | — |
request_body.lng | string | Yes | Longitude of the search location (e.g. '-97.7475'). | — |
request_body.sort | enum (suggested | distance_ascend | creation_time_descend | price_ascend | price_descend) | No | Sort order for the returned listings (e.g. price_ascend). | — |
request_body.query | string | Yes | Search keyword for Marketplace listings (e.g. 'bike'). | — |
request_body.cursor | string | No | Pagination cursor from a previous response to fetch the next page. | — |
request_body.priceMax | integer | No | Maximum listing price in whole currency units, e.g. 500 for $500. Facebook may mix in a few suggested listings outside the range. | — |
request_body.priceMin | integer | No | Minimum listing price in whole currency units, e.g. 100 for $100. Facebook may mix in a few suggested listings outside the range. | — |
request_body.condition | enum (new | used_like_new | used_good | used_fair) | No | Only return listings in this condition (e.g. used_good). | — |
request_body.dateListed | enum (all | last_24_hours | last_7_days | last_30_days) | No | Only return listings posted within this window (e.g. last_7_days). | — |
request_body.availability | enum (available | sold | all) | No | Filter by availability: available (default), sold, or all (e.g. sold). | — |
request_body.deliveryMethod | enum (all | local_pickup | shipping) | No | Only return listings offering this delivery method (e.g. shipping). | — |
Invocation example
Parameter templateGenerated from the parameter configuration. Replace the sample values before use.
POST
/agent-api/v2/tool/executeX-Api-KeyRequest coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v2/tool/execute?tool_name=ae_facebook_marketplace_search_basic' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"request_body": {
"lat": "30.2677",
"lng": "-97.7475",
"query": "bike",
"priceMax": 500,
"priceMin": 100
}
}
}'No response example available yet.




