Start free

REST API

Store requests API

Add a store that is not in the index yet. Same as "Request a store" in the app. Wait for the job, then open it under Stores.

Overview

Add a store that is not in EcomScout yet. Same action as "Request a store" in the app. The job runs in the background (usually minutes). When it finishes, the store shows up under Stores like any other merchant. Use this from a CRM or agent when a prospect is missing from search. Do not fetch the store yourself: this endpoint does it.

Endpoints of the Store requests API
EndpointWhat it returns
POST/v1/scrapesSame as Request a store. Async.
GET/v1/scrapes/{id}Poll queued, then done | failed.
POST/v1/scrapes/bulkUp to 10 domains.

How it works

Only if the store is missing

Look the store up first. If it is already in the index, we tell you. Pass force if you really want a refresh.

Wait for the job, or get a webhook

Poll until status is done or failed. Or send an HTTPS URL and we POST when it finishes. Then open the store as usual.

Quotas

Up to 10 websites per bulk request, a cooldown per domain, and it counts toward the same scrape quota as the app. Job records expire, save the id if you poll slowly.

What you get back

The job

Id, website, status (queued, running, done, failed), a short message, and the store profile once it succeeds.

The webhook

What happened, job id, website, how long it took, and the store when it succeeded.

Worked examples

Prospect missing from the index

Look up newbrand.com, then not found, then request a scrape, then wait until done, then open the store. Typical use: an agent filling a hole before it writes a brief.

Call: POST/v1/scrapes

Endpoints

Every call below runs as written once $ECOMSCOUT_API_KEY holds your key. To try a call without code, open the API playground in the app.

Request scrape

POST/v1/scrapes

Queues an on-demand scrape. Returns id + status. Poll GET /v1/scrapes/{id} or pass callbackUrl (HTTPS webhook). already_exists if the store is in the catalog unless force=true.

Use it to: GET /v1/stores/{domain} 404, then queue scrape, then read the profile.

Parameters of POST /v1/scrapes
NameTypeWhat it does
domainrequiredbodystringDomain or URL.Example: newbrand.com
callbackUrlbodystringHTTPS only. We POST scrape.done / scrape.failed once.Example: https://hooks.example.com/ecomscout
forcebodystringRefresh even if already in catalog.One of: true, falseDefault: false
Example request
curl -X POST -H "Authorization: Bearer $ECOMSCOUT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"domain":"newbrand.com","force":false}' \
  "https://api.ecomscout.com/v1/scrapes"
Example response
JSON
{
  "data": {
    "id": "a1b2c3d4e5f6",
    "domain": "newbrand.com",
    "status": "queued",
    "poll": "/v1/scrapes/a1b2c3d4e5f6"
  }
}

Scrape status

GET/v1/scrapes/{id}

Progress for one job. TTL 15 minutes. When done, GET /v1/stores/{domain}.

Use it to: Loop after POST /v1/scrapes until done.

Parameters of GET /v1/scrapes/{id}
NameTypeWhat it does
idrequiredpathstringExample: a1b2c3d4e5f6
Example request
curl -H "Authorization: Bearer $ECOMSCOUT_API_KEY" \
  "https://api.ecomscout.com/v1/scrapes/a1b2c3d4e5f6"
Example response
JSON
{
  "data": {
    "id": "a1b2c3d4e5f6",
    "domain": "newbrand.com",
    "status": "done",
    "store": {
      "domain": "newbrand.com",
      "ecomScoutGrade": "B+"
    }
  }
}

Bulk scrape

POST/v1/scrapes/bulk

Same job engine, many URLs. Optional shared callbackUrl.

Use it to: User pasted a list of missing stores.

Parameters of POST /v1/scrapes/bulk
NameTypeWhat it does
urlsrequiredbodystring[]Comma-separated in playground; JSON array in code.Example: a.com,b.com
forcebodystringOne of: true, falseDefault: false
Example request
curl -X POST -H "Authorization: Bearer $ECOMSCOUT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"urls":["a.com","b.com"]}' \
  "https://api.ecomscout.com/v1/scrapes/bulk"
Example response
JSON
{
  "data": {
    "queued": 2,
    "skipped": 0,
    "jobs": [
      {
        "id": "a1b2c3d4e5f6",
        "domain": "a.com",
        "status": "queued"
      }
    ]
  }
}

Try it on real data. The free plan has 10 credits a day and works with the MCP connector. API keys come with paid plans.