InsightSocial API
Facebook

Marketplace › Search

GET
/v1/facebook/marketplace/search

Returns Facebook Marketplace listings near a lat/lng, each with title, price, location, photo, delivery types, and sold or live flags.

Use it to find listings in an area; get lat and lng from marketplace/location/search, and de-duplicate by listing id since ordering can shift.

20 credits per call.

Re-running the exact same call within 1h is free.

Paginates by cursor — see Pagination.

x-api-key<token>

Your key from the dashboard. It starts with isk_.

In: header

Query Parameters

query*string

Search keyword (e.g., bike, couch).

lat*string

Latitude of the search location.

lng*string

Longitude of the search location.

radius_km?integer

Search radius in kilometers.

min_price?integer

Minimum listing price.

max_price?integer

Maximum listing price.

count?integer

Number of listings to return per page.

sort_by?string

Sort order for results.

Value in

  • "suggested"
  • "distance_ascend"
  • "creation_time_descend"
  • "price_ascend"
  • "price_descend"
delivery_method?string

Delivery filter: local pickup only, shipping only, or all.

Value in

  • "all"
  • "local_pickup"
  • "shipping"
condition?string

Filter listings by item condition.

Value in

  • "new"
  • "used_like_new"
  • "used_good"
  • "used_fair"
date_listed?string

Filter by listing recency (relative window or numeric day count).

Value in

  • "all"
  • "1"
  • "7"
  • "30"
  • "last_24_hours"
  • "last_7_days"
  • "last_30_days"
availability?string

Filter by listing status: available, sold, or all.

Value in

  • "available"
  • "sold"
  • "all"
cursor?string

Opaque pagination cursor returned by the previous response: forward as-is.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/facebook/marketplace/search?query=string&lat=string&lng=string"
{  "success": true,  "platform": "instagram",  "endpoint": "/v1/instagram/profile/posts",  "data": {    "items": [      "…"    ],    "dropped": 0  },  "pagination": {    "next_cursor": "is2.eyJwIjoyfQ",    "has_more": true,    "page_size": 12  },  "credits_used": 20,  "credits_remaining": 9980,  "request_id": "req_1a2b3c4d5e6f",  "cached": false,  "idempotent_replay": false,  "charge_reason": "miss",  "free_call": false}