Facebook Marketplace API

Marketplace data.
Find the listings near a place.

Resolve locations, search Marketplace listings, browse whole categories and read item details. Build local product research around the area that matters.

PUT IT TO WORK

What will you build?

Three ways to use Facebook Marketplace data.

Watch a whole category

Browse a category near any coordinates, newest first, to see what is being listed without guessing keywords.

Create a listing shortlist

Read item details and keep the useful listings together with their source links.

YOUR FIRST REQUEST

Search Marketplace listings.

Search listings in an area to compare asking prices for similar items.

  1. 01
    Add your API key

    Set SCRAPEATLAS_API_KEY in your environment.

  2. 02
    Choose your input

    Use the sample request as a starting point.

  3. 03
    Work with the JSON

    Send the result to your app, sheet or research tool.

Request and response fields
QUICKSTART / API EXAMPLES
# ScrapeAtlas · use your customer API key
export BASE_URL="https://api.scrapeatlas.com"

curl --get "$BASE_URL/v1/facebook/marketplace/search" \
  -H "x-api-key: $SCRAPEATLAS_API_KEY" \
  --data-urlencode "query=bicycle" \
  --data-urlencode "lat=51.5072" \
  --data-urlencode "lng=-0.1276"
GET/v1/facebook/marketplace/searchJSON response

Use your ScrapeAtlas API key. Replace the sample input with your own.

GETTING STARTED

A few practical details.

API key setup
How do I make a request?

Create a ScrapeAtlas API key, send it in the x-api-key header, and pass the endpoint’s request fields. The example above is ready to adapt to your own input.

What does the response contain?

Resolve locations, search Marketplace listings, browse whole categories and read item details. Build local product research around the area that matters. Each endpoint’s reference shows its response fields and a JSON example.

Can I use this from an AI assistant?

Yes. Connect ScrapeAtlas through MCP to use Facebook Marketplace tools from your assistant. You can also call the same API from your own scripts or the CLI.