Discover/AllModern API
live

AllModern APIallmodern.com

Search AllModern's catalog of modern furniture, lighting, and decor via API. Returns prices, ratings, reviews, images, and product URLs with pagination.

Endpoints
1
Updated
2mo ago

What is the AllModern API?

The AllModern API exposes one endpoint — search_products — that returns up to 48 product listings per page from AllModern's catalog of modern furniture, lighting, and decor. Each response includes 10 fields per product: name, SKU, URL, image URL, sale price, original price, rating, review count, badge, and color options. The endpoint accepts keyword queries and supports five sort orders, making it straightforward to retrieve ranked or filtered product sets.

Try it
Page number for pagination.
Search keyword (e.g. 'sofa', 'lamp', 'rug', 'desk')
Sort order. Accepted values: 'price_low', 'price_high', 'top_rated', 'most_popular', 'newest'. Omitting returns default recommended order.
api.parse.bot/scraper/d58dcdc2-e789-49ff-aef9-0a8efd155b9a/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/d58dcdc2-e789-49ff-aef9-0a8efd155b9a/search_products?page=2&query=lamp&sort_by=price_low' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

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 allmodern-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.

"""
AllModern Product Search API Client

This module provides a Python client for searching and browsing modern furniture,
lighting, and decor products on AllModern.com.

Get your API key from: https://parse.bot/settings
"""

import os
import requests
from typing import Optional, Dict, Any


class ParseClient:
    """Client for interacting with the AllModern Product Search API."""

    def __init__(self, api_key: Optional[str] = None):
        """
        Initialize the Parse API client.

        Args:
            api_key: API key for authentication. If not provided, reads from PARSE_API_KEY env var.

        Raises:
            ValueError: If no API key is provided or found in environment.
        """
        self.base_url = "https://api.parse.bot"
        self.scraper_id = "d58dcdc2-e789-49ff-aef9-0a8efd155b9a"
        self.api_key = api_key or os.getenv("PARSE_API_KEY")

        if not self.api_key:
            raise ValueError(
                "API key not provided. Set PARSE_API_KEY environment variable or pass api_key parameter."
            )

    def _call(self, endpoint: str, method: str = "POST", **params) -> Dict[str, Any]:
        """
        Make an API call to the Parse service.

        Args:
            endpoint: The endpoint name (e.g., 'search_products')
            method: HTTP method ('GET' or 'POST')
            **params: Query/body parameters to send with the request

        Returns:
            Dictionary containing the API response

        Raises:
            requests.RequestException: If the API call fails
            ValueError: If an unsupported HTTP method is provided
        """
        url = f"{self.base_url}/scraper/{self.scraper_id}/{endpoint}"
        headers = {
            "X-API-Key": self.api_key,
            "Content-Type": "application/json",
        }

        if method == "GET":
            response = requests.get(url, headers=headers, params=params)
        elif method == "POST":
            response = requests.post(url, headers=headers, json=params)
        else:
            raise ValueError(f"Unsupported HTTP method: {method}")

        response.raise_for_status()
        return response.json()

    def search_products(
        self,
        query: str,
        page: int = 1,
        sort_by: str = "",
    ) -> Dict[str, Any]:
        """
        Search for products on AllModern by keyword.

        Args:
            query: Search keyword (e.g., 'sofa', 'lamp', 'rug', 'desk')
            page: Page number for pagination (default: 1)
            sort_by: Sort order - 'price_low', 'price_high', 'top_rated', 'most_popular', 'newest'

        Returns:
            Dictionary containing search results with products and pagination info
        """
        params = {
            "query": query,
            "page": page,
        }
        if sort_by:
            params["sort_by"] = sort_by

        return self._call("search_products", method="GET", **params)


def format_price(price: float) -> str:
    """Format price as currency string."""
    return f"${price:.2f}"


