Skip to content
scrapeatlas.Dashboard

Browse a Marketplace category

Try in Playground

Browse the public listings of one Marketplace category at explicit coordinates, without a keyword, with price, condition, delivery, date, availability and sorting filters.

GET/v1/facebook/marketplace/categoryx-api-key
x-api-keystringrequiredheader

Your ScrapeAtlas customer key. Create one on /account/ and set SCRAPEATLAS_API_KEY.

Query parameters
13
latstringrequiredquery

Search latitude, -90 to 90.

max 32 chars

Example51.5072
lngstringrequiredquery

Search longitude, -180 to 180.

max 32 chars

Example-0.1276
radius_kmstringquery

Search radius, 0–500 kilometers; default 50.

max 32 chars

min_pricestringquery

Minimum price in major currency units, at most max_price.

max 32 chars

max_pricestringquery

Maximum price in major currency units.

max 32 chars

countstringquery

Marketplace result count, 1–100.

sort_byenumquery

Native group or Marketplace ordering. See the enumerated request schema.

one of: suggested, distance_ascend, creation_time_descend, price_ascend, price_descend

delivery_methodenumquery

all, local_pickup or shipping.

one of: all, local_pickup, shipping

conditionenumquery

new, used_like_new, used_good or used_fair.

one of: new, used_like_new, used_good, used_fair

date_listedenumquery

all, 1, 7, 30, last_24_hours, last_7_days or last_30_days.

one of: all, 1, 7, 30, last_24_hours, last_7_days, last_30_days

availabilityenumquery

available, sold or all.

one of: available, sold, all

cursorstringquery

Opaque continuation from this service. Preserve it exactly; cursors are source- and route-specific.

min 1 chars · max 16000 chars

slugstringrequiredquery

Category slug from the category list, for example cell-phones: lowercase letters, digits and hyphens, at most 96 characters.

max 96 chars

Examplecell-phones
Response fields
25
dataobjectoptional

Normalized result with author, post, event or listing data and per-item coverage where applicable.

Optional.

hydration.totalinteger

Always included.

hydration.enrichedinteger

Always included.

hydration.failedinteger

Always included.

successboolean

True when usable public data is returned.

statusenum

success or partial on HTTP 200; failed or challenged on failure.

one of: success, partial

requestIdstring

Request correlation UUID.

sourceUrlstring

Canonical public Facebook page used for retrieval.

absolute HTTPS URL

fetchedAtstring

UTC retrieval timestamp.

order is newest_first for creation_time_descend, relevance for suggested, else source_order. Completeness of this bounded response. Warnings name restricted, missing, interrupted or unavailable optional data.

coverage.sourcestring

Always included.

coverage.completeboolean

Always included.

coverage.warningsstring[]

Always included.

coverage.orderenum

Always included.

one of: newest_first, oldest_first, ranked, relevance, source_order

Optional.

coverage.window.sincestringoptional

Optional.

coverage.window.untilstringoptional

Optional.

Counted upstream requests, decoded response bytes and elapsed milliseconds.

accounting.upstreamRequestsinteger

Always included.

≥ 0

accounting.responseBytesinteger

Always included.

≥ 0

accounting.durationMsinteger

Always included.

≥ 0

listingsobject[]

Public listings with id, url, title, price, location, primary photo, category, creation_time, listing_date_text, delivery types and availability flags.

up to 100 items

cursorstringnullable

Opaque continuation from this service. Preserve it exactly; cursors are source- and route-specific.

has_next_pageboolean

Public source has_next_page; null or empty when no value is exposed.

HTTP 200 returns the success variant. Check status: partial means usable data with warnings, and failed or challenged requests carry a failure object described in Errors & responses.

Error codes
10
HTTPfailure.codeMeaning
200partialUsable data with explicit missing/failed auxiliary coverage.
400invalid_requestMalformed, duplicate, conflicting or unsupported parameters.
401unauthorizedMissing or invalid service API key.
403restricted_pageThe resource is private or restricted.
404not_foundUnknown route or missing resource.
429upstream_rate_limitedFacebook throttled retrieval.
502upstream_challenged upstream_error unsupported_pageSource challenge, failure or unsupported/mismatched structure.
502response_too_large payload_too_complex request_limit unsafe_redirectBounded retrieval or fixed-origin policy failed.
503busyAll Facebook worker slots are occupied.
504timeoutRequest deadline expired.