Get started
EcomScout for AI agents
An agent can use EcomScout in two ways: through the MCP connector, where the tools describe themselves, or through the REST API, where one text file teaches it every endpoint.
Connector or API
| The agent | Use | Why |
|---|---|---|
| Answers questions in a chat (Claude, ChatGPT, Cursor) | MCP connector | No key, sign in once, tools carry their own instructions |
| Writes code that calls EcomScout | REST API | The code runs later without the agent, with a key on your server |
| Runs on a schedule or inside your product | REST API | Fixed calls, paging, webhooks for pushed events |
The connector address is https://mcp.ecomscout.com/mcp.
Files an agent can read
All of these open without a key and without a rate limit.
| File | What is in it |
|---|---|
| /v1/llms.txt | The short brief: every endpoint, the filters and call sequences. Start here. |
| /v1/docs.md | The full reference as one Markdown file. |
| /v1/openapi.json | OpenAPI 3 description, for client generators and tool builders. |
| /v1/examples | Call sequences as JSON. The same ones are on the recipes page. |
| /llms.txt | An index of this website, docs included, for answer engines. |
Every page of these docs is plain HTML with no script needed to read it, so a crawler or a fetch tool sees the full text. This page is https://ecomscout.com/docs/agents.
A prompt to paste
Give this to a coding agent before it writes the first call:
Read https://api.ecomscout.com/v1/llms.txt first. It lists every EcomScout endpoint, the
filters and worked call sequences.
Use the REST API at https://api.ecomscout.com with the key in the
ECOMSCOUT_API_KEY environment variable, sent as "Authorization: Bearer <key>".
Rules:
- Resolve a brand name with GET /v1/stores?q=<name> before any other call.
Never guess a domain.
- Revenue is an estimated monthly range. Say "estimated" and give both ends.
- An empty, zero or null value means nothing was observed. Do not report it as zero.
- On 429 wait the number of seconds in the Retry-After header, then retry once.Rules for answers
What an agent should keep to when it reports EcomScout data to a person:
- Every store, product or market fact comes from a call made in that conversation.
- Revenue is labelled as estimated and given as a range. Visits are monthly.
- Stores are named by domain and products by title, so the reader can look them up.
- A change carries its period, for example “+18%, July to October”.
- Before a step that spends credits, such as contacts or an export, the agent asks.
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.