def print_product_summary(product: Dict[str, Any], index: int = 0) -> None:
    """Print a concise product summary."""
    name = product["name"]
    price = product.get("sale_price") or product.get("original_price", 0)
    rating = product.get("rating", "N/A")
    reviews = product.get("review_count", 0)
    
    if index > 0:
        print(f"\n  {index}. {name}")
    else:
        print(f"  • {name}")
    
    print(f"     Price: {format_price(price)} | Rating: {rating}★ ({reviews} reviews)")
    
    if product.get("badge"):
        print(f"     Badge: {product['badge']}")


def main():
    """Demonstrate practical usage of the AllModern Product Search API."""
    # Initialize the client
    client = ParseClient()

    print("=" * 80)
    print("AllModern Furniture Search - Practical Workflow")
    print("=" * 80)

    try:
        # Workflow 1: Find top-rated furniture for home office setup
        print("\n📍 WORKFLOW: Furnishing a modern home office\n")
        
        furniture_items = ["desk", "office chair", "bookshelf"]
        office_furniture = {}

        for item in furniture_items:
            print(f"\n🔍 Searching for best-rated '{item}'...")
            results = client.search_products(query=item, page=1, sort_by="top_rated")

            if results.get("products"):
                office_furniture[item] = results["products"][0]
                print(f"   Found: {results['total_results']} results")
                print(f"   Top match: {results['products'][0]['name']}")
                print(f"   Price: {format_price(results['products'][0].get('sale_price') or results['products'][0].get('original_price', 0))}")
                print(f"   Rating: {results['products'][0]['rating']}★ ({results['products'][0]['review_count']} reviews)")

        # Workflow 2: Budget comparison - find affordable alternatives
        print("\n" + "-" * 80)
        print("\n💰 WORKFLOW: Finding budget-friendly alternatives\n")

        search_term = "sofa"
        print(f"Comparing {search_term} options by price...\n")

        # Get most expensive
        expensive = client.search_products(query=search_term, page=1, sort_by="price_high")
        # Get cheapest
        affordable = client.search_products(query=search_term, page=1, sort_by="price_low")

        if expensive.get("products") and affordable.get("products"):
            expensive_sofa = expensive["products"][0]
            cheap_sofa = affordable["products"][0]

            print(f"💎 Most Expensive Option:")
            print(f"   {expensive_sofa['name']}")
            print(f"   Price: {format_price(expensive_sofa.get('sale_price') or expensive_sofa.get('original_price', 0))}")
            print(f"   Rating: {expensive_sofa['rating']}★\n")

            print(f"🎯 Most Affordable Option:")
            print(f"   {cheap_sofa['name']}")
            print(f"   Price: {format_price(cheap_sofa.get('sale_price') or cheap_sofa.get('original_price', 0))}")
            print(f"   Rating: {cheap_sofa['rating']}★")

            price_diff = (expensive_sofa.get('sale_price') or expensive_sofa.get('original_price', 0)) - \
                        (cheap_sofa.get('sale_price') or cheap_sofa.get('original_price', 0))
            print(f"\n   💵 Price difference: {format_price(price_diff)}")

        # Workflow 3: Browse multiple pages for lighting options
        print("\n" + "-" * 80)
        print("\n🔦 WORKFLOW: Browsing lighting products across pages\n")

        search_term = "modern lamp"
        total_reviewed = 0
        best_rated_lamp = None
        best_rating = 0

        for page in range(1, 3):
            results = client.search_products(query=search_term, page=page)
            
            print(f"Page {page} of {results['total_pages']}:")
            print(f"  Showing {results['products_count']} products (Total available: {results['total_results']})\n")

            for idx, product in enumerate(results["products"][:3], 1):
                rating = product.get("rating", 0)
                if rating > best_rating:
                    best_rating = rating
                    best_rated_lamp = product

                print_product_summary(product, idx)
                total_reviewed += 1

            if page >= 2:
                break

        if best_rated_lamp:
            print(f"\n⭐ Best-rated lamp found: {best_rated_lamp['name']}")
            print(f"   Rating: {best_rated_lamp['rating']}★ ({best_rated_lamp['review_count']} reviews)")
            print(f"   URL: {best_rated_lamp['url']}")

        # Workflow 4: Sale items discovery
        print("\n" + "-" * 80)
        print("\n🏷️  WORKFLOW: Finding items on sale\n")

        search_term = "rug"
        results = client.search_products(query=search_term, page=1, sort_by="most_popular")

        sale_items = [p for p in results.get("products", []) if p.get("badge") == "Sale"]
        
        print(f"Searching '{search_term}' for sale items...\n")
        print(f"Found {len(sale_items)} items on sale out of {results['products_count']} shown\n")

        if sale_items:
            for idx, item in enumerate(sale_items[:3], 1):
                original = item.get("original_price", 0)
                sale = item.get("sale_price", original)
                savings = original - sale

                print(f"{idx}. {item['name']}")
                print(f"   Was: {format_price(original)} → Now: {format_price(sale)}")
                print(f"   You save: {format_price(savings)} ({(savings/original*100):.0f}% off)")
                print(f"   Rating: {item['rating']}★\n")

        print("=" * 80)
        print("✅ Workflow demonstration completed successfully!")
        print("=" * 80)

    except requests.RequestException as e:
        print(f"❌ API request failed: {e}")
    except KeyError as e:
        print(f"❌ Unexpected response format: Missing key {e}")
    except Exception as e:
        print(f"❌ An error occurred: {e}")


