Playground Sign in Start free
Recipe Marketplaces and classifieds

Facebook Marketplace API for search results

Send any Facebook Marketplace page URL with recipe=facebook and get title, price, location and 2 more fields as JSON. No selectors to write, no proxies to pick.

  • 1 page type
  • 5 fields
  • 5 credits a page · $0.50 per 1,000
  • Working · 95.2% in 7 days

5,000 free credits for 21 days, no card.

recipe=facebook/listing
curl -G 'https://api.ujeebu.com/scrape' \
  -H "ApiKey: $UJEEBU_API_KEY" \
  --data-urlencode 'url=https://www.facebook.com/marketplace/nyc/search/?query=guitar' \
  --data-urlencode 'recipe=facebook/listing'
200 OK · JSON
{
    "result": {
        "listings": [
            {
                "title": "Acoustic guitar",
                "price": "$30",
                "location": "Bronx, NY"
            }
        ]
    },
    "success": true
}

Is there an official Facebook Marketplace API?

No official API

No. Meta's Graph API gives no access to Facebook Marketplace listings, and there is no public API for Marketplace data.

Source: developers.facebook.com on developers.facebook.com, checked November 6, 2026.

How to get Facebook Marketplace data as JSON today

  1. Get a free API key: 5,000 free credits for 21 days, no card.
  2. Send any Facebook Marketplace page URL with recipe=facebook to the Scrape API (the call).
  3. Get 5 fields as JSON, 5 credits a page, billed only when the call succeeds.

Ujeebu's Facebook Marketplace recipe returns title, price, location and 2 more fields from any public Facebook Marketplace page as JSON: send the URL with recipe=facebook to the Scrape API, 5 credits a page, no Facebook Marketplace account or partner approval needed.

What you get from Facebook Marketplace

The fields of each page type and a real sample from our last validation, shortened.

Search and listing pages recipe=facebook/listing 5 credits a page

FieldTypeExample
listingslist of 3+ items
listings[].imageimage URLhttps://scontent-lga3-1.xx.fbcdn.net/v/t39.84726-6/886032808_109926...
listings[].locationtextNew York, NY
listings[].pricetext$45
listings[].titletextGuitar for sale
listings[].urlURLhttps://www.facebook.com/marketplace/item/2115924992373323/

Sample answer, validated 2026-11-20

{
    "listings": [
        {
            "image": "https://scontent-phl2-1.xx.fbcdn.net/v/t39.84726-6/917341732_1774174260351749_4959799123960199289_n.jpg?stp=c0.43.261.261a_dst-jpg_p261x260_tt6&_nc_cat=107&_...",
            "location": "Bronx, NY",
            "price": "$30",
            "title": "Acoustic guitar",
            "url": "https://www.facebook.com/marketplace/item/1010244208239474/"
        },
        {
            "image": "https://scontent-phl2-1.xx.fbcdn.net/v/t39.84726-6/906652215_2203085750241996_6899164560206705635_n.jpg?stp=c0.43.261.261a_dst-jpg_p261x260_tt6&_nc_cat=107&_...",
            "location": "Brooklyn, NY",
            "price": "$80",
            "title": "Fender CC60S Black Acoustic Guitar w/case",
            "url": "https://www.facebook.com/marketplace/item/975233571974782/"
        }
    ]
}

One call

Send the page URL and the recipe name to the Scrape API. The recipe brings the extract rules and the settings that work on Facebook Marketplace (JavaScript rendering, a wait for the content and a mobile browser).

curl -G 'https://api.ujeebu.com/scrape' \
  -H "ApiKey: $UJEEBU_API_KEY" \
  --data-urlencode 'url=https://www.facebook.com/marketplace/nyc/search/?query=guitar' \
  --data-urlencode 'recipe=facebook/listing'

The answer is {"result": {...}} with the headers Ujb-Recipe and Ujb-Credits. Your own parameters always win over the recipe.

What people build with Facebook Marketplace data

  • Price research

    See what similar items sell for, by condition and location.

    Learn more
  • New ads alerts

    Catch new ads for the searches you care about shortly after they appear.

Price

Same price as the page call, no fee for the recipe. Only successful responses are billed; blocked, timed-out and failed requests are free.

Page typeCredits a pagePer 1,000, StarterPer 1,000, Pro
Search results5$0.82$0.50

See all plans

FAQ

Is there a Facebook Marketplace API?

No. Meta's Graph API gives no access to Facebook Marketplace listings, and there is no public API for Marketplace data. Ujeebu's Facebook Marketplace recipe returns title, price, location and 2 more fields from any public Facebook Marketplace page as JSON: send the URL with recipe=facebook to the Scrape API, 5 credits a page, no Facebook Marketplace account or partner approval needed.

Does Facebook Marketplace have a public API?

No. Meta's Graph API gives no access to Facebook Marketplace listings, and there is no public API for Marketplace data. The public pages are the way in: Ujeebu's Facebook Marketplace recipe returns title, price, location and 2 more fields from any public Facebook Marketplace page as JSON: send the URL with recipe=facebook to the Scrape API, 5 credits a page, no Facebook Marketplace account or partner approval needed.

What does the Facebook Marketplace recipe return?

JSON with 5 fields from search results (recipe=facebook/listing), for example title, price, location, image, url. The answer is {"result": {...}} with the fields shown on this page.

How much does it cost to scrape Facebook Marketplace?

5 credits a page ($0.50 per 1,000 on Pro, $0.82 on Starter). Same price as the page call, no fee for the recipe. Only successful responses are billed; blocked, timed-out and failed requests are free.

Do I need proxies or a headless browser?

No. The recipe brings the settings that work on Facebook Marketplace: JavaScript rendering, a wait for the content and a mobile browser. Send only the URL and recipe=facebook/listing.

What happens when Facebook Marketplace changes its pages?

We check Facebook Marketplace every day and re-validate the recipe on real pages every week, then fix it when the site changes. Until a fix is live, the API answers 404 "the recipe has no working version" instead of empty data, and that call is free.

Can I search Facebook Marketplace with parameters?

Yes, in one call: send recipe=facebook/search with city, query, min_price, max_price and no URL. We build the Facebook Marketplace search URL (returned in the Ujb-Url header), apply recipe=facebook/listing and answer its JSON, at the same credits as the page call. A missing or invalid parameter answers 400 naming it, and that call is free.

Get Facebook Marketplace data as JSON today.

5,000 free credits for 21 days. No card.