# Facebook Marketplace — Marketplace Search

Search Facebook Marketplace via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Powered by ScrapeCreators, pass parameters such as availability, category_id, condition, and retrieve structured data including pagination cursor, returned credits charged field, returned credits remaining field, identifier, and title for market reference and account inspection, and integration reference.

Documentation: https://openany.si/market/apis/facebook/facebook-marketplace-search/?offering=facfb6f5-6a9a-4a22-ac42-2a4c267fa1fc
API ID: facfb6f5-6a9a-4a22-ac42-2a4c267fa1fc
Provider: scrapecreators
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/scrapecreators/v1/facebook/marketplace/search
Page update time: 2026-12-03T02:53:21.597Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.00188 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:53:20.783Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "1880",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Facebook Marketplace — Marketplace Search request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "query": {
          "type": "string",
          "description": "Search keyword"
        },
        "category_id": {
          "type": "string",
          "description": "Numeric Facebook Marketplace category ID. Listing results include this value as category_id."
        },
        "lat": {
          "type": "number",
          "description": "Latitude for the search location"
        },
        "lng": {
          "type": "number",
          "description": "Longitude for the search location"
        },
        "radius_km": {
          "type": "number",
          "description": "Search radius in kilometers"
        },
        "min_price": {
          "type": "number",
          "description": "Minimum listing price"
        },
        "max_price": {
          "type": "number",
          "description": "Maximum listing price"
        },
        "sort_by": {
          "type": "string",
          "description": "Facebook Marketplace sort option. creation_time_descend usually orders the first pages newest first, but Facebook can insert newer listings on later cursor pages.",
          "enum": [
            "suggested",
            "distance_ascend",
            "creation_time_descend",
            "price_ascend",
            "price_descend"
          ]
        },
        "delivery_method": {
          "type": "string",
          "description": "Delivery filter",
          "enum": [
            "all",
            "local_pickup",
            "shipping"
          ]
        },
        "condition": {
          "type": "string",
          "description": "Condition filter",
          "enum": [
            "new",
            "used_like_new",
            "used_good",
            "used_fair"
          ]
        },
        "date_listed": {
          "type": "string",
          "description": "Facebook Marketplace date filter. Uses the same calendar-day buckets as the UI, so last_24_hours can include listings from the prior calendar day.",
          "enum": [
            "all",
            "1",
            "7",
            "30",
            "last_24_hours",
            "last_7_days",
            "last_30_days"
          ]
        },
        "availability": {
          "type": "string",
          "description": "Availability filter",
          "enum": [
            "available",
            "sold",
            "all"
          ]
        },
        "cursor": {
          "type": "string",
          "description": "Opaque pagination cursor returned from the previous response. Pass it back as-is."
        }
      },
      "required": [
        "query",
        "lat",
        "lng"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "credits_charged": {
      "type": "integer"
    },
    "credits_remaining": {
      "type": "integer"
    },
    "cursor": {
      "type": "string"
    },
    "has_next_page": {
      "type": "boolean"
    },
    "listings": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "category_id": {
            "type": "string"
          },
          "creation_time": {
            "type": "null"
          },
          "delivery_types": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "id": {
            "type": "string"
          },
          "is_hidden": {
            "type": "boolean"
          },
          "is_live": {
            "type": "boolean"
          },
          "is_pending": {
            "type": "boolean"
          },
          "is_sold": {
            "type": "boolean"
          },
          "is_viewer_seller": {
            "type": "boolean"
          },
          "listing_date_text": {
            "type": "null"
          },
          "location": {
            "type": "object",
            "properties": {
              "city": {
                "type": "string"
              },
              "city_page_id": {
                "type": "string"
              },
              "display_name": {
                "type": "string"
              },
              "state": {
                "type": "string"
              }
            }
          },
          "price": {
            "type": "object",
            "properties": {
              "amount": {
                "type": "integer"
              },
              "amount_with_offset_in_currency": {
                "type": "integer"
              },
              "formatted_amount": {
                "type": "string"
              }
            }
          },
          "primary_photo": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            }
          },
          "story_key": {
            "type": "string"
          },
          "story_type": {
            "type": "string"
          },
          "strikethrough_price": {
            "type": "null"
          },
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        }
      }
    },
    "success": {
      "type": "boolean"
    }
  }
}
```

## Request example
Scenario: Official example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/scrapecreators/v1/facebook/marketplace/search?availability=available&category_id=1658310421102081&condition=used_good&date_listed=7&delivery_method=local_pickup&lat=30.2677&lng=-97.7475&max_price=500.0&min_price=100.0&query=bike&radius_km=65.0&sort_by=creation_time_descend' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "credits_charged": 1,
  "credits_remaining": 49997831258,
  "cursor": "eyJwZyI6MCwiYjJj....",
  "has_next_page": true,
  "listings": [
    {
      "category_id": "1658310421102081",
      "creation_time": null,
      "delivery_types": [
        "IN_PERSON"
      ],
      "id": "1880804689276480",
      "is_hidden": false,
      "is_live": true,
      "is_pending": false,
      "is_sold": false,
      "is_viewer_seller": false,
      "listing_date_text": null,
      "location": {
        "city": "Austin",
        "city_page_id": "106224666074625",
        "display_name": "Austin, Texas",
        "state": "TX"
      },
      "price": {
        "amount": 300,
        "amount_with_offset_in_currency": 30000,
        "formatted_amount": "$300"
      },
      "primary_photo": {
        "id": "742022888999863",
        "url": "https://scontent-bos5-1.xx.fbcdn.net/v/t39.84726-6/696326464_742022902333195_6718077421452400338_n.jpg?stp=c43.0.260.260a_dst-jpg_p261x260_tt6&_nc_cat=106&ccb=1-7&_nc_sid=92e707&_nc_ohc=dzY2b4-6EowQ7kNvwFDgohs&_nc_oc=AdomRHPRV49gouEOWqxlFxuEeLcoc5cBjRhXhi91oslqlUNdZ9EV-te1C_pvL-eyVzs&_nc_zt=14&_nc_ht=scontent-bos5-1.xx&_nc_gid=GvS1066o3EBgpWuqL6BQZA&_nc_ss=7e289&oh=00_Af6M2kbWMsKLjEHmSUv6oiPJt3skIfetxG3oB2YOIiDuTg&oe=6A0D6E08"
      },
      "story_key": "26881002338175809",
      "story_type": "POST",
      "strikethrough_price": null,
      "title": "ANCHEER E Bike",
      "url": "https://www.facebook.com/marketplace/item/1880804689276480/"
    }
  ],
  "success": true
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- litescrape: https://openany.si/market/apis/facebook/facebook-marketplace-search/?offering=05d07366-8731-469f-86f6-47e4b1d02fb0
- scrapecreators: https://openany.si/market/apis/facebook/facebook-marketplace-search/?offering=facfb6f5-6a9a-4a22-ac42-2a4c267fa1fc

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
