Search Facebook Marketplace listings

Search Facebook Marketplace listings by keyword near a latitude and longitude.

GET/v1/facebook/marketplace/search
1credit
x-api-keystringheader

API key (`sfk_...`)

Parameters
13
querystringrequiredquery

Search query text for marketplace listings.

min 1 chars · max 512 chars

latnumberrequiredquery

Latitude for the marketplace search location.

≥ -90 · ≤ 90

lngnumberrequiredquery

Longitude for the marketplace search location.

≥ -180 · ≤ 180

radiusKmnumberoptionalquery

Optional search radius in kilometers.

≥ 0

minPricenumberoptionalquery

Optional minimum listing price. Must be less than or equal to `maxPrice` when both are set.

≥ 0

maxPricenumberoptionalquery

Optional maximum listing price. Must be greater than or equal to `minPrice` when both are set.

≥ 0

limitintegeroptionalquery

Optional number of listings to return (1–100). Prefer this over `count`.

≥ 1 · ≤ 100

sortBystringoptionalquery

Optional sort order for marketplace listings. `suggested`: Facebook's default relevance ranking. `distanceAscend`: nearest first. `creationTimeDescend`: newest listings first. `priceAscend`/`priceDescend`: lowest/highest price first.

one of: suggested, distanceAscend, creationTimeDescend, priceAscend, priceDescend

deliveryMethodstringoptionalquery

Optional delivery method filter for marketplace listings.

one of: all, localPickup, shipping

conditionstringoptionalquery

Optional item condition filter for marketplace listings.

one of: new, usedLikeNew, usedGood, usedFair

dateListedstringoptionalquery

Optional date-listed filter for marketplace listings. `1`/`last24Hours` both mean the last 24 hours, `7`/`last7Days` both mean the last 7 days, and `30`/`last30Days` both mean the last 30 days — these are separate values Facebook accepts for the same window; prefer the named variants (`last24Hours`, `last7Days`, `last30Days`) for clarity. `all` applies no date filter.

one of: 1, 7, 30, all, last24Hours, last7Days, last30Days

availabilitystringoptionalquery

Optional availability filter for marketplace listings.

one of: available, sold, all

cursorstringoptionalquery

Opaque pagination cursor returned by a previous response.

min 1 chars

Response fields
46

Endpoint-specific response payload.

dataquery
string

Search query string evaluated for this response.

Location parameters evaluated for this response.

datalocationlat
number

Latitude evaluated for this search.

datalocationlng
number

Longitude evaluated for this search.

datalocationradiusKm
numbernullable

Search radius in kilometers when provided.

Listings returned for this page.

datalistings[]id
string

Stable marketplace listing identifier.

min 1 chars

datalistings[]url
stringnullable

Canonical public listing URL when available.

datalistings[]title
string

Listing title.

min 1 chars

Displayed price for the listing.

datalistings[]priceformattedAmount
stringnullable

Formatted price label when available.

datalistings[]priceamount
numbernullable

Numeric price amount when available.

datalistings[]priceamountWithOffsetInCurrency
numbernullable

Price amount with currency offset when available.

Strikethrough or original price when available.

datalistings[]strikethroughPriceformattedAmount
stringnullable

Formatted price label when available.

datalistings[]strikethroughPriceamount
numbernullable

Numeric price amount when available.

datalistings[]strikethroughPriceamountWithOffsetInCurrency
numbernullable

Price amount with currency offset when available.

Location summary for the listing.

datalistings[]locationcity
stringnullable

City name when available.

datalistings[]locationstate
stringnullable

State or region when available.

datalistings[]locationdisplayName
stringnullable

Human-readable location label when available.

datalistings[]locationcityPageId
stringnullable

Location page identifier when available.

Primary photo for the listing.

datalistings[]primaryPhotoid
stringnullable

Primary photo identifier when available.

datalistings[]primaryPhotourl
stringnullable

Primary photo URL when available.

datalistings[]categoryId
stringnullable

Marketplace category identifier when available.

Delivery options reported for the listing.

datalistings[]deliveryTypes[]
stringoptional

Listing status flags.

datalistings[]statusisHidden
booleannullable

Whether the listing is hidden when available.

datalistings[]statusisLive
booleannullable

Whether the listing is live when available.

datalistings[]statusisPending
booleannullable

Whether the listing is pending when available.

datalistings[]statusisSold
booleannullable

Whether the listing is sold when available.

datalistings[]statusisViewerSeller
booleannullable

Whether the viewer is the seller when available.

datalistings[]storyType
stringnullable

Story type metadata when available.

datalistings[]storyKey
stringnullable

Story key metadata when available.

datatotalListings
integer

Number of listings returned in this response.

≥ 0

Pagination information for the current response.

datapagenextCursor
stringnullable

Cursor to pass in the next request when another page is available; otherwise null.

datapagehasMore
boolean

Whether another page of listings can be requested.

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

metacached
booleanoptional

True when served from shared response cache. Credits still apply (full endpoint price); Age header may be present.

Code example

curl "https://api.socialfetch.dev/v1/facebook/marketplace/search?query=bike&lat=30.2677&lng=-97.7475" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Marketplace listings for the requested search.