Facebook local listings
Search Facebook Marketplace US active listings near a ZIP code or point, up to about 24 rows. Prices are seller asks. No sold search. Results are cached for 15 minutes; a cache miss returns 202 and a job to poll.
Request
- Base URL: https://api.soldgraph.com/v1
- URL: https://api.soldgraph.com/v1/facebook/listings
- Auth: HTTP bearer
Query parameters
Search keywords, 1–200 characters, as you'd type them into the marketplace's search box. Be specific: model, size, grade, edition.
Always 1. Facebook serves one page per search, so there is no page 2. Optional.
Lowest price, in whole units of the country's currency (US dollars for us). Optional. Must not be more than max_price. You can send it without max_price.
Highest price, in whole units of the country's currency (US dollars for us). Optional. You can send it without min_price.
Optional. If sent, it must be facebook.
Only us is supported here. eBay, Vinted, Poshmark, Depop and Whatnot endpoints also take other countries. Mercari, OfferUp, Facebook Marketplace and TCGplayer are US only.
Five-digit US ZIP code to search around. Send zip, or both lat and lon. Unknown ZIP codes, and places more than 75 miles from any Facebook Marketplace city, return 422.
Latitude of the search center in decimal degrees. Use with lon instead of zip. Rounded to 4 decimals (about 11 m).
Longitude of the search center in decimal degrees. Use with lat.
Search radius in miles, 1 to 100. Default is Facebook's own, about 40 miles. Rows whose city is farther than the radius plus 10 miles are dropped.
Facebook ranking, newest listed first, or asking price low to high or high to low. Sorted searches return up to 24 rows; best match often returns about 15.
One condition, or several separated by commas, such as used_like_new,used_good.
Only listings offering local pickup, or only listings that ship.
Only listings posted in the last 1, 7 or 30 days.
Headers
Send the same key when you retry the same search, so you aren't charged twice. 1–128 printable ASCII characters, no spaces.
Response
Complete, including cache hits. Costs 1 request.
Changes
No recorded changes to this operation across all 1 revision of this API.