if __name__ == "__main__":
    main()
All endpoints · 1 totalmissing one? ·

Search for products by keyword on AllModern. Returns product listings with name, price, rating, reviews, images, and URLs. Results are paginated with 48 products per page.

Input
ParamTypeDescription
pageintegerPage number for pagination.
queryrequiredstringSearch keyword (e.g. 'sofa', 'lamp', 'rug', 'desk')
sort_bystringSort order. Accepted values: 'price_low', 'price_high', 'top_rated', 'most_popular', 'newest'. Omitting returns default recommended order.
Response
{
  "type": "object",
  "fields": {
    "page": "integer - current page number",
    "query": "string - search keyword used",
    "products": "array of product objects with keys: name, sku, url, image_url, sale_price, original_price, rating, review_count, badge, color_options",
    "total_pages": "integer - total number of pages available",
    "total_results": "integer or null - total number of matching products",
    "products_count": "integer - number of products on this page"
  },
  "sample": {
    "data": {
      "page": 1,
      "query": "sofa",
      "products": [
        {
          "sku": "kkah1348",
          "url": "https://www.allmodern.com/furniture/pdp/allmodern-wanetta-88-upholstered-sofa-with-solid-wood-leg-kkah1348.html",
          "name": "Wanetta 88'' Upholstered Sofa With Solid Wood Leg",
          "badge": "Sale",
          "rating": 4.7,
          "image_url": "https://assets.wfcdn.com/im/77486600/resize-h400-w400%5Ecompr-r85/4257/425700362/Wanetta+88%27%27+Upholstered+Sofa+With+Solid+Wood+Leg.jpg",
          "sale_price": 1399,
          "review_count": 170,
          "color_options": "5 Colors",
          "original_price": 1599
        }
      ],
      "total_pages": 6,
      "total_results": 273,
      "products_count": 48
    },
    "status": "success"
  }
}

About the AllModern API

What the API Returns

The search_products endpoint accepts a required query string — such as 'sofa', 'desk', or 'pendant light' — and returns a paginated list of matching products from AllModern. Each product object includes name, sku, url, image_url, sale_price, original_price, rating, review_count, badge (such as sale or bestseller labels), and color_options. The response envelope also carries total_results, total_pages, products_count, and the page and query values used in the request.

Sorting and Pagination

Results are paginated at 48 products per page. The optional page parameter navigates between pages; total_pages tells you how many exist for a given query. The optional sort_by parameter accepts five values: price_low, price_high, top_rated, most_popular, and newest. Omitting sort_by returns the default relevance ordering. Combining sort_by=price_low with pagination lets you walk the full sorted catalog for any keyword.

Pricing and Review Data

Both sale_price and original_price are returned for each product, so you can compute discount amounts or filter to items currently on sale. rating and review_count are included at the product level, which is enough to sort or filter by social proof without making additional calls. total_results may occasionally be null depending on how AllModern surfaces that count for a given query.

Reliability & maintenance

The AllModern API is a managed, monitored endpoint for allmodern.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when allmodern.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official allmodern.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Build a price-comparison tool that tracks sale_price vs original_price over time for furniture categories
  • Aggregate rating and review_count across product listings to surface top-rated modern decor items
  • Power a shopping feed by iterating through all total_pages for a given keyword query
  • Monitor badge fields to detect when products receive sale or bestseller status
  • Build a catalog index of AllModern SKUs for downstream inventory or analytics workflows
  • Filter and rank results by sort_by=newest to track new product introductions in a specific category
  • Populate a curated furniture recommendation widget using product image_url and url fields
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does AllModern have an official developer API?+
AllModern does not publish a public developer API. No official documentation or API keys are offered to third parties.
What does the `search_products` endpoint return for each product?+
Each product object includes name, sku, url, image_url, sale_price, original_price, rating, review_count, badge, and color_options. The response also includes pagination metadata: page, total_pages, total_results, and products_count.
Can I retrieve product detail pages or individual product specs?+
Not currently. The API covers search results with summary-level fields per product. Detailed specifications, dimensions, materials, and seller information are not included. You can fork the API on Parse and revise it to add a product detail endpoint.
Is `total_results` always populated?+
No. The total_results field is typed as integer or null and may be null for certain queries depending on how AllModern surfaces that count. Use total_pages and products_count as reliable fallbacks for pagination logic.
Does the API support filtering by category, price range, or brand?+
The current API accepts a free-text query and a sort_by sort order. Category filters, price range filters, and brand filters are not exposed as parameters. You can fork the API on Parse and revise it to add those filter parameters as separate inputs.
Page content last updated . Spec covers 1 endpoint from allmodern.com.
Related APIs in EcommerceSee all →
furniture.com API
Search and browse Furniture.com's product catalog by keywords, then narrow results using filters like color, material, style, type, and brand. Sort by price or ratings and navigate through results with pagination to find the perfect furniture for your needs.
westelm.com API
Search West Elm's furniture and home décor catalog by keyword, browse autocomplete suggestions, and filter results by price, style, color, and other attributes. Sort products by relevance, price, or rating and paginate through results.
chairish.com API
Search and browse vintage furniture and decor listings on Chairish, view detailed product information with pricing and availability, and research sellers through their profiles and customer reviews. Explore product categories and discover shop recommendations to find exactly what you're looking for.
houzz.com API
Search for home decor and furniture products, view detailed information and customer reviews, find professional designers and contractors with their ratings, and browse design inspiration photos all in one place. Build your ideal home by accessing comprehensive product catalogs, professional portfolios, and curated design ideas from the Houzz marketplace.
anker.com API
Search and browse Anker products to find prices, images, variants, and availability information directly from their online store. Get detailed product specifications to compare items and make informed purchasing decisions.
wayfair.com API
Browse and search Wayfair's product catalog. Retrieve product details by SKU or URL, explore daily sales and promotions, browse categories, and filter products by keyword, price, and physical dimensions.
ikea.com API
Search and browse IKEA's full product catalog to find items by category, compare measurements, read customer reviews, and check real-time store availability and current deals. Discover new arrivals and best-selling products to help you shop smarter and find exactly what you need.
zarahome.com API
Search and browse Zara Home's furniture and home décor catalog. Retrieve product details including name, category, price, available sizes or dimensions, materials, colors, and availability status. Browse by category or search by keyword across the full product range.