# Amazon Shop Scraper (`fastdataapi/amazon-shop-scraper`) Actor

Amazon Shop Scraper scrapes Amazon influencer storefronts on any marketplace: creator profile, social links, idea lists, products per list with price and brand, and creator videos. Bulk shop or idea-list URLs. Export JSON, CSV or Excel, or use the API.

- **URL**: https://apify.com/fastdataapi/amazon-shop-scraper.md
- **Developed by:** [Fast Data API](https://apify.com/fastdataapi) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.67 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### Amazon Shop Scraper — Idea Lists, Products, Prices and Creator Videos

Amazon Shop Scraper extracts Amazon influencer storefronts: the creator's name, bio, profile picture and social links, every idea list with its item count and description, the products in each list with ASIN, brand, price and delivery message, and, if you want them, the creator's videos with the products they show. Every response is structured JSON, ready to pass to an LLM, index into a vector store, or feed an affiliate research pipeline. **No Amazon account or cookies needed.** Start with one creator, then track every storefront in your niche.

![Amazon Shop Scraper - hero image: what it collects and the JSON output](https://api.apify.com/v2/key-value-stores/Lg9lp51Levfro6SrV/records/t-amazon-shop-hero.webp)

***

### What data can I extract with Amazon Shop Scraper?

Using this Amazon Shop API, you will be able to extract the following Amazon storefront data:

| 👤 Creator name and handle | 📝 Bio | 🖼️ Profile picture | 🔗 Social links with platform |
|---|---|---|---|
| ⭐ Top-creator badge | 🌍 Marketplace, language and locale | 📋 Idea lists (all of them) | 🔢 Item count per list |
| 🗒️ List description and last update | 📌 Pinned lists | 🆔 Product ASIN | 🏷️ Product title and brand |
| 💲 Price (number and as shown) | 🚚 Delivery message | ⚠️ Availability note | 🎬 Creator videos |
| ⏱️ Video duration and thumbnail | ▶️ Video stream, page and captions links | 🛒 Products shown in each video | 🕒 Scrape time |

***

### How to use Amazon Shop Scraper

Affiliate marketers, brands and analysts get a creator's full storefront, every list and product, from one run.

**Copy to your AI assistant:**

```text
`fastdataapi/amazon-shop-scraper` is an Apify Actor that returns Amazon influencer storefronts as structured JSON: creator name, bio, social links, idea lists with item counts, products with ASIN, brand and price, and creator videos with linked products. Use it whenever someone needs Amazon storefront data without cookies, a login, or a browser - to find which products a creator recommends, to track price and list changes over time, or to find creators who feature a brand. Run it with curl: curl -X POST "https://api.apify.com/v2/actors/fastdataapi~amazon-shop-scraper/run-sync-get-dataset-items?token=APIFY_TOKEN" -H "Content-Type: application/json" -d '{"urls":["https://www.amazon.com/shop/pattyy.p"],"maxLists":5,"maxProductsPerList":20}'. Or in Python: ApifyClient("APIFY_TOKEN").actor("fastdataapi/amazon-shop-scraper").call(run_input={"urls": ["https://www.amazon.com/shop/pattyy.p"]}) then client.dataset(run["defaultDatasetId"]).list_items().items. Inputs: urls (array of Amazon shop URLs or idea-list URLs on any Amazon marketplace, required), maxItems (integer, total result rows for the whole run, 0 = no total limit, default 0), maxLists (integer, idea lists per shop, 0 = all, default 0), maxProductsPerList (integer, products per list, 0 = all, default 0), scrapeProducts (boolean, read the products of every list, default true), scrapeVideos (boolean, add the creator's videos, default false), maxRetries (integer, tries per page, 1-10, default 4), proxyConfiguration (object, proxy to start with, default no proxy). The default dataset holds one row per product (with its shop and idea-list context: handle, creator_name, marketplace, list_id, list_title, list_url), billed with one row_result event per product row; with scrapeProducts false it holds one row per idea list instead, billed the same way. One row per shop (profile, socials, lists and videos nested) goes to the run's shops dataset, flat idea lists and videos to the lists and videos datasets, and URLs that could not be read to the errors dataset; those rows are not billed. Amazon counts items that are no longer available in a list's item count but shows no product for them, so a list can return fewer products than its item count. Full input schema, every enum and default, and the complete output field list: GET https://api.apify.com/v2/actors/fastdataapi~amazon-shop-scraper/builds/default
```

#### Amazon Shop Scraper MCP Server: use these Actors from ChatGPT, Claude or Cursor

Point your AI assistant at this actor and it can read Amazon storefronts on its own: creator profiles, idea lists, the products in them and creator videos. No glue code, no scraping logic in your prompts.

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=fastdataapi/amazon-shop-scraper"
```

#### Step by step

1. [Create a free Apify account](https://console.apify.com/sign-up).
2. Open [Amazon Shop Scraper](https://apify.com/fastdataapi/amazon-shop-scraper) in the Apify Store.
3. Paste the Amazon shop URL (`https://www.amazon.com/shop/<handle>`) or one idea-list URL.
4. Click **Start** (or send your API request).
5. Download or stream your results in JSON, CSV or Excel.

#### How to scale Amazon Shop Scraper to bulk

Put every shop URL in the `urls` list, one per line: shops from different Amazon marketplaces can be mixed in one run, and up to 5 shops are read at the same time. Duplicate URLs are removed. Use **Max idea lists per shop** and **Max products per idea list** to keep big storefronts short, or set both to 0 to get everything. To track storefronts over time, save your input as a task and schedule it daily or weekly in Apify Console.

***

### ✨ Features

Amazon Shop Scraper fetches clean, structured storefront data from Amazon. It's ideal for affiliate research, influencer discovery, brand monitoring and product trend tracking.

It extracts, per shop:

- **Idea lists** – every list the creator made, with title, item count, cover image, description, last update and pinned flag
- **Products** – ASIN, title, brand, image, price as a number and as shown, availability note and delivery message
- **Creator profile** – name, bio, profile picture, top-creator badge and social links with platform names
- **Creator videos** – title, duration, thumbnail, stream, page and captions links, and the products each video shows
- **Marketplace** – the Amazon host the shop was read on, plus its language and locale

⚡ Reads every product in a list, page after page, not only the first screen of products.

***

### Use cases 💡

- **Affiliate marketer** — see which products top creators recommend, with prices, in one table.
- **Brand manager** — find creators whose idea lists feature your brand or a competitor's.
- **Product researcher** — spot products that show up across many creator lists.
- **Influencer agency** — compare creators by list count, product count and video count.
- **AI agent builder** — feed storefront products into a RAG index for shopping assistants.

Building an AI agent? [Connect Amazon Shop Scraper over MCP](#mcp-integration-for-ai-agents) and let it call the actor on its own.

***

### Why choose this actor?

1. **Every list and every product, fast.** A local test run read one storefront with all of its 55 idea lists and 834 products in 19 seconds.
2. **The details behind each product.** A recorded product came back with its ASIN, brand, title, image, price of $14.99 and the delivery message "Delivery Sun, Nov 22", plus the list it belongs to.
3. **Any Amazon marketplace, five tables.** Shop and idea-list URLs from amazon.com, amazon.de, amazon.ca and other Amazon hosts, with one row per product in the main table, plus shops, idea lists, videos and errors tables.

***

### ⬇️ Input

![Amazon Shop Scraper input form with example values](https://api.apify.com/v2/key-value-stores/Lg9lp51Levfro6SrV/records/t-amazon-shop-input.webp)

The actor takes a list of Amazon shop URLs or idea-list URLs; `urls` is the only required field.

| Parameter | Required | Type | Description | Example value |
|---|---|---|---|---|
| `urls` | Yes | array | Amazon shop URLs or idea-list URLs, one per line, on any Amazon marketplace. Duplicates are removed. | `["https://www.amazon.com/shop/pattyy.p"]` |
| `maxItems` | No | integer | Total result rows saved in the whole run (all shops and lists together). The run stops when this many are saved. 0 = no total limit. Default 0. | `100` |
| `maxLists` | No | integer | Idea lists read from each shop, in the order the shop shows them. 0 = every list. Default 0. Ignored for idea-list URLs. | `5` |
| `maxProductsPerList` | No | integer | Products read from each idea list (a shop with 55 lists can give up to 55 × this). 0 = every product Amazon still shows. Default 0. Use `maxItems` for a total. | `20` |
| `scrapeProducts` | No | boolean | Read the products of every idea list. Off = idea lists only. Default true. | `true` |
| `scrapeVideos` | No | boolean | Add the creator's videos. Default false. For idea-list URLs, only the videos on the shop's main page are added. | `true` |
| `maxRetries` | No | integer | How many times a page is tried before it is skipped, 1 to 10. Default 4. | `4` |
| `proxyConfiguration` | No | object | Proxy to start with. Default: no proxy; the actor switches to a proxy on its own when blocked. | `{"useApifyProxy": false}` |

Accepted URL formats:

- `https://www.amazon.com/shop/<handle>` – the whole storefront
- `https://www.amazon.com/shop/<handle>/list/<list id>` – one idea list
- the same paths on other Amazon marketplaces, e.g. `https://www.amazon.de/shop/<handle>`

#### Free plan limits

Users on the Apify free plan can fetch up to 20 products per run (all URLs together; idea lists
when **Scrape products** is off) and 200 per month. When the limit is reached the run finishes successfully with a
status message explaining the limit. Upgrade to any paid Apify plan to remove these limits.

#### Example input

```json
{
    "urls": [
        "https://www.amazon.com/shop/pattyy.p",
        "https://www.amazon.ca/shop/sydneydelrey",
        "https://www.amazon.com/shop/pattyy.p/list/1V6W9YCI7NAY5"
    ],
    "maxLists": 5,
    "maxProductsPerList": 20,
    "scrapeProducts": true,
    "scrapeVideos": true,
    "maxRetries": 4,
    "proxyConfiguration": {"useApifyProxy": false}
}
```

***

### ⬆️ Output

![Amazon Shop Scraper output fields with example values](https://api.apify.com/v2/key-value-stores/Lg9lp51Levfro6SrV/records/t-amazon-shop-output.webp)

Every product is one typed JSON row in the main table, with its shop and idea list (handle, creator, marketplace, list ID, title and URL), pushed as soon as each list is read. With **Scrape products** off, every idea list is one row instead. Each shop also gets one row in the Shops table (profile, socials, idea lists and videos nested), idea lists and videos come as flat rows in the Lists and Videos tables, and URLs that could not be read are listed in the Errors table with the reason. Export formats: JSON (default), CSV, Excel.

#### Example output

One product row (main table):

```json
{
    "handle": "pattyy.p",
    "creator_name": "Patty StayWell",
    "marketplace": "www.amazon.com",
    "list_id": "3SCCYBYPZ7UZV",
    "list_title": "Newborn Essentials",
    "list_url": "https://www.amazon.com/shop/pattyy.p/list/3SCCYBYPZ7UZV?tag=patriciago01d-20",
    "asin": "B0CZKWGK86",
    "title": "Ekouaer Zip Up Robes for Women Short Knit Bathrobe with Pockets | Housecoats for Women, Soft Lightweight Nightgown, Crewneck, Short Sleeve, Knee Length, Zip Up Dress",
    "brand": "Ekouaer",
    "url": "https://www.amazon.com/dp/B0CZKWGK86",
    "image": "https://m.media-amazon.com/images/I/41cwdV2iLFL._AC_.jpg",
    "price": 14.99,
    "price_text": "$14.99",
    "availability_text": null,
    "delivery_text": "Delivery Sun, Nov 22",
    "scraped_at": "2026-11-10T13:01:52Z"
}
```

One row of the Shops table (lists, products and videos shortened):

```json
{
    "handle": "pattyy.p",
    "display_name": "Patty StayWell",
    "url": "https://www.amazon.com/shop/pattyy.p",
    "marketplace": "www.amazon.com",
    "description": ":)",
    "avatar_url": "https://m.media-amazon.com/images/I/9143XttqmIL._CR0%2C0%2C2049%2C2049_._US500_SCLZZZZZZZ_.jpg",
    "verified": false,
    "list_count": 2,
    "product_count": 4,
    "video_count": 1,
    "socials": ["https://www.youtube.com/channel/UC9Y6dfr4EcsHc8QzA5QOmnQ"],
    "social_links": [{"platform": "youtube", "url": "https://www.youtube.com/channel/UC9Y6dfr4EcsHc8QzA5QOmnQ"}],
    "lists": [
        {
            "id": "3SCCYBYPZ7UZV",
            "type": "idea_list",
            "title": "Newborn Essentials",
            "itemCount": 25,
            "itemCountLabel": "25 Items",
            "image": "https://m.media-amazon.com/images/I/81hiA3Qfb8L._AC_._US550_SCLZZZZZZZ_.jpg",
            "url": "https://www.amazon.com/shop/pattyy.p/list/3SCCYBYPZ7UZV?tag=patriciago01d-20",
            "is_pinned": false,
            "description": "Everything I absolutely needed to have during my first few weeks after giving birth.",
            "updated_text": "Updated 1 month ago",
            "products": [
                {
                    "asin": "B0CZKWGK86",
                    "title": "Ekouaer Zip Up Robes for Women Short Knit Bathrobe with Pockets | Housecoats for Women, Soft Lightweight Nightgown, Crewneck, Short Sleeve, Knee Length, Zip Up Dress",
                    "brand": "Ekouaer",
                    "url": "https://www.amazon.com/dp/B0CZKWGK86",
                    "image": "https://m.media-amazon.com/images/I/41cwdV2iLFL._AC_.jpg",
                    "price": 14.99,
                    "price_text": "$14.99",
                    "availability_text": null,
                    "delivery_text": "Delivery Sun, Nov 22"
                }
            ]
        }
    ],
    "videos": [
        {
            "id": "0fcb6c23786343e7886e3bea5dd6b432",
            "content_id": "amzn1.vse.video.0fcb6c23786343e7886e3bea5dd6b432",
            "title": "Juice prep with me!",
            "duration_text": "0:28",
            "thumbnail_url": "https://m.media-amazon.com/images/I/71EUBegwIEL._AC_._SX500_SCLZZZZZZZ_.jpg",
            "video_url": "https://m.media-amazon.com/images/S/vse-vms-transcoding-artifact-us-east-1-prod/8e31e912-6881-4ad5-b65c-00b2b77e93ba/default.vertical.jobtemplate.hls.m3u8",
            "page_url": "https://www.amazon.com/vdp/0fcb6c23786343e7886e3bea5dd6b432",
            "storefront_url": "https://www.amazon.com/shop/pattyy.p/video/amzn1.vse.video.0fcb6c23786343e7886e3bea5dd6b432?tag=patriciago01d-20&linkCode=ssc&src=aipsf",
            "linked_asins": ["B00JQ485JO"],
            "product_urls": ["https://www.amazon.com/dp/B00JQ485JO"],
            "captions_url": "https://m.media-amazon.com/images/S/vse-vms-closed-captions-artifact-us-east-1-prod/closedCaptions/e9465f40-a994-4618-8b63-27b63dff4ce4.vtt",
            "is_pinned": false
        }
    ],
    "language": "en",
    "locale": "en_US",
    "platform": "amazon",
    "input_url": "https://www.amazon.com/shop/pattyy.p",
    "scraped_at": "2026-11-10T13:02:29Z"
}
```

***

### How does it work?

Amazon Shop Scraper reads the same public storefront pages any visitor sees, without an Amazon account. You give it a shop URL; it reads the creator's profile and walks through the whole storefront, list by list, then reads the products of each list page after page until the list ends or your limit is reached. Each shop is read on its own Amazon marketplace, so prices and delivery messages match that store. It works without a browser and returns only publicly visible data. Requests start without a proxy; if Amazon blocks a page, the actor retries and switches to a proxy on its own. Results are pushed while the run is going, so the tables fill up as each list is ready, and the output keeps the same schema from run to run.

***

### How do you integrate Amazon Shop Scraper into your stack?

Amazon Shop Scraper works with what you already use: the REST API from any language, MCP for AI agents, and no-code tools.

#### Using Amazon Shop Scraper with the Apify API

```python
import requests

resp = requests.post(
    "https://api.apify.com/v2/actors/fastdataapi~amazon-shop-scraper/run-sync-get-dataset-items",
    params={"token": "APIFY_TOKEN"},
    json={"urls": ["https://www.amazon.com/shop/pattyy.p"], "maxLists": 5, "maxProductsPerList": 20},
)
for shop in resp.json():
    print(shop["display_name"], shop["list_count"], shop["product_count"])
```

*Works in Go, Ruby, Node.js, cURL — any language that can make an HTTP request.*

#### MCP integration for AI agents

Register the actor with one command:

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=fastdataapi/amazon-shop-scraper"
```

This registers Amazon Shop Scraper as a tool your agent can call directly. Your agent passes shop URLs and gets back the creator profile, idea lists, products and videos as JSON. It works in Claude Code, Cursor and Windsurf.

#### No-code tools (n8n, Make, LangChain)

- **n8n** – use the Apify node ("Run an Actor") with `fastdataapi/amazon-shop-scraper`, or the HTTP Request node pointed at the run-sync endpoint with your token.
- **Make** – add the Apify app's "Run an Actor" module, then "Get Dataset Items" to pass the products on to the next step.
- **LangChain** – install `langchain-apify` and use `ApifyActorsTool("fastdataapi/amazon-shop-scraper")` as a tool in your agent.

***

### Is it legal to scrape Amazon data?

Scraping publicly available Amazon storefront data is generally legal in most jurisdictions. Amazon Shop Scraper returns only public data: what any visitor sees on a storefront without logging in. Creator names, bios and social links are personal data in some regions; under GDPR, collecting public data is generally permissible, but storing and using it must comply with local data-protection law. Consult legal counsel if your use case involves bulk storage of personal data.

***

### Frequently asked questions

#### What fields does Amazon Shop Scraper return?

Each shop comes with the creator's name and bio, the social links, every idea list with its item count, the products with ASIN, brand and price, and, if turned on, the creator's videos. See [the data fields section](#what-data-can-i-extract-with-amazon-shop-scraper) for the full list.

#### Does Amazon Shop Scraper require an Amazon account or login?

No. Only public storefront data is extracted. No credentials or cookies are needed.

#### How fast does Amazon Shop Scraper run?

In local test runs, one storefront with 2 lists, 4 products and 1 video took about 3 seconds, and a full storefront with 55 idea lists and 834 products took 19 seconds. Data is read live on every run, not cached.

#### What happens if a shop doesn't exist or the URL is wrong?

The URL gets one row in the Errors table with the reason, e.g. "shop 'thisisnotarealshop12345' not found (HTTP 404)" or "not an Amazon shop URL", and the run goes on with the other URLs. Errors are not billed. In code, read the run's `errors` dataset to see which URLs failed.

#### Can I scrape multiple Amazon shops at once?

Yes. Put every shop or idea-list URL in the `urls` list; up to 5 shops are read at the same time, and shops from different Amazon marketplaces can be mixed in one run.

#### Does Amazon Shop Scraper work with Claude, ChatGPT, and other AI agent tools?

Yes — Amazon Shop Scraper is available as an MCP tool. Register it in Claude Code, Cursor or Windsurf with `claude mcp add --transport http apify "https://mcp.apify.com?tools=fastdataapi/amazon-shop-scraper"`. Any agent that can call an HTTP endpoint can use the REST API directly.

#### Does Amazon Shop Scraper return data in a format LLMs can use directly?

Yes. It returns typed, normalized JSON with consistent field names. No HTML parsing, no selectors. Pass it straight to an LLM, index it into a vector store, or feed it to an agent tool — no transformation step.

#### What happens when Amazon changes its layout or updates its anti-bot system?

This actor is maintained and updated. When Amazon changes its storefront pages, the actor is updated, and your calls keep returning the same JSON schema with no changes on your end.

#### Can I use Amazon Shop Scraper without managing proxies or browser infrastructure?

Yes. The actor needs no browser, and when Amazon blocks a page it switches to a proxy on its own. You send one request and get structured JSON back. No proxy accounts, no headless browser setup, no maintenance.

#### Which Amazon storefront fields work best for AI training data and RAG indexing?

For RAG: the text-rich fields, such as product titles, brands, list titles and descriptions, and creator bios. For training data: the numeric and boolean fields, such as price, item count, product count and the pinned flag. All fields are typed: strings, numbers, booleans and lists.

***

### Your feedback

Found a bug or missing a field? Let us know through the actor's Issues tab. This actor is maintained, every report is read, and fixes are shipped.

# Actor input Schema

## `urls` (type: `array`):

Amazon influencer storefront URLs, one per line, e.g. https://www.amazon.com/shop/pattyy.p, or one idea list: https://www.amazon.com/shop/pattyy.p/list/1V6W9YCI7NAY5. Any Amazon marketplace works (amazon.com, amazon.de, amazon.ca ...); each URL is read on its own marketplace. Duplicates are removed.

## `maxItems` (type: `integer`):

Maximum result rows saved in the whole run, across every shop and idea list (products, or idea lists when products are off). The run stops as soon as this many are saved. 0 = no total limit (then only the per-list limit below applies). Free plan: up to 20 per run and 200 per month; paid plans have no limit.

## `maxLists` (type: `integer`):

Maximum idea lists read from each shop, in the order the shop shows them. 0 = every list. Ignored for idea-list URLs.

## `maxProductsPerList` (type: `integer`):

Maximum products read from each idea list; each product is one result row. 0 = every product Amazon still shows in the list (items no longer available are counted in the list's item count but have no product card).

## `scrapeProducts` (type: `boolean`):

On: read the products of every idea list (ASIN, title, brand, image, price, availability, delivery). Off: idea lists only, one result row per list, which is much faster.

## `scrapeVideos` (type: `boolean`):

On: add the creator's videos (title, duration, thumbnail, stream and page URLs, captions, linked products). For idea-list URLs, only the videos on the shop's main page are added.

## `maxRetries` (type: `integer`):

How many times a page is tried before it is skipped. A page skipped this way is reported in the log; the rest of the shop is still saved.

## `proxyConfiguration` (type: `object`):

Proxy to start with. By default no proxy is used; when Amazon blocks a page the run moves to a datacenter and then a residential proxy on its own.

## Actor input object example

```json
{
  "urls": [
    "https://www.amazon.com/shop/pattyy.p"
  ],
  "maxItems": 10,
  "maxLists": 0,
  "maxProductsPerList": 0,
  "scrapeProducts": true,
  "scrapeVideos": false,
  "maxRetries": 4,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `productDetails` (type: `string`):

No description

## `productLists` (type: `string`):

No description

## `ideaListRows` (type: `string`):

No description

## `shops` (type: `string`):

No description

## `profiles` (type: `string`):

No description

## `shopLists` (type: `string`):

No description

## `shopVideos` (type: `string`):

No description

## `lists` (type: `string`):

No description

## `videos` (type: `string`):

No description

## `errors` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "urls": [
        "https://www.amazon.com/shop/pattyy.p"
    ],
    "maxItems": 10,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("fastdataapi/amazon-shop-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "urls": ["https://www.amazon.com/shop/pattyy.p"],
    "maxItems": 10,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("fastdataapi/amazon-shop-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "urls": [
    "https://www.amazon.com/shop/pattyy.p"
  ],
  "maxItems": 10,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call fastdataapi/amazon-shop-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fastdataapi/amazon-shop-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/uVXmnpLRGM29kDoAO/builds/MEcDVuAjlaz6oj5At/openapi.json
