Facebookget/get_facebook_marketplace_items_listing

Get Marketplace Search Results

Facebook Marketplace Listings
Cost / request

$0.01

Response format

JSON

Protocol

REST

About this endpoint

Access Facebook data through agntdata: Get Marketplace Search Results. This endpoint retrieves Facebook Marketplace items by entering a search term and configuring filters like 🌍 Location, πŸ’² Price Range, πŸ“… Date Range, πŸ“ Radius, πŸ—‚οΈ Category, and πŸ”„ Sort Orderβ€”enabling fast, customized searches for marketplace listings. Responses are structured JSON for AI agents, analytics, and automation β€” one API key instead of juggling upstream accounts. Ideal when you need page and group posts, marketplace listings, video content, and ad discovery programmatically.

Use cases

AI agents that need Facebook data in structured form
Analytics and monitoring pipelines for Facebook content
Research and GTM workflows that combine Facebook signals with other data

Parameters

NameInTypeRequiredDescription
seo_urlquerystringoptionalβ€”
posted_todayquerybooleanoptionalposted_today **(boolean)** β€” If set to **true**, results are limited to items posted today, and the `after_time` and `before_time` filters **are ignored**.
fieldsquerystringoptionalComma-separated keys to filter the response. Supports dot notation and nested keys (e.g. `items.id,items.listingUrl,items.listing_price,page_info.end_cursor`). Invalid keys are ignored. If omitted, the full response is returned.
commerce_search_and_rp_conditionquerystringoptionalThis field specifies the condition of items to search for. Choose from the following options: - new - used_like_new - used_good - used_fair To include **multiple conditions**, separate them with commas without spaces. For example, use **new**, **used_like_new**, **used_good**, **used_fair** to search for both new items and items in good used condition. Any value not in this list will result in an error.
timezonequerystringoptionalβ€”Default: UTC
after_timequerystringoptionalβ€”
before_timequerystringoptionalβ€”
exact_matchquerybooleanoptionalβ€”
proxy_countryquerystringoptionalβ€”
filter_radius_kmquerynumberoptionalβ€”Default: 65
filter_price_lower_boundquerynumberoptionalβ€”Default: 0
end_cursorquerystringoptionalIf **end_cursor** is empty, retrieve up to **three** posts, utilizing the **newly generated** end_cursor from the **page_info** details in the response to fetch subsequent posts in the list.
category_urlquerystringoptionalLink should match this pattern `
filter_location_latitudequerystringoptionalβ€”Default: 40.7142
filter_price_upper_boundquerynumberoptionalβ€”Default: 214748364700
commerce_search_sort_byquerystringoptionalβ€”
queryquerystringoptionalβ€”Default: cars
filter_location_longitudequerystringoptionalβ€”Default: -74.0064

Responses

Successful response

{
  "type": "object"
}

Agent / Developer Schema

Machine-readable formats for integrating this endpoint into AI agents and toolchains.

{
  "operationId": "Get_Marketplace_Search_Results",
  "method": "get",
  "path": "/get_facebook_marketplace_items_listing",
  "summary": "Get Marketplace Search Results",
  "description": "This endpoint retrieves Facebook Marketplace items by entering a search term and configuring filters like 🌍 Location, πŸ’² Price Range, πŸ“… Date Range, πŸ“ Radius, πŸ—‚οΈ Category, and πŸ”„ Sort Orderβ€”enabling fast, customized searches for marketplace listings.",
  "parameters": [
    {
      "name": "seo_url",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string"
      }
    },
    {
      "name": "posted_today",
      "in": "query",
      "required": false,
      "schema": {
        "type": "boolean"
      },
      "description": "posted_today **(boolean)** β€” If set to **true**, results are limited to items posted today, and the `after_time` and `before_time` filters **are ignored**."
    },
    {
      "name": "fields",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string"
      },
      "description": "Comma-separated keys to filter the response. Supports dot notation and nested keys (e.g. `items.id,items.listingUrl,items.listing_price,page_info.end_cursor`). Invalid keys are ignored. If omitted, the full response is returned."
    },
    {
      "name": "commerce_search_and_rp_condition",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string"
      },
      "description": "This field specifies the condition of items to search for. Choose from the following options:\n\n- new\n- used_like_new\n- used_good\n- used_fair\n\nTo include **multiple conditions**, separate them with commas without spaces. For example, use **new**, **used_like_new**, **used_good**, **used_fair** to search for both new items and items in good used condition. Any value not in this list will result in an error."
    },
    {
      "name": "timezone",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string",
        "default": "UTC"
      }
    },
    {
      "name": "after_time",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string"
      }
    },
    {
      "name": "before_time",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string"
      }
    },
    {
      "name": "exact_match",
      "in": "query",
      "required": false,
      "schema": {
        "type": "boolean"
      }
    },
    {
      "name": "proxy_country",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string"
      }
    },
    {
      "name": "filter_radius_km",
      "in": "query",
      "required": false,
      "schema": {
        "type": "number",
        "default": "65"
      }
    },
    {
      "name": "filter_price_lower_bound",
      "in": "query",
      "required": false,
      "schema": {
        "type": "number",
        "default": "0"
      }
    },
    {
      "name": "end_cursor",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string"
      },
      "description": "If **end_cursor** is empty, retrieve up to **three** posts, utilizing the **newly generated** end_cursor from the **page_info** details in the response to fetch subsequent posts in the list."
    },
    {
      "name": "category_url",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string"
      },
      "description": "Link should match this pattern `"
    },
    {
      "name": "filter_location_latitude",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string",
        "default": "40.7142"
      }
    },
    {
      "name": "filter_price_upper_bound",
      "in": "query",
      "required": false,
      "schema": {
        "type": "number",
        "default": "214748364700"
      }
    },
    {
      "name": "commerce_search_sort_by",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string"
      }
    },
    {
      "name": "query",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string",
        "default": "cars"
      }
    },
    {
      "name": "filter_location_longitude",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string",
        "default": "-74.0064"
      }
    }
  ],
  "responses": [
    {
      "statusCode": "200",
      "description": "Successful response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object"
          }
        }
      }
    },
    {
      "statusCode": "400",
      "description": "Bad request"
    },
    {
      "statusCode": "401",
      "description": "Unauthorized - invalid API key"
    },
    {
      "statusCode": "429",
      "description": "Rate limit exceeded"
    }
  ]
}

Pricing

$0.01per successful request

Credits are deducted from your agntdata balance on each successful API call. Failed requests (4xx/5xx) are not charged.

Related endpoints

Start using this endpoint

Generate your API key and make your first call in under a minute. Free tier available with transparent pricing.

Facebook APIFacebook data APIget marketplace search results APIAI agents data APIFacebook APIFacebook data APIFacebook for AI agents