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.

Social
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.

ParameterTypeRequiredDescriptionDefault
request_bodyobjectYesNo parameter description.—
request_body.latstringYesLatitude of the search location (e.g. '30.2677').—
request_body.lngstringYesLongitude of the search location (e.g. '-97.7475').—
request_body.sortenum (suggested | distance_ascend | creation_time_descend | price_ascend | price_descend)NoSort order for the returned listings (e.g. price_ascend).—
request_body.querystringYesSearch keyword for Marketplace listings (e.g. 'bike').—
request_body.cursorstringNoPagination cursor from a previous response to fetch the next page.—
request_body.priceMaxintegerNoMaximum listing price in whole currency units, e.g. 500 for $500. Facebook may mix in a few suggested listings outside the range.—
request_body.priceMinintegerNoMinimum listing price in whole currency units, e.g. 100 for $100. Facebook may mix in a few suggested listings outside the range.—
request_body.conditionenum (new | used_like_new | used_good | used_fair)NoOnly return listings in this condition (e.g. used_good).—
request_body.dateListedenum (all | last_24_hours | last_7_days | last_30_days)NoOnly return listings posted within this window (e.g. last_7_days).—
request_body.availabilityenum (available | sold | all)NoFilter by availability: available (default), sold, or all (e.g. sold).—
request_body.deliveryMethodenum (all | local_pickup | shipping)NoOnly return listings offering this delivery method (e.g. shipping).—

Invocation example

Parameter template

Generated from the parameter configuration. Replace the sample values before use.

POST/agent-api/v2/tool/executeX-Api-Key
Request 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.