{"data":{"version":"0.7.0","base":"https://api.ecomscout.com","auth":{"headers":["Authorization: Bearer <API_KEY>","X-Api-Key: <API_KEY>"],"note":"Header only. Do not pass api_key as a query param. Omit the key in open-dev mode. Only 2xx responses burn daily quota / plan buckets; 4xx do not. Contacts: GET /v1/stores/{domain}/contacts or embed on store profile."},"personas":[{"id":"app-builder","title":"Ship a product on ecommerce data","audience":"Engineers building store look-ups, competitive catalogs, price alerts, app-stack reports, or Shopify-adjacent tools.","startHere":"/v1/stores?q={domain-or-brand}&limit=5","recipes":[{"id":"store-profile","title":"Resolve a merchant and render a profile card","when":"User pastes a URL, domain, or brand name and you need one canonical store object.","steps":[{"method":"GET","path":"/v1/stores?q=gruntstyle&limit=5","why":"Fuzzy domain search. Pick the best match; do not invent a domain."},{"method":"GET","path":"/v1/stores/gruntstyle.com","why":"Unified profile: metrics, traffic mix, apps, screenshot, socials, company and contact counts (emails/phones are revealed by /contacts)."},{"method":"GET","path":"/v1/stores/gruntstyle.com/contacts","why":"Company name, emails, phones, LinkedIn, address, with emailStatus marking mailbox-verified addresses and people for named founders/staff. 1 credit per store, all contacts included."},{"method":"GET","path":"/v1/stores/gruntstyle.com/products?isBestSeller=true&limit=12","why":"Hero SKUs for the card."}]},{"id":"catalog-search","title":"Find listings across stores","when":"User looks up a titled SKU across merchants — who sells it and at what price.","steps":[{"method":"GET","path":"/v1/products?q=dog%20toy&isBestSeller=true&priceMin=10&priceMax=80&limit=20","why":"Title search + price band + bestseller flag."},{"method":"GET","path":"/v1/products/{domain}/{handle}","why":"Canonical product after the user clicks a row."},{"method":"GET","path":"/v1/stores/{domain}","why":"Seller context (grade, visits, dropship flag) next to the SKU."}]},{"id":"niche-research","title":"Is this product idea crowded?","when":"User wants to know if a product idea is already everywhere, what it sells for, and who sells it.","steps":[{"method":"GET","path":"/v1/products/search?q=dog%20cooling%20mat","why":"How many stores sell it, usual price, crowded or not, trend."},{"method":"GET","path":"/v1/products/research/{id}","why":"Price spread, similar ideas, sample stores. Copy id from search."},{"method":"GET","path":"/v1/products/research/{id}/sellers?sort=price&limit=25","why":"Who sells it, cheapest first."}]},{"id":"price-watch","title":"Price and assortment change feed","when":"You are building alerts, a watcher, or a daily digest of what moved.","steps":[{"method":"GET","path":"/v1/products/changes?changeType=price_decrease&minPriceChangePct=10&since=2026-08-01&limit=50","why":"Meaningful markdowns only."},{"method":"GET","path":"/v1/changes?entity=product&domain=gruntstyle.com&since=2026-08-01","why":"One store's product+store movements, already summarized."}]},{"id":"stack-intel","title":"App-stack intelligence for a merchant or a Shopify app","when":"You need installed apps on a store, or merchants using a given app.","steps":[{"method":"GET","path":"/v1/apps?q=klaviyo&limit=5","why":"Resolve the App Store slug."},{"method":"GET","path":"/v1/apps/klaviyo-email-marketing","why":"Catalog row + observed install-base sample."},{"method":"GET","path":"/v1/apps/klaviyo-email-marketing/stores?limit=20","why":"Merchants observed running that app, sorted by visits."},{"method":"GET","path":"/v1/stores/gruntstyle.com/apps","why":"Full stack for one store (BuiltWith slugs × shopify_apps)."}]},{"id":"catalog-filters","title":"App + product + geo filters (same as the app store table)","when":"User wants stores that sell a product niche, already run an app, and sit in a region — include/exclude, not one slug.","steps":[{"method":"GET","path":"/v1/stores?country=US&includeProducts=sub:Dog|sub:Cat&excludeProducts=sub:Other%20Pets&includeApps=klaviyo&limit=25","why":"US shops selling Dog or Cat, not Other Pets, with Klaviyo. Product tokens: cat:|sub:|type:|name:."},{"method":"GET","path":"/v1/stores?country=Europe&excludeCountries=Lithuania&excludeApps=klaviyo,omnisend&limit=25","why":"Europe minus Lithuania, without those ESPs. Regions: Europe, EU, Nordics, DACH, Baltics, Benelux."},{"method":"GET","path":"/v1/stores?country=US&includeProducts=sub:Dog|sub:Cat&excludeProducts=sub:Other%20Pets&includeApps=klaviyo&groupBy=vertical&limit=20","why":"Same cohort, grouped. Filters apply before groupBy."}]}]},{"id":"vc-analyst","title":"Screen ecommerce markets for venture diligence","audience":"Analysts at VC / PE / corp-dev desks who need TAM slices, peer sets, growth movers, and tech-stack tells — not storefront scrapes.","startHere":"/v1/analytics/overview","recipes":[{"id":"market-brief","title":"One-page market brief","when":"Partner asks 'how big is DTC apparel' or 'what does the coverage look like'.","steps":[{"method":"GET","path":"/v1/analytics/overview","why":"Coverage counts, averages, top verticals and countries."},{"method":"GET","path":"/v1/analytics/verticals?limit=30","why":"Store count + modeled revenue/visits/ad-spend by vertical."},{"method":"GET","path":"/v1/analytics/countries?vertical=Fashion&limit=20","why":"Geo mix inside one vertical."}]},{"id":"product-white-space","title":"Find white space in a product niche","when":"Partner asks if a SKU idea is already saturated across Shopify.","steps":[{"method":"GET","path":"/v1/products/search?q=posture%20corrector&market=UNTAPPED,LOW%20COMPETITION","why":"Product ideas with few sellers."},{"method":"GET","path":"/v1/products/research/{id}","why":"How crowded it is, price band, similar ideas."}]},{"id":"peer-set","title":"Build a comparable set","when":"You have a target domain and need peers by vertical, country, and scale.","steps":[{"method":"GET","path":"/v1/stores/{domain}","why":"Read vertical, country, visits, modeled revenue, grade, dropship flag."},{"method":"GET","path":"/v1/stores?vertical=Fashion&country=US&minVisits=50000&sort=revenue&limit=25","why":"Same-vertical, same-country, similar-scale screen."},{"method":"GET","path":"/v1/stores?country=US&includeProducts=sub:Dog|sub:Cat&excludeProducts=sub:Other%20Pets&includeApps=klaviyo&limit=25","why":"App + product filters: US dog/cat shops with Klaviyo, not Other Pets."},{"method":"GET","path":"/v1/stores/compare?domains=gruntstyle.com,titan.fitness,michaeltoddbeauty.com","why":"Side-by-side cards; missing domains land in notFound, not 404."}]},{"id":"competitors","title":"Competitors of one store (the app's Competitors tab)","when":"User asks 'who competes with X' or wants a ranked peer list without hand-picking filters.","steps":[{"method":"GET","path":"/v1/stores/{domain}/competitors?limit=12","why":"Ranked by score: shared product types, traffic proximity, same country → region → global. match.geo says which pass."},{"method":"GET","path":"/v1/stores/compare?domains={domain},{competitor1},{competitor2}","why":"Full cards for the top names; quote sharedTokens as the 'why'."}]},{"id":"cohort-breakdown","title":"Grouped store list (country / vertical trends for content)","when":"You need the same filtered store table as the app, rolled up by country, vertical, industry, or category — not the unfiltered TAM snapshot.","steps":[{"method":"GET","path":"/v1/stores?vertical=Fashion&minVisits=10000&isDropshipper=false&groupBy=country&groupMetric=median&sort=stores&limit=25","why":"UI Breakdown: Fashion cohort, ≥10k visits, no dropship, by country. meta.mode=grouped."},{"method":"GET","path":"/v1/stores?countryCode=US&minVisits=10000&groupBy=vertical&sort=revenue&limit=20","why":"Same endpoint, US cohort sliced by vertical."},{"method":"GET","path":"/v1/stores?vertical=Fashion&groupBy=country&groupBy2=category&limit=50","why":"Nested: country → category. parent is the country; leaf is the category."},{"method":"GET","path":"/v1/stores?vertical=Fashion&countryCode=US&minVisits=10000&sort=visits&limit=25","why":"Drop groupBy to list the stores behind one cell."}]},{"id":"growth-screen","title":"Who is growing or shrinking","when":"You want momentum, not a static rank.","steps":[{"method":"GET","path":"/v1/analytics/movers?metric=visits&direction=up&minPct=15&limit=25","why":"Largest recent visit jumps."},{"method":"GET","path":"/v1/analytics/movers?metric=revenue&direction=down&vertical=Fashion&minPct=10","why":"Modeled-revenue declines inside a thesis vertical."},{"method":"GET","path":"/v1/stores/{domain}/history?limit=90","why":"Daily snapshots for the names that survive the screen."},{"method":"GET","path":"/v1/stores/{domain}/traffic?limit=24","why":"Monthly series + latest SimilarWeb mix (organic/paid/social)."}]},{"id":"diligence-pack","title":"Diligence pack for one name","when":"IC memo / first-look on a single merchant.","steps":[{"method":"GET","path":"/v1/stores/{domain}","why":"Metrics, conversion band, AOV, traffic mix, apps, screenshot, socials."},{"method":"GET","path":"/v1/stores/{domain}/history?limit=180","why":"Trajectory of revenue, visits, rating, catalog size."},{"method":"GET","path":"/v1/stores/{domain}/products?isBestSeller=true&limit=20","why":"What actually sells."},{"method":"GET","path":"/v1/changes?domain={domain}&since=2026-01-01","why":"Assortment, price, and store-level movements in one feed."},{"method":"GET","path":"/v1/stores/{domain}/apps","why":"Stack tells (ESP, reviews, subscriptions, payments)."}]}]},{"id":"market-analyst","title":"Numbers for a market report, newsletter or article","audience":"Analysts, journalists and content teams who need defensible month-over-month statistics (which verticals, countries or size tiers grew) without looping over stores.","startHere":"/v1/analytics/trends/coverage?minVisits=10000","recipes":[{"id":"coverage-first","title":"Check the sample before quoting a trend","when":"Before any 'X grew Y%' sentence: know how many stores have readings in both months.","steps":[{"method":"GET","path":"/v1/analytics/trends/coverage?minVisits=10000","why":"storeCount and storesAboveFloor per month. History is thin before 2025-10; pick months with thousands of stores."},{"method":"GET","path":"/v1/analytics/trends/coverage?countryCode=US&vertical=Skincare","why":"Same, scoped to the cohort you will write about."}],"prompts":["How many US skincare stores have traffic history for both January and June 2026?","Which months are safe to compare for a year-over-year apparel story?"]},{"id":"vertical-growth-table","title":"Which verticals grew this half-year","when":"Headline table for an article: median growth per vertical, paired cohort, one call.","steps":[{"method":"GET","path":"/v1/analytics/trends?groupBy=vertical&from=2026-01&to=2026-06&minVisits=10000&sort=growth&limit=25","why":"Per vertical: storeCount, medianGrowthPct, totalGrowthPct, risingSharePct. Quote medianGrowthPct with storeCount."},{"method":"GET","path":"/v1/analytics/trends?groupBy=category&from=2026-01&to=2026-06&vertical=Apparel&minStores=30","why":"Drill one vertical into product categories (Clothing, Activewear, ...)."}],"prompts":["Give me a table of Shopify verticals ranked by median visit growth, Jan to Jun 2026, at least 50 stores each.","Inside Apparel, which product categories grew fastest in H1 2026?"]},{"id":"country-and-size","title":"Country and size-tier angle","when":"The story is geographic ('DACH beauty is up') or about small vs big merchants.","steps":[{"method":"GET","path":"/v1/analytics/trends?groupBy=country&from=2026-01&to=2026-06&vertical=Skincare&sort=growth","why":"Country rows for one vertical."},{"method":"GET","path":"/v1/analytics/trends?groupBy=sizeTier&from=2026-01&to=2026-06&country=Europe","why":"Did sub-10k-visit stores or 1M+ stores grow more? sizeTier is the visits band in the from month."},{"method":"GET","path":"/v1/analytics/trends?groupBy=month&from=2025-10&to=2026-06&countryCode=US&vertical=Skincare&cohort=all","why":"Monthly series for a chart; cohort=all keeps only stores present in every month."}],"prompts":["Which European countries had the strongest skincare traffic growth in the first half of 2026?","Chart monthly visits for US skincare stores from October 2025 to June 2026, same stores every month."]},{"id":"named-examples","title":"Name the stores behind the statistic","when":"The editor wants three examples for the paragraph.","steps":[{"method":"GET","path":"/v1/analytics/trends/stores?from=2026-03&to=2026-06&countryCode=DE&vertical=Skincare&direction=up&sort=delta&limit=10","why":"Biggest absolute visit gains in the cohort, with page.total for the whole list."},{"method":"GET","path":"/v1/stores/{domain}","why":"Profile for the quote: category, modeled revenue band, apps, socials."}],"prompts":["Which German skincare stores gained the most monthly visits between March and June 2026? Give me five with their traffic.","Find three fast-growing Nordic home decor stores I can mention in a newsletter."]},{"id":"app-adoption-angle","title":"Tech-stack angle (Klaviyo, Recharge, Shop Pay...)","when":"Story about a tool's merchants: do Klaviyo stores grow faster?","steps":[{"method":"GET","path":"/v1/analytics/trends?groupBy=vertical&from=2026-01&to=2026-06&appSlug=klaviyo&minStores=30","why":"Growth by vertical among stores using one app."},{"method":"GET","path":"/v1/analytics/trends?groupBy=vertical&from=2026-01&to=2026-06&excludeApps=klaviyo&minStores=30","why":"Same window without the app; compare medianGrowthPct side by side."}],"prompts":["Do Klaviyo stores grow faster than non-Klaviyo stores? Compare median visit growth by vertical for H1 2026."]}]},{"id":"audience-builder","title":"Build, size and export merchant audiences","audience":"Data partners, ad-tech and outbound teams who segment Shopify merchants (market, stack, size, product space), suppress what they already have, export compact rows, enrich their own lists and find lookalikes. Rows are compact tiers; per-store detail stays on GET /v1/stores/{domain}.","startHere":"/v1/audiences/preview?countryCode=US&vertical=Skincare&appSlug=klaviyo&minRevenue=50000","recipes":[{"id":"vocabulary","title":"Learn the filter vocabulary before guessing values","when":"You need the exact vertical / category / country / app values the index uses.","steps":[{"method":"GET","path":"/v1/audiences/options?field=vertical&limit=50","why":"Verticals with store counts."},{"method":"GET","path":"/v1/audiences/options?field=category&vertical=Skincare","why":"Categories inside one vertical."},{"method":"GET","path":"/v1/audiences/options?field=appSlug&q=klaviyo","why":"App slugs as stored (klaviyo, not the App Store handle)."},{"method":"GET","path":"/v1/audiences/options?field=revenueTier","why":"Tier keys: under_10k, 10k_50k, 50k_250k, 250k_1m, 1m_plus."}],"prompts":["What verticals and categories does EcomScout use for beauty brands?","What is the app slug for Klaviyo and how many stores use it?"]},{"id":"size-then-export","title":"Size a segment, then export it","when":"Default flow for any audience: preview is one store search, export costs rows.","steps":[{"method":"GET","path":"/v1/audiences/preview?countryCode=US&vertical=Skincare&appSlug=klaviyo&minRevenue=50000","why":"count, emailCoveragePct, breakdown by country / vertical / category / sizeTier / revenueTier / apps, 10 sample rows, exportable flag."},{"method":"GET","path":"/v1/audiences/export?countryCode=US&vertical=Skincare&appSlug=klaviyo&minRevenue=50000&include=contacts,channel&limit=500","why":"Compact rows + emails. page.nextCursor until null. Each store = 1 exportRows, contacts included, once per billing period."},{"method":"GET","path":"/v1/audiences/export?countryCode=US&vertical=Skincare&appSlug=klaviyo&minRevenue=50000&format=csv&requireEmail=true&limit=1000","why":"CSV with only rows that have a verified email. Cursor arrives in the x-next-cursor header."}],"prompts":["How many US skincare stores on Klaviyo make over 50k a month, and what share has an email?","Export US skincare Shopify stores using Klaviyo with 50k+ monthly revenue as CSV, emails only."]},{"id":"suppress-and-page","title":"Suppress what you already have and page safely","when":"You hold a customer or prospect list and want only net-new stores.","steps":[{"method":"POST","path":"/v1/audiences/export  {\"countryCode\":\"US\",\"vertical\":\"Skincare\",\"appSlug\":\"klaviyo\",\"excludeDomains\":[\"a.com\",\"b.com\"],\"limit\":1000,\"format\":\"ndjson\",\"sort\":\"domain\"}","why":"POST accepts up to 5,000 excludeDomains. Keep filters identical between pages: the cursor is signed to the definition."},{"method":"POST","path":"/v1/audiences/export  {\"...same body...\",\"cursor\":\"<x-next-cursor>\"}","why":"Next page. Cursors expire after 24h and are bound to your key."}],"prompts":["Give me US skincare Klaviyo stores we do not already have (here is our list of 2,000 domains), as NDJSON."]},{"id":"enrich-own-list","title":"Enrich a list you already own","when":"You have domains from a pixel, CRM or spreadsheet and want tiers, category, country and contacts for each.","steps":[{"method":"POST","path":"/v1/audiences/enrich  {\"domains\":[\"gymshark.com\",\"tatcha.com\"],\"include\":[\"contacts\",\"channel\"]}","why":"Up to 500 domains per call. data[] compact rows, missing[] unknown domains. Charged per found row."},{"method":"GET","path":"/v1/stores/{domain}","why":"Full profile for the few you want to dig into (raw visits, revenue band, apps, products)."}],"prompts":["Here are 300 Shopify domains from our pixel; tag each with vertical, revenue tier, country and contact email."]},{"id":"lookalike","title":"Lookalikes from seed stores","when":"A client says 'brands like these three' and you need the audience.","steps":[{"method":"POST","path":"/v1/audiences/lookalike  {\"seeds\":[\"tatcha.com\",\"summerfridays.com\",\"glowrecipe.com\"],\"limit\":50,\"filters\":{\"countryCode\":\"US\"}}","why":"Learns category / vertical / industry / country / revenue band / shared apps from the seeds; returns scored rows with matchedOn."},{"method":"GET","path":"/v1/audiences/preview?countryCode=US&category=Skincare%20Products&revenueTier=250k_1m,1m_plus","why":"Turn the learned profile into a reusable, exportable definition."}],"prompts":["Find 50 US stores that look like Tatcha, Summer Fridays and Glow Recipe.","Build an audience of brands similar to our top three customers and tell me how big it is."]},{"id":"save-and-diff","title":"Save an audience and pull only what changed","when":"Weekly or monthly refresh: you want new entrants, not the whole list again.","steps":[{"method":"POST","path":"/v1/audiences  {\"name\":\"US skincare Klaviyo 50k+\",\"definition\":{\"countryCode\":\"US\",\"vertical\":\"Skincare\",\"appSlug\":\"klaviyo\",\"minRevenue\":50000}}","why":"Stores the definition and a snapshot of member domains (ceiling applies)."},{"method":"GET","path":"/v1/audiences/{id}/changes?commit=true&include=contacts&limit=200","why":"entered[] rows and left[] domains since the last snapshot; commit=true moves the snapshot forward."},{"method":"GET","path":"/v1/audiences/{id}/export?format=csv&limit=1000","why":"Full export of the saved definition whenever needed."}],"prompts":["Save this segment as 'US skincare Klaviyo 50k+' and every Monday tell me which stores joined or dropped out."]},{"id":"verify-audience","title":"Lead list: filter, save, verify, read the people","when":"The user wants names, checked emails and LinkedIn profiles for every store that sells a product or uses an app.","steps":[{"method":"GET","path":"/v1/audiences/preview?includeProducts=name:yoga%20mat&countryCode=US&wait=20","why":"Size and 10 sample rows. By app instead: appSlug=klaviyo. 202 {status:'preparing'} means the product match is still running; repeat the call."},{"method":"POST","path":"/v1/audiences?wait=20  {\"name\":\"US yoga mat sellers\",\"definition\":{\"includeProducts\":\"name:yoga mat\",\"countryCode\":\"US\"}}","why":"Save the list. Keep data.id."},{"method":"GET","path":"/v1/audiences/{id}/verify","why":"Free. next.creditCost = what starting would cost (1 contact credit per store)."},{"method":"POST","path":"/v1/audiences/{id}/verify  {\"maxStores\":200}","why":"Unlocks stores checked this week at once and queues the rest: people search, mailbox check, then LinkedIn lookup."},{"method":"GET","path":"/v1/audiences/{id}/verify","why":"Poll every 30-60s. status running → done; emails{} and linkedin{} are the two progress tracks; etaMinutes is a rough estimate."},{"method":"GET","path":"/v1/audiences/{id}/contacts?limit=50","why":"One row per store: people[] {name, title, email, emailStatus, linkedinUrl, linkedinStatus} and inboxes[]. Free."}],"prompts":["Find US stores selling yoga mats, save them as an audience and get me the founders' emails and LinkedIn profiles.","Which UK stores use Recharge? Verify their contacts and list the people I should email."]},{"id":"growth-and-channel","title":"Momentum and acquisition-channel segments","when":"Ad buyers want merchants who are growing or already buying paid traffic.","steps":[{"method":"GET","path":"/v1/audiences/preview?countryCode=US&vertical=Apparel&minVisitsGrowthPct=20&growthWindow=3","why":"Stores whose latest traffic month is 20%+ above three months earlier."},{"method":"GET","path":"/v1/audiences/preview?countryCode=US&vertical=Skincare&mainMarketingChannel=Paid&minAdSpend=5000","why":"Paid-first merchants with modeled ad spend of 5k+ per month."},{"method":"GET","path":"/v1/audiences/export?countryCode=US&vertical=Skincare&mainMarketingChannel=Paid&minAdSpend=5000&minTrustpilotRating=4&updatedSince=2026-09-01&limit=500","why":"Add trust and freshness constraints, then export."}],"prompts":["US apparel stores growing 20%+ in traffic over the last quarter.","US skincare brands whose main channel is paid, spend 5k+ a month on ads and have a Trustpilot rating of 4 or better."]}]},{"id":"competitor-tracker","title":"Watch a competitor with Signals","audience":"Agents and operators who need daily sales, inventory, ads-vs-revenue, and change alerts on stores they track — not a one-shot catalog lookup. Two observed stores: gruntstyle.com (sales chart) and magbak.com (ads lift).","startHere":"POST /v1/signals {domain}","recipes":[{"id":"start-watch","title":"Create a signal and wait for the first probe","when":"User says 'track gruntstyle' or pastes a competitor URL.","steps":[{"method":"GET","path":"/v1/stores/gruntstyle.com","why":"Read inventoryProbe first. probable=false (capped / unlimited / blocked) → tell the user sales cannot be measured here before creating the watch."},{"method":"POST","path":"/v1/signals  {\"domain\":\"gruntstyle.com\"}","why":"Creates the watch. Auto-tracks bestsellers. 409 if already tracked. Response carries precheck (the scrape verdict) and health seeded from it."},{"method":"GET","path":"/v1/signals/gruntstyle.com/probe","why":"Poll until progress.status is done or failed. First sale needs two snapshots."},{"method":"GET","path":"/v1/signals/gruntstyle.com/stats","why":"After two probes: ~$10.8k / 360 units / 19 days on Grunt Style (Aug 2026 observe)."}]},{"id":"sales-brief","title":"Daily units on an apparel rival","when":"User wants yesterday's sales, a chart, or which size sold.","steps":[{"method":"GET","path":"/v1/signals/gruntstyle.com/sales?from=2026-07-01","why":"Peak 2 Jul = 64 units / $1,919. Hero SKU american-reaper-2-0."},{"method":"GET","path":"/v1/signals/gruntstyle.com/inventory?days=90","why":"Restocks + start/end stock per variant."},{"method":"GET","path":"/v1/signals/gruntstyle.com/insights?kind=sales_spike","why":"Pre-built spike / restock cards if you do not want to compute them."}]},{"id":"ads-impact","title":"Which ads moved which SKUs (MagBak)","when":"User asks which ads moved sales, lift, or spend vs revenue. Prefer magbak.com over gruntstyle.com for this.","steps":[{"method":"POST","path":"/v1/signals  {\"domain\":\"magbak.com\"}","why":"Watch MagBak if not already tracked."},{"method":"GET","path":"/v1/signals/magbak.com/ads/overview?days=90","why":"iPhone 15 MagBak +82.7% lift on high-ad days; 729 Meta + 410 Google ads. One call."},{"method":"GET","path":"/v1/signals/magbak.com/sales?from=2026-07-01","why":"$1.24M / 20k units / 51 days. Peak 5 Jul = $33.1k."},{"method":"GET","path":"/v1/signals/magbak.com/ads","why":"Paginated creatives if you need the library itself."},{"method":"POST","path":"/v1/signals/magbak.com/ads/probe","why":"Refresh Meta/TikTok/Google when events look stale."}]},{"id":"changes-insights","title":"What changed on a tracked store","when":"Daily briefing: sales spikes, app installs, catalog moves.","steps":[{"method":"GET","path":"/v1/signals/magbak.com/insights","why":"sales_spike, restock, ad_new_campaign, app_change, …"},{"method":"GET","path":"/v1/signals/magbak.com/apps/changes","why":"Install / uninstall history."},{"method":"GET","path":"/v1/signals/magbak.com/products/changes","why":"Price / new / removed SKUs on this watch."},{"method":"GET","path":"/v1/signals/insights","why":"Account-wide inbox across every watch on this key."}]},{"id":"lifecycle","title":"Pause, edit, or delete a watch","when":"User is done tracking, or wants to swap SKUs.","steps":[{"method":"PATCH","path":"/v1/signals/gruntstyle.com  {\"status\":\"paused\"}","why":"Stop cron probes without deleting history."},{"method":"POST","path":"/v1/signals/gruntstyle.com/stop","why":"Same as paused. Alias for agents."},{"method":"DELETE","path":"/v1/signals/gruntstyle.com","why":"Remove the watch. Domain CH data stays for other users."}]}]},{"id":"store-scraper","title":"Pull a missing store into the catalog","audience":"Agents that hit a 404 on GET /v1/stores/{domain} and need the same on-demand scrape as Request a store — poll or webhook.","startHere":"POST /v1/scrapes {domain}","recipes":[{"id":"queue-poll","title":"Queue a scrape and wait","when":"Search returned nothing. User pasted a URL that is not in the catalog.","steps":[{"method":"GET","path":"/v1/stores?q=newbrand.com&limit=5","why":"Confirm it is missing before you spend a scrape credit."},{"method":"POST","path":"/v1/scrapes  {\"domain\":\"newbrand.com\"}","why":"Queues the job. 202 + id. already_exists if we already have it."},{"method":"GET","path":"/v1/scrapes/{id}","why":"Poll queued → validating → scraping → done|failed. TTL 15 min."},{"method":"GET","path":"/v1/stores/newbrand.com","why":"Read the profile after done."}]},{"id":"callback","title":"Webhook instead of poll","when":"Your agent cannot sit in a loop. You have an HTTPS hook.","steps":[{"method":"POST","path":"/v1/scrapes  {\"domain\":\"newbrand.com\",\"callbackUrl\":\"https://hooks.example.com/ecomscout\"}","why":"We POST scrape.done or scrape.failed once. HTTPS only."}]},{"id":"refresh-bulk","title":"Force refresh or bulk ingest","when":"Store exists but looks stale, or the user pasted a list.","steps":[{"method":"POST","path":"/v1/scrapes  {\"domain\":\"gruntstyle.com\",\"force\":true}","why":"Re-run even if already_exists. 5 min cooldown."},{"method":"POST","path":"/v1/scrapes/bulk  {\"urls\":[\"a.com\",\"b.com\"]}","why":"Max 10. Same scrapeRequests cap as the app."}]}]}]}}