Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    PlaybooksE-commerce

    Storefront Research

    What a competing Amazon seller sells in your niche, its prices and Buy Box, the sellers it competes with, and where to source it.

    Id
    storefront-research
    Version
    1.0.0
    Category
    E-commerce
    Status
    Live
    Saved, it runs
    weekly, monthly
    Unit cap
    300 by default, 1 to 3000

    Give the competitor's seller id and your niche (search words or a best-seller list) and every listing of the niche is read for its offers: the products the competitor sells, its price and condition, whether it holds the Buy Box, how many other sellers are on the listing and the lowest new price among them. Each product is then looked for at Target and Best Buy, with the price there and the margin to Amazon's, so the competitor's catalogue becomes a sourcing list.

    Use when an Amazon seller wants to see what a competing seller sells in a niche, at what prices, whether it wins the Buy Box, and where to source the same products.

    Run it with POST /v1/formulas/storefront-research/runs. How runs work is in Running a playbook; what a run costs is below.

    Parameters

    The fields of params, the Basics first. Only the required ones must be given; every other has a default. A field that is not listed is refused. The OpenAPI document has them as the type StorefrontResearchParams.

    Parameters of Storefront Research
    ParameterTypeRequired or defaultWhat it is
    seller_idsBasicslist of stringsrequiredCompetitors' seller ids. The id in a storefront's address (seller=...).1 or more, up to 10.
    queriesBasicslist of stringsrequiredNiche search words. Searched on Amazon; the listings found are checked for the competitor's offers.up to 10, each up to 120 characters.
    categoriesBasicslist of strings[]Best-seller lists. Also check the products of these Best Sellers lists, such as toys-and-games.up to 5, each up to 120 characters.
    results_per_searchFiltersinteger20Listings per search. Each listing is one read of its offers.at least 1, at most 48.
    referral_fee_pctFiltersnumber15Amazon referral fee (%). at least 0, at most 50.
    fulfilment_costFiltersnumber5Fulfilment and shipping a unit (USD). at least 0, at most 100.
    source_at_retailersEnrichmentbooleantrueLook for each product at Target and Best Buy.
    max_resultsOutputinteger100Most rows. The run stops at this many products, Buy Box first.at least 1, at most 500.

    Presets

    Ready-made answers to start from: give them as params, with any of your own beside them.

    A speaker seller on Amazon speaker-seller

    JSON
    {
      "seller_ids": [
        "AAK72K4OIWDXL"
      ],
      "queries": [
        "jbl speaker",
        "jbl headphones"
      ]
    }

    Columns

    The columns of each row’s data, in order; rows also carry a score from 0 to 100, and come best first. A value that is not known is null.

    Columns of Storefront Research
    ColumnLabelTypeShown by default
    competitorCompetitorstringyes
    asinASINstringyes
    productProductstringyes
    competitor_priceIts price (USD)numberyes
    holds_buy_boxHolds the Buy Boxbooleanyes
    fulfilled_by_amazonFBAbooleanno
    sellers_on_listingSellers on the listingintegeryes
    lowest_new_priceLowest new pricenumberyes
    amazon_sells_itAmazon sells itbooleanyes
    reviewsReviewsintegeryes
    source_retailerSourcestringyes
    source_titleSource productstringno
    source_priceSource price (USD)numberyes
    margin_at_its_priceMargin at its price (USD)numberyes
    source_match_confidenceSource match confidencenumberyes
    source_needs_reviewSource needs reviewbooleanyes
    amazon_urlAmazon pageurlyes
    source_urlSource pageurlyes
    scoreScorenumberyes

    Example request

    # Start the run and wait up to 60 seconds for it to finish
    curl -X POST "https://api.enrichednow.com/v1/formulas/storefront-research/runs?wait=60" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"params":{"seller_ids":["AAK72K4OIWDXL"],"queries":["jbl speaker","jbl headphones"],"categories":[],"results_per_search":20,"source_at_retailers":true,"referral_fee_pct":15,"fulfilment_cost":5,"max_results":100},"unit_cap":300}'
    
    # Follow it until it ends, then read its rows, with the id the first call answered
    curl "https://api.enrichednow.com/v1/formula-runs/$RUN_ID?wait=60" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
    curl "https://api.enrichednow.com/v1/formula-runs/$RUN_ID/rows?limit=100" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
    from enrichednow import EnrichedNow
    
    client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY
    
    # Start the run, wait for it to end, and get its rows
    params = {
        "seller_ids": ["AAK72K4OIWDXL"],
        "queries": ["jbl speaker", "jbl headphones"],
        "categories": [],
        "results_per_search": 20,
        "source_at_retailers": True,
        "referral_fee_pct": 15,
        "fulfilment_cost": 5,
        "max_results": 100,
    }
    result = client.run_formula("storefront-research", params, unit_cap=300)
    print(result.run.id, result.run.status, result.run.rows_total, result.run.units_spent)
    
    # Read its rows, best first: pages are fetched as you go
    for row in result:
        print(row.data)

    Install it with pip install enrichednow, then save as run.py and run python3 run.py

    import EnrichedNow from "enrichednow";
    
    const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
    
    // Start the run, wait for it to end, and get its rows
    const params = {
      seller_ids: ["AAK72K4OIWDXL"],
      queries: ["jbl speaker", "jbl headphones"],
      categories: [],
      results_per_search: 20,
      source_at_retailers: true,
      referral_fee_pct: 15,
      fulfilment_cost: 5,
      max_results: 100,
    };
    const { run, rows } = await client.runFormula("storefront-research", params, { unitCap: 300 });
    console.log(run.id, run.status, run.rows_total, run.units_spent);
    
    // Read its rows, best first: pages are fetched as you go
    for await (const row of rows) console.log(row.data);

    Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

    package main
    
    import (
    	"context"
    	"fmt"
    	"log"
    	"time"
    
    	enrichednow "github.com/enrichednow/enrichednow-go"
    )
    
    func main() {
    	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
    	if err != nil {
    		log.Fatal(err)
    	}
    	ctx, cancel := context.WithTimeout(context.Background(), 30*time.Minute)
    	defer cancel()
    
    	// Start the run, wait for it to end, and get its rows
    	params := map[string]any{"seller_ids": []any{"AAK72K4OIWDXL"}, "queries": []any{"jbl speaker", "jbl headphones"}, "categories": []any{}, "results_per_search": 20, "source_at_retailers": true, "referral_fee_pct": 15, "fulfilment_cost": 5, "max_results": 100}
    	run, rows, err := client.RunFormula(ctx, "storefront-research", params, &enrichednow.RunFormulaParams{UnitCap: 300})
    	if err != nil {
    		log.Fatal(err)
    	}
    	fmt.Println(run.ID, run.Status, run.RowsTotal, run.UnitsSpent)
    
    	// Read its rows, best first: pages are fetched as you go
    	for rows.Next() {
    		fmt.Println(string(rows.Current().Data))
    	}
    	if err := rows.Err(); err != nil {
    		log.Fatal(err)
    	}
    }

    Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

    import com.enrichednow.EnrichedNowClient;
    import com.enrichednow.FormulaResult;
    import com.enrichednow.FormulaRunOptions;
    import com.enrichednow.models.FormulaRow;
    import java.util.List;
    import java.util.Map;
    
    public class Run {
        public static void main(String[] args) {
            EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
    
            // Start the run, wait for it to end, and get its rows
            FormulaResult result = client.runFormula("storefront-research", Map.of("seller_ids", List.of("AAK72K4OIWDXL"), "queries", List.of("jbl speaker", "jbl headphones"), "categories", List.of(), "results_per_search", 20, "source_at_retailers", true, "referral_fee_pct", 15, "fulfilment_cost", 5, "max_results", 100), FormulaRunOptions.builder().unitCap(300).build());
            System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().rowsTotal() + " " + result.run().unitsSpent());
    
            // Read its rows, best first: pages are fetched as you go
            for (FormulaRow row : result.rows()) {
                System.out.println(row.data());
            }
        }
    }

    Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

    enrichednow formulas run storefront-research --params-json '{"seller_ids":["AAK72K4OIWDXL"],"queries":["jbl speaker","jbl headphones"],"categories":[],"results_per_search":20,"source_at_retailers":true,"referral_fee_pct":15,"fulfilment_cost":5,"max_results":100}' --unit-cap 300

    Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

    {
      "name": "run_formula",
      "arguments": {
        "formula_id": "storefront-research",
        "params": {
          "seller_ids": [
            "AAK72K4OIWDXL"
          ],
          "queries": [
            "jbl speaker",
            "jbl headphones"
          ],
          "categories": [],
          "results_per_search": 20,
          "source_at_retailers": true,
          "referral_fee_pct": 15,
          "fulfilment_cost": 5,
          "max_results": 100
        }
      }
    }

    It starts a full run with the answers the sample rows below were made with and the default unit cap, waits for it, and reads its rows a page at a time. The key is read from an environment variable. The MCP tab is the same run asked of an agent connected to the MCP server, which runs a preview first.

    Example response

    The data of the first 3 rows a real run returned with these answers on 2026-11-24: it ended ok with 20 rows, after 80 scraper calls charged 71 units. Text over 160 characters is cut here and ends with … [truncated]; the API returns every value whole.

    JSON
    [
      {
        "competitor": "Huppins",
        "asin": "B07QK2SPP7",
        "product": "FLIP 5, Waterproof Portable Bluetooth Speaker, Black, Small",
        "competitor_price": 69.95,
        "holds_buy_box": true,
        "fulfilled_by_amazon": true,
        "sellers_on_listing": 1,
        "lowest_new_price": 69.95,
        "amazon_sells_it": false,
        "reviews": 87309,
        "source_retailer": "Best Buy",
        "source_title": "JBL - Flip 5 Portable Bluetooth Speaker - Black",
        "source_price": 69.95,
        "margin_at_its_price": -15.49,
        "source_match_confidence": 0.75,
        "source_needs_review": true,
        "amazon_url": "https://www.amazon.com/dp/B07QK2SPP7",
        "source_url": "https://www.bestbuy.com/product/jbl-flip-5-portable-bluetooth-speaker-black/J7LXFWCCW6/sku/12611554",
        "score": 65
      },
      {
        "competitor": "Huppins",
        "asin": "B07QDPXCSH",
        "product": "FLIP 5, Waterproof Portable Bluetooth Speaker, Pink",
        "competitor_price": 69.95,
        "holds_buy_box": true,
        "fulfilled_by_amazon": true,
        "sellers_on_listing": 1,
        "lowest_new_price": 69.95,
        "amazon_sells_it": false,
        "reviews": 87309,
        "source_retailer": "Best Buy",
        "source_title": "JBL - Flip 5 Portable Waterproof Bluetooth Speaker (Squad)",
        "source_price": 69.95,
        "margin_at_its_price": -15.49,
        "source_match_confidence": 0.75,
        "source_needs_review": true,
        "amazon_url": "https://www.amazon.com/dp/B07QDPXCSH",
        "source_url": "https://www.bestbuy.com/product/jbl-flip-5-portable-waterproof-bluetooth-speaker-squad/J7LXFWC7XF/sku/13141790",
        "score": 65
      },
      {
        "competitor": "Huppins",
        "asin": "B0CTD6V6S6",
        "product": "PartyBox Stage 320 - Portable Party Speaker with Telescopic Handle & Wide, Sturdy Wheels, Powerful JBL Pro Sound, Futuristic lightshow, Up to 18 Hours of Play … [truncated]",
        "competitor_price": 439.95,
        "holds_buy_box": true,
        "fulfilled_by_amazon": false,
        "sellers_on_listing": 1,
        "lowest_new_price": 439.95,
        "amazon_sells_it": false,
        "reviews": 2281,
        "source_retailer": "Best Buy",
        "source_title": "JBL - PartyBox Stage 320 Portable Wireless Party Speaker - 2024 - Black",
        "source_price": 439.95,
        "margin_at_its_price": -70.99,
        "source_match_confidence": 0.75,
        "source_needs_review": true,
        "amazon_url": "https://www.amazon.com/dp/B0CTD6V6S6",
        "source_url": "https://www.bestbuy.com/product/jbl-partybox-stage-320-portable-wireless-party-speaker-2024-black/J7LXFWX678/sku/6576522",
        "score": 65
      }
    ]

    Each row also has its id, its score, when it was first seen and its evidence: where each value came from. The run and its rows are described in Running a playbook.

    Pricing

    A run costs the units of the work it does, and nothing on top: each scraper call it makes is charged at that scraper's rate, when the call ends ok or partial. It never spends past its unit cap: 300 units unless you give another (at least 1, at most 3000).

    With the answers above, a run is estimated at about 71 units for about 20 rows, and at most 242: 42 searches and 32 lookups across 4 sources, about 20 rows. An estimate for no history; POST /v1/formulas/storefront-research/estimate gives yours, free.

    A preview, mode: preview, is the first 10 rows, charged at what they cost: about 52 units with the answers above. POST /v1/formulas/storefront-research/estimate with mode: preview gives yours, free.

    How a playbook is charged has the rule for every playbook.