# Nike Scraper (`misceres/nike-scraper`) Actor

Scrape product data from Nike’s website using the country of the website.

- **URL**: https://apify.com/misceres/nike-scraper.md
- **Developed by:** [Misceres](https://apify.com/misceres) (community)
- **Categories:** E-commerce
- **Stats:** 240 total users, 0 monthly users, 0.0% runs succeeded, 7 bookmarks
- **User rating**: No ratings yet

## Pricing

$25.00/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period.You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#rental-actors

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

### What does Nike Scraper do?

With this scraper tool, you can **get product data from Nike’s website**. The scraper visits the Nike website of your choice (usually a specific country) and scrapes all available Nike product data from that branch. One dataset takes around 30 min to take its shape and includes product name, price, sale price, currency, country, description, URL, item number, category, subcategory, time of listing, and image URL.

### What Nike product data can I extract with a scraper?

Each product will be listed in the dataset under a specific category, subcategory, and division along with its price, image, URL, posting time, and other specifications. <br><br>

👶 👩 👱‍♂️ 🧝 **Divisions:** Kids, Women, Men, Unisex. <br><br>

🧢 👕 🎽 🥾 **Product categories:** Accessories, Clothing, Shoes. <br><br>

🏀 ⚽ 🎾 🏃‍♂️ 🏌️‍♀️ 🏋️‍♀️ 🚴‍♂️ 🧘‍♀️ **Product subcategories:** Lifestyle, Running, Golf, Basketball, Soccer/Football, Cycling, Tennis, Training, Yoga, Skateboarding, Volleyball, American Football, Walking, Spinning, Swimming, High Intensity Training, Weightlifting, Baseball, Studio Classes, Outdoor Court, Hiking, Ice Hockey, Rugby. <br><br>

**Branches:** United States, Mexico, France, Germany, Italy, Australia, Canada, Spain, United Kingdom, China. <br><br>

### Why scrape Nike?

🕵️ Conduct **market research** or analysis by price, popularity, newness, etc. <br>

✨ Find new **athleisure-related trends** across sportswear in retail industry <br>

👟 Keep an eye on **rare items for sneaker market** and sneaker resale market <br>

🤖 Create a **sneaker bot** with notifications <br>

💪 Monitor pricing for **competition research** <br>

### How do I use Nike Scraper?

Nike Scraper was designed to be easy to start with even if you've never extracted product data from e-commerce websites before. Here's how you can scrape Nike product data using this tool:

1. [Create](https://console.apify.com/sign-up) a free Apify account using your email.
2. Open [Nike Scraper](https://apify.com/misceres/nike-scraper).
3. Choose a Nike branch (country) to scrape. 
4. Click "Start" and wait for the data to be extracted. 
5. Download your data in JSON, JSONL, XML, CSV, Excel, or HTML.

### How much will it cost me to scrape product data from Nike shops?

[Apify Free plan](https://apify.com/pricing) provides you with **$5 free usage credits** per month. For those $5 you can get **up to 25,000 items** from this Nike Scraper. So it will be completely free for 25K results!

If you need to scrape data from Nike or other e-commerce shops on a more regular basis and larger scale, go for a $49/month [Personal plan](https://apify.com/pricing). 

### Input

The input for Nike Scraper should be a Nike franchise. You can pick one country per run; the scraper will extract data on every Nike item offered in that country.

```json
{
  "inputCountry": "UNITED KINGDOM"
}

````

### Output sample

The results will be wrapped into a dataset which you can always find in the **Storage** tab. Here's an excerpt from the data you'd get if you apply the input parameters above (UK):

![Apify - Nike Run - output](https://i.imgur.com/mHr8uh2.png)

And here is the same data but in JSON. You can choose in which format to download your Nike data: JSON, JSONL, Excel spreadsheet, HTML table, CSV, or XML.

```json
[{
  "company": "NIKE",
  "country": "UNITED KINGDOM",
  "productName": "Nike Sportswear Revolution",
  "articleNo": "DX2321-258",
  "division": "Women",
  "category": "Clothing",
  "subCategory": "Lifestyle",
  "listPrice": 114.95,
  "salePrice": 68.97,
  "currency": "GBP",
  "description": "The weather isn't always predictable. Sometimes days that start chilly end up getting hot. Stay prepared for it all with the Nike Sportswear Revolution Jacket. Made from lightweight woven fabric, it easily packs away and converts into a hip pack when temperatures rise. A loose fit and 1/2-zip design keep it comfortable while a stow-away hood is there when you want it but gone when you don't.",
  "url": "https://nike.com/gb/t/sportswear-revolution-sports-utility-1-2-zip-jacket-lRRzsV/DX2321-258",
  "imageUrl": "https://static.nike.com/a/images/t_default/1c3b97df-35e3-4823-9ad2-0b76b39414fa/sportswear-revolution-sports-utility-1-2-zip-jacket-lRRzsV.png",
  "timestamp": "2023-03-03T11:40:58.789Z"
},
{
  "company": "NIKE",
  "country": "UNITED KINGDOM",
  "productName": "Nike Sportswear Revolution",
  "articleNo": "DX2321-010",
  "division": "Women",
  "category": "Clothing",
  "subCategory": "Lifestyle",
  "listPrice": 114.95,
  "salePrice": 68.97,
  "currency": "GBP",
  "description": "The weather isn't always predictable. Sometimes days that start chilly end up getting hot. Stay prepared for it all with the Nike Sportswear Revolution Jacket. Made from lightweight woven fabric, it easily packs away and converts into a hip pack when temperatures rise. A loose fit and 1/2-zip design keep it comfortable while a stow-away hood is there when you want it but gone when you don't.",
  "url": "https://nike.com/gb/t/sportswear-revolution-sports-utility-1-2-zip-jacket-lRRzsV/DX2321-010",
  "imageUrl": "https://static.nike.com/a/images/t_default/a3122f82-27c7-4c02-939a-9ad098bb47c2/sportswear-revolution-sports-utility-1-2-zip-jacket-lRRzsV.png",
  "timestamp": "2023-03-03T11:40:58.789Z"
},
{
  "company": "NIKE",
  "country": "UNITED KINGDOM",
  "productName": "Brazil Strike Home/Away",
  "articleNo": "DJ5032-433",
  "division": "Unisex",
  "category": "Accessories",
  "subCategory": "Soccer/Football",
  "listPrice": 16.95,
  "salePrice": null,
  "currency": "GBP",
  "description": "These socks have design details specifically tailored for football's rising stars. They hug your leg to the knee for secure coverage, and sweat-wicking yarns help keep you cool and composed while you fine-tune your skills.",
  "url": "https://nike.com/gb/t/brazil-strike-home-away-knee-high-football-socks-SLCTCp/DJ5032-433",
  "imageUrl": "https://static.nike.com/a/images/t_default/bca0722f-5d2f-40d8-8a9c-cb890526ebbb/brazil-strike-home-away-knee-high-football-socks-SLCTCp.png",
  "timestamp": "2023-03-03T11:40:57.862Z"
},
{
  "company": "NIKE",
  "country": "UNITED KINGDOM",
  "productName": "Brazil Strike Home/Away",
  "articleNo": "DJ5032-100",
  "division": "Unisex",
  "category": "Accessories",
  "subCategory": "Soccer/Football",
  "listPrice": 16.95,
  "salePrice": null,
  "currency": "GBP",
  "description": "These socks have design details specifically tailored for football's rising stars. They hug your leg to the knee for secure coverage, and sweat-wicking yarns help keep you cool and composed while you fine-tune your skills.",
  "url": "https://nike.com/gb/t/brazil-strike-home-away-knee-high-football-socks-SLCTCp/DJ5032-100",
  "imageUrl": "https://static.nike.com/a/images/t_default/0b2ba3ef-7ff4-48bc-8511-dad5f292e33b/brazil-strike-home-away-knee-high-football-socks-SLCTCp.png",
  "timestamp": "2023-03-03T11:40:57.862Z"
},
{
  "company": "NIKE",
  "country": "UNITED KINGDOM",
  "productName": "Nike Club Fleece",
  "articleNo": "DX0543-063",
  "division": "Men",
  "category": "Clothing",
  "subCategory": "Lifestyle",
  "listPrice": 54.95,
  "salePrice": null,
  "currency": "GBP",
  "description": "Made from soft, brushed fleece for lightweight warmth and comfort, these Nike Club Fleece trousers give you casual style for everyday wear. They're slightly cropped to give you more room for your shoes to shine.",
  "url": "https://nike.com/gb/t/club-fleece-cropped-trousers-vVPBLm/DX0543-063",
  "imageUrl": "https://static.nike.com/a/images/t_default/e7ecf88c-f980-43bb-996f-a663ac193250/club-fleece-cropped-trousers-vVPBLm.png",
  "timestamp": "2023-03-03T11:40:56.503Z"
}]
...

```

### Integrations and Nike Scraper

Last but not least, **Nike Scraper can be connected with almost any cloud service or web app** thanks to <a  href=" https://apify.com/integrations" target="_blank"> integrations on the Apify platform</a>. You can integrate with Make, Zapier, Slack, Airbyte, GitHub, Google Sheets, Google Drive, <a  href="https://docs.apify.com/integrations" target="_blank"> and more</a>.

Or you can use  <a  href="https://docs.apify.com/integrations/webhooks"  target="_blank">webhooks</a> to carry out an action whenever an event occurs, e.g., get a notification whenever Nike Scraper successfully finishes a run.

### Using Nike Scraper with the Apify API

The Apify API gives you programmatic access to the Apify platform. The API is organized around RESTful HTTP endpoints that enable you to manage, schedule and run Apify actors. The API also lets you access any datasets, monitor actor performance, fetch results, create and update versions, and more.

To access the API using Node.js, use the `apify-client` NPM package. To access the API using Python, use the `apify-client` PyPI package.

### Is it legal to scrape Nike data?

Yes, it is. Our [e-commerce scrapers](https://apify.com/store/categories/ecommerce) are ethical and **only extract publicly available data** such as product names, product descriptions, prices, categories, etc. If you would like to learn more about the most recent legal practices of data scraping, see [this blogpost](https://blog.apify.com/is-web-scraping-legal/).

# Actor input Schema

## `inputCountry` (type: `string`):

Select country

## Actor input object example

```json
{
  "inputCountry": "UNITED KINGDOM"
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("misceres/nike-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 = {}

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

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

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

```

## CLI example

```bash
echo '{}' |
apify call misceres/nike-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=misceres/nike-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Nike Scraper",
        "description": "Scrape product data from Nike’s website using the country of the website.",
        "version": "0.0",
        "x-build-id": "58jFrghDs27eybl0B"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/misceres~nike-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-misceres-nike-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/misceres~nike-scraper/runs": {
            "post": {
                "operationId": "runs-sync-misceres-nike-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/misceres~nike-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-misceres-nike-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "inputCountry": {
                        "title": "Country",
                        "enum": [
                            "USA",
                            "MEXICO",
                            "FRANCE",
                            "GERMANY",
                            "ITALY",
                            "AUSTRALIA",
                            "CANADA",
                            "SPAIN",
                            "UNITED KINGDOM",
                            "CHINA"
                        ],
                        "type": "string",
                        "description": "Select country",
                        "default": "UNITED KINGDOM"
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
