Social Fetch
Facebook

Search Facebook Marketplace listings

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

GET/v1/facebook/marketplace/search
1credit
x-api-key*stringheader

API key (`sfk_...`)

Parameters
13
query*stringquery

Search query text for marketplace listings.

min 1 chars · max 512 chars

latnumberoptionalquery

Latitude for the marketplace search location.

≥ -90 · ≤ 90

lngnumberoptionalquery

Longitude for the marketplace search location.

≥ -180 · ≤ 180

radiusKmnumberoptionalquery

Optional search radius in kilometers.

≥ 0

minPricenumberoptionalquery

Optional minimum listing price.

≥ 0

maxPricenumberoptionalquery

Optional maximum listing price.

≥ 0

countintegeroptionalquery

Optional number of listings to return.

≥ 1 · ≤ 100

sortBystringoptionalquery

Optional sort order for marketplace listings.

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.

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
45

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

Code example

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

Responses

Marketplace listings for the requested search.

On this page

No Headings