Social Fetch icon

Social Fetch

Fetch social media and web data via the Social Fetch API

Actions129

Facebook → Marketplace Search

AI-generated

Summary

Searches Facebook Marketplace listings using the required query text and latitude/longitude. Optionally filters and sorts listings, and can fetch subsequent pages when Return All is enabled; each page consumes API credits.

Inputs

  • Return All — When enabled, follows the listing cursor to fetch all available pages; otherwise returns only the first page.
  • Query (required) — Text to search for in Marketplace listings.
  • Lat (required) — Latitude for the search location.
  • Lng (required) — Longitude for the search location.
  • Additional Fields — Optional query parameters: search radius in kilometers, minimum or maximum price, listing count, sort order (suggested, distance, creation time, or price), delivery method, condition, date listed, and availability.
  • Request Options — Optional request settings include batching, accepting invalid SSL certificates, an HTTP proxy, and a response-header timeout.

Output shape

A list of Marketplace listing items returned by the search.

Return All paginates through pages using the next cursor until no more results are available; when disabled, only the first page is returned. Each fetched page consumes API credits.

Examples

Example 1: Search for a specific item near a location and limit results by price or delivery method.

Set Query, Lat, and Lng; optionally configure filters and sorting in Additional Fields.

Example 2: Collect listings across all available result pages.

Enable Return All; pagination continues until the API indicates there are no more results.

Links

Discussion