List Marketplace categories
List the top-level Marketplace categories, or the children of one category, with the slug used to browse each category.
/v1/facebook/marketplace/categoriesx-api-keyHeaders
Get your API keyYour ScrapeAtlas customer key. Create one on /account/ and set SCRAPEATLAS_API_KEY.
Numeric category ID from a previous response. Omit for the top-level categories; send to list that category's children.
Normalized result with author, post, event or listing data and per-item coverage where applicable.
Optional.
Always included.
Always included.
Always included.
True when usable public data is returned.
success or partial on HTTP 200; failed or challenged on failure.
one of: success, partial
Request correlation UUID.
Canonical public Facebook page used for retrieval.
absolute HTTPS URL
UTC retrieval timestamp.
Completeness of this bounded response. Warnings name restricted, missing, interrupted or unavailable optional data.
Always included.
Always included.
Always included.
Counted upstream requests, decoded response bytes and elapsed milliseconds.
Always included.
≥ 0
Always included.
≥ 0
Always included.
≥ 0
One level of the category tree: id, name, slug, url, parent_id, level (0 for top level) and children_count. slug and url are null for a category without a public page.
up to 1000 items
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Number of categories in the whole Marketplace tree.
No fields match.
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.
| HTTP | failure.code | Meaning |
|---|---|---|
| 200 | partial | Usable data with explicit missing/failed auxiliary coverage. |
| 400 | invalid_request | Malformed, duplicate, conflicting or unsupported parameters. |
| 401 | unauthorized | Missing or invalid service API key. |
| 403 | restricted_page | The resource is private or restricted. |
| 404 | not_found | Unknown route or missing resource. |
| 429 | upstream_rate_limited | Facebook throttled retrieval. |
| 502 | upstream_challenged upstream_error unsupported_page | Source challenge, failure or unsupported/mismatched structure. |
| 502 | response_too_large payload_too_complex request_limit unsafe_redirect | Bounded retrieval or fixed-origin policy failed. |
| 503 | busy | All Facebook worker slots are occupied. |
| 504 | timeout | Request deadline expired. |