{"operation":"listings/search","version":"1.0.0","status":"pilot","title":"Search listings","summary":"The listings of a Facebook Marketplace page, a category with its filters or a search by keywords, page after page: title, price, town, date, seller and photo of each.","use_when":"You have a Facebook Marketplace page, a category with the filters you set on it (New York's cars from 2018 under 80,000 miles, newest first: facebook.com/marketplace/nyc/vehicles/?minYear=2018&maxMileage=80000&sortBy= creation_time_descend) or a search (facebook.com/marketplace/nyc/search/?query=iphone 15), and need its listings as Facebook ranks them: each one's id and page, title (a car's, Facebook's own from the vehicle, and the seller's), the line under it (a car's mileage), price and the price it was before, town and state, when it was listed, the delivery offered, its seller's name and id, and its photo. The page's address is the search: set the city, the category and the filters on Facebook, and pass the address. No Facebook account is needed: the listings are read as a visitor signed out sees them. For everything one listing says (its description, a car's make, model, mileage and more, its photos), use facebook_marketplace/listings/get with its `id`.","categories":["Cars","E-commerce"],"icon":"lens","source":"facebook_marketplace","input":{"type":"object","required":["search"],"additionalProperties":false,"properties":{"search":{"type":"string","minLength":20,"maxLength":4000,"description":"The address of a Marketplace page as the browser shows it, from facebook.com, m.facebook.com or web.facebook.com: a category with its filters (facebook.com/marketplace/nyc/vehicles/?minYear=2018&sortBy= creation_time_descend), or a search (facebook.com/marketplace/nyc/search/?query=iphone 15&maxPrice=600). The filters are Facebook's, as its page writes them in the address. Every category of Marketplace is read, its rentals included (checked on its 18 on 24/11). One listing's page is refused, and so are Marketplace's home and Home Sales, which Facebook serves as its home to a visitor signed out (`invalid_search`).","examples":["https://www.facebook.com/marketplace/nyc/vehicles/?minYear=2018&maxMileage=80000&sortBy=creation_time_descend","https://www.facebook.com/marketplace/la/search/?query=iphone%2015"]},"locale":{"type":"string","pattern":"^[a-z]{2}(-[A-Z]{2})?$","default":"en","description":"The language of Facebook's own words: a price as written ($11,000, 11 000 $US). A title is its seller's.","examples":["en"]},"cursor":{"type":"string","pattern":"^[A-Za-z0-9_=-]{40,8000}$","description":"Where to go on, from `next` in an answer, as it is: opaque, and only for the search it was given with (otherwise `invalid_cursor`)."}}},"pagination":{"style":"cursor","page_size":24,"next":{"search":"<search as it was written>","cursor":"<opaque>"}},"record":{"type":"object","additionalProperties":false,"required":["object","id","position","url","title","custom_title","subtitles","price","original_price","location","category_id","created_at","is_live","is_pending","is_sold","is_hidden","delivery_types","seller","photo","video_id","source_url","observed_at"],"properties":{"object":{"const":"listing"},"id":{"type":"string","description":"The listing's id on Facebook (its page: facebook.com/marketplace/item/<id>), for facebook_marketplace/listings/get."},"position":{"type":"integer","minimum":1,"description":"Its rank in the list, from 1, the pages before included."},"url":{"type":"string","format":"uri","description":"The listing's page."},"title":{"type":["string","null"],"description":"The title Marketplace shows; for a car, Facebook's own from the vehicle (2015 Volvo VNL670)."},"custom_title":{"type":["string","null"],"description":"The title the seller wrote, when Facebook shows its own (a car's)."},"subtitles":{"type":"array","items":{"type":"string"},"description":"The lines under the title: a car's mileage (1.1K miles), a home's street and town (12th Ave, Paterson, NJ)."},"price":{"type":["object","null"],"description":"The price, in the currency of the listing's market as `text` writes it (Facebook says no currency in a list).","properties":{"amount":{"type":["number","null"]},"text":{"type":["string","null"],"description":"As the page writes it, in `locale`: $11,000, 40 €."}}},"original_price":{"type":["object","null"],"description":"The price before it dropped, struck out on the page; null when it did not.","properties":{"amount":{"type":["number","null"]},"text":{"type":["string","null"]}}},"location":{"type":["object","null"],"description":"Where the listing is, as approximate as Facebook makes it.","properties":{"city":{"type":["string","null"],"description":"Port Reading."},"state":{"type":["string","null"],"description":"NJ; a region elsewhere (IDF)."},"city_page":{"type":["object","null"],"description":"The place Facebook files it under, a town or the city around it, with its id.","properties":{"id":{"type":["string","null"]},"name":{"type":["string","null"],"description":"Woodbridge, New Jersey."}}}}},"category_id":{"type":["string","null"],"description":"Facebook's id of its category (807311116002614: vehicles)."},"created_at":{"type":["string","null"],"format":"date-time","description":"When it was listed, UTC."},"is_live":{"type":["boolean","null"],"description":"Whether it is up on Marketplace."},"is_pending":{"type":["boolean","null"]},"is_sold":{"type":["boolean","null"]},"is_hidden":{"type":["boolean","null"]},"delivery_types":{"type":"array","items":{"type":"string"},"description":"IN_PERSON, PUBLIC_MEETUP, SHIPPING..."},"seller":{"type":["object","null"],"properties":{"id":{"type":["string","null"],"description":"Facebook's id of the seller for a visitor signed out (pfbid...)."},"name":{"type":["string","null"]},"type":{"type":["string","null"],"description":"User, or Page for a business."}}},"photo":{"type":["object","null"],"description":"Its first photo, as the list shows it.","properties":{"id":{"type":["string","null"]},"url":{"type":["string","null"]}}},"video_id":{"type":["string","null"],"description":"Its video's id, when it has one."},"source_url":{"type":"string","format":"uri","description":"The Marketplace page, where a person sees these listings."},"observed_at":{"type":"string","format":"date-time","description":"When it was read, UTC."}}},"price":{"credits_per_call":1,"description":"1 credit per page of listings (24, then 10 a page in a category and 24 in a search). An empty page and a failed call are free.","free":["empty","failed"]},"deadline":{"default_s":30,"max_s":60},"errors":[{"code":"invalid_search","status":422,"detail":true,"message":"Pass the address of a Marketplace category or search (facebook.com/marketplace/nyc/vehicles/?...), and a `locale` Facebook speaks."},{"code":"site_unavailable","status":503,"retryable":true,"message":"Facebook did not answer properly; retry later (not charged)."},{"code":"unexpected_answer","status":424,"retryable":false,"message":"Facebook answered in a shape we do not read yet; we are told and fix it (not charged)."}],"examples":[{"request":{"search":"https://www.facebook.com/marketplace/nyc/vehicles/?minYear=2018&maxMileage=80000&sortBy=creation_time_descend"},"records":[{"object":"listing","id":"2406531830150644","position":1,"url":"https://www.facebook.com/marketplace/item/2406531830150644/","title":"2015 Volvo  VNL670","custom_title":"2015 Volvo vnl670","subtitles":[],"price":{"amount":11000,"text":"$11,000"},"original_price":null,"location":{"city":"Port Reading","state":"NJ","city_page":{"id":"1423489081204522","name":"Woodbridge, New Jersey"}},"category_id":"807311116002614","created_at":"2026-11-24T12:18:31Z","is_live":true,"is_pending":false,"is_sold":false,"is_hidden":false,"delivery_types":["IN_PERSON"],"seller":{"id":"pfbid0Qs2H4NqC48R8NEePcXp4s9UfTebksbkALmZbGrrwby1fhPJy2zmnEVW1kTDGZNuwl","name":"Vincenza Ciaramella","type":"User"},"photo":{"id":"10245701553656305","url":"https://scontent.xx.fbcdn.net/v/t39.30808-6/924677812_10245701554376323_8223080080459804305_n.jpg"},"video_id":"1146253144814845","source_url":"https://www.facebook.com/marketplace/nyc/vehicles/?minYear=2018&maxMileage=80000&sortBy=creation_time_descend","observed_at":"2026-11-24T12:30:00Z"}]}],"health":{"canaries":[{"search":"https://www.facebook.com/marketplace/nyc/vehicles/?minYear=2018&maxMileage=80000&sortBy=creation_time_descend","min_records":18},{"search":"https://www.facebook.com/marketplace/la/search/?query=iphone%2015","min_records":18}],"required_fields":["id","title","price.amount","location.city","created_at"]},"changelog":[{"version":"1.0.0","date":"2026-11-24","notes":"First version: the listings of a Facebook Marketplace category with its filters (any of its 18, rentals included), or of a search, page after page, read signed out, in the language you ask."}],"object":"operation","id":"facebook_marketplace/listings/search","site":{"title":"Facebook Marketplace","domain":"facebook.com/marketplace","color":"#6C8CFF"}}