Crateandbarrel APIcrateandbarrel.com ↗
Search for furniture and home décor items on Crate & Barrel to instantly view product names, prices, images, and direct links to shop. Browse through results to compare options and find exactly what you're looking for in their catalog.
curl -X GET 'https://api.parse.bot/scraper/d90a345c-2afe-481b-9942-7c4404933c72/search_products?page=1&query=sofa&sort_by=relevance&per_page=24&sort_order=ascending' \ -H 'X-API-Key: $PARSE_API_KEY'
Typed, relational, agent-ready
A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.
- Fully typed · autocompletes
- Objects link to objects
- Typed errors & pagination
Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:
uv add parse-sdk uv run parse init uv run parse add --marketplace crateandbarrel-com-api
uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.
"""Walkthrough: Crate & Barrel SDK — bounded, re-runnable; every call capped."""
from parse_apis.crateandbarrel_com_api import CrateAndBarrel, SortBy, SortOrder, ParseError
client = CrateAndBarrel()
# Search for sofas sorted by price ascending
for product in client.products.search(query="sofa", sort_by=SortBy.PRICE, sort_order=SortOrder.ASCENDING, limit=3):
print(product.name, product.price_min, product.price_max)
# Drill into one result
item = client.products.search(query="dining table", sort_by=SortBy.RATING, limit=1).first()
if item:
print(item.name, item.product_url, item.image_url)
# Typed error handling
try:
for p in client.products.search(query="outdoor chair", limit=2):
print(p.name, p.rating, p.review_count, p.is_new)
except ParseError as e:
print(f"error: {e}")
print("exercised: products.search")
Full-text search across the Crate & Barrel product catalog. Results are auto-iterated; each product includes name, price range, image URL, product page URL, rating, and review count. Sorting options include relevance, price, rating, best selling, and new.
| Param | Type | Description |
|---|---|---|
| page | integer | Page number for paginated results. |
| queryrequired | string | Search query term (e.g. 'sofa', 'lamp', 'dining table'). |
| sort_by | string | Field to sort results by. |
| per_page | integer | Number of results per page (1-100). |
| sort_order | string | Sort direction. |
{
"type": "object",
"fields": {
"page": "current page number",
"total": "total number of matching products",
"per_page": "number of results per page",
"products": "array of product objects with name, price, image, and URL"
},
"sample": {
"data": {
"page": 1,
"total": 1128,
"per_page": 5,
"products": [
{
"sku": "322117",
"name": "Lounge 93\" Sofa",
"is_new": false,
"rating": 4.5,
"image_url": "https://cb.scene7.com/is/image/Crate/LoungeSofa93inTCSOSSS23_3D",
"price_max": 2649,
"price_min": 1549,
"product_url": "https://www.crateandbarrel.com/lounge-93-sofa/s322117",
"review_count": 3550
}
]
},
"status": "success"
}
}About the Crateandbarrel API
The Crateandbarrel API on Parse exposes 1 endpoint for the publicly available data on crateandbarrel.com. Calls return JSON over HTTPS and are billed per successful response.
Pin a release with the API-Snapshot-Version header so canonical updates don't silently change your contract.