Facebook Marketplace Search

32.5 credits per successful search
ae_facebook_marketplace_search

搜索 Facebook Marketplace 商品刊登

Social
32.5 credits per successful search

Pricing

A completed search is 32.5 credits. Failed searches are free.

32.5 credits per successful search

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
qstringNoParameter defines the query you want to search. You can use anything that you would use in a regular Facebook Marketplace search (e.g., `iphone`, `honda civic`, or `sectional sofa`). Either q or category should be set. Without q, the listings of the category are returned, like on its Facebook Marketplace page.—
latnumberNoParameter defines the GPS latitude of the location to search around (e.g., `30.2672`). Parameter is required when using lon parameter, and can't be used together with location.—
lonnumberNoParameter defines the GPS longitude of the location to search around (e.g., `-97.7431`). Parameter is required when using lat parameter, and can't be used together with location.—
radiusnumberNoParameter defines the radius of the area to search in, in kilometers (e.g., `16` for 10 miles). It defaults to `65` (40 miles), like on Facebook Marketplace.—
sort_byenum (best_match | distance_ascend | creation_time_descend | price_ascend | price_descend)NoParameter defines the order of the results. It defaults to `best_match`. Available options: `best_match` - Suggested `distance_ascend` - Distance: Nearest first `creation_time_descend` - Date listed: Newest first `price_ascend` - Price: Lowest first `price_descend` - Price: Highest first—
categoryenum (apparel | classifieds | electronics | entertainment | family | free | garden | hobbies | home | home-improvements | instruments | office-supplies | pets | propertyrentals | sports | toys | vehicles)NoNo parameter description.—
locationstringNoNo parameter description.—
conditionstringNoParameter defines the conditions of the items to show. It's a comma-separated list of options (e.g., `new,used_like_new`). Available options: `new` - New `used_like_new` - Used - Like new `used_good` - Used - Good `used_fair` - Used - Fair—
max_pricenumberNoParameter defines the maximum price, in the currency of the listings (e.g., `500`).—
min_pricenumberNoParameter defines the minimum price, in the currency of the listings (e.g., `100`).—
availabilityenum (available | sold)NoParameter defines whether to show the items available (default), or the ones already sold. Available options: `available` - Available `sold` - Sold—
delivery_methodenum (local_pick_up | shipping)NoParameter defines how the items can be delivered. It defaults to both. Available options: `local_pick_up` - Local pickup `shipping` - Shipping Like on Facebook Marketplace, shipping is only available in the United States.—
next_page_tokenstringNoNo parameter description.—
days_since_listedenum (1 | 7 | 30)NoParameter defines how recently the listings were listed. It defaults to any date. Available options: `1` - Last 24 hours `7` - Last 7 days `30` - Last 30 days—

Invocation example

Parameter template

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

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_facebook_marketplace_search' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {}
}'

No response example available yet.