# Kickscrew Products Bycollection (`pintostudio/kickscrew-products-bycollection`) Actor

The KICKS CREW Products By Collection actor is a powerful web scraping tool designed to extract product information from the KICKS CREW sneaker marketplace.

- **URL**: https://apify.com/pintostudio/kickscrew-products-bycollection.md
- **Developed by:** [Pinto Studio](https://apify.com/pintostudio) (community)
- **Categories:** E-commerce, Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 3 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$8.99 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## KICKS CREW Products By Collection - Apify Actor Documentation

### Overview

The **KICKS CREW Products By Collection** actor is a powerful web scraping tool designed to extract product information from the KICKS CREW sneaker marketplace. This actor allows you to search for sneakers and footwear products within specific collections, apply various filters, and retrieve detailed product data including prices, sizes, colors, and availability.

### Key Features

- **Collection-based search**: Search within specific product collections (e.g., Nike, Adidas, Jordan)
- **Advanced filtering**: Filter by gender, brand, color, size, price range, release year, and product type
- **Pagination support**: Navigate through multiple pages of results
- **Comprehensive product data**: Extract detailed information including pricing, availability, images, and specifications
- **Flexible output**: Returns structured JSON data with search metadata

### Input Parameters

#### Required Parameters

| Parameter | Type | Description | Example |
|-----------|------|-------------|---------|
| `collection` | string | The product collection to search within | `"nike"` |

#### Optional Parameters

| Parameter | Type | Description | Default | Example |
|-----------|------|-------------|---------|---------|
| `query` | string | Search term or keywords to find products | `""` | `"Air Jordan 1"` |
| `page` | integer | Page number for pagination (1-based) | `1` | `2` |
| `hitsPerPage` | integer | Number of products per page (1-100) | `24` | `48` |
| `gender` | string | Filter by gender category | `null` | `"men"`, `"women"`, `"kids"`, `"unisex"` |
| `brand` | string | Filter by brand name | `null` | `"Nike"` |
| `mainColor` | string | Filter by main color | `null` | `"black"` |
| `productType` | string | Filter by product type | `null` | `"sneakers"` |
| `releaseYear` | string | Filter by release year | `null` | `"2024"` |
| `sizes` | string | Filter by available size | `null` | `"10"` |
| `minPrice` | integer | Minimum price filter (inclusive) | `null` | `100` |
| `maxPrice` | integer | Maximum price filter (inclusive) | `null` | `500` |

### Output Format

The actor returns a structured JSON object containing:

#### Main Structure

```json
{
  "products": [...],
  "searchMetadata": {
    "query": "search term",
    "page": 1,
    "hitsPerPage": 24,
    "totalResults": 24,
    "appliedFilters": {...},
    "searchedAt": "2025-06-23T10:30:09.011Z"
  }
}
```

#### Product Object Structure

Each product in the `products` array contains:

| Field | Type | Description |
|-------|------|-------------|
| `product_id` | string | Unique product identifier |
| `title` | string | Product name and colorway |
| `brand` | string | Brand name (e.g., "Nike", "Adidas") |
| `model_no` | string | Official model number |
| `gender` | string | Target gender category |
| `image` | string | Product image URL |
| `main_color` | string | Primary color |
| `colorway` | array | Array of colors in the colorway |
| `nickname` | string | Popular nickname for the colorway |
| `series` | string | Product series/line |
| `release_date` | integer | Release date (YYYYMMDD format) |
| `release_year` | integer | Release year |
| `occasion` | string | Intended use (e.g., "basketball", "lifestyle") |
| `sizes` | array | Available sizes |
| `lowest_price` | integer | Lowest available price |
| `highest_price` | integer | Highest available price |
| `inventory` | integer | Availability status |
| `url` | string | Direct product page URL |

### Usage Examples

#### Basic Collection Search

```json
{
  "collection": "nike"
}
```

#### Filtered Search with Pagination

```json
{
  "collection": "nike",
  "query": "Air Jordan",
  "page": 2,
  "hitsPerPage": 12,
  "gender": "men",
  "minPrice": 150,
  "maxPrice": 300,
  "sizes": "10"
}
```

#### Color and Brand Specific Search

```json
{
  "collection": "adidas",
  "mainColor": "black",
  "brand": "Adidas",
  "productType": "sneakers",
  "releaseYear": "2024"
}
```

### Output Data Storage

The actor stores data in two locations:

1. **Dataset**: Complete search results with metadata
2. **Key-Value Store**:
   - `SEARCH_SUMMARY`: Summary of successful searches
   - `SEARCH_ERROR`: Error information if the search fails

### Common Use Cases

#### E-commerce Price Monitoring

Monitor sneaker prices across different collections and track price changes over time.

#### Inventory Tracking

Track product availability and size options for specific sneaker models.

#### Market Research

Analyze sneaker trends, popular colorways, and release patterns within specific collections.

#### Product Catalog Building

Build comprehensive product catalogs with detailed specifications and pricing information.

### Error Handling

The actor includes comprehensive error handling:

- Invalid input parameters are validated before processing
- Network errors are caught and logged
- Failed searches are recorded in the key-value store with error details
- Detailed error messages help diagnose issues

### Performance Considerations

- **Rate Limiting**: The actor respects the target website's rate limits
- **Pagination**: Use pagination for large result sets to avoid timeouts
- **Filtering**: Apply filters to reduce result sets and improve performance
- **Concurrent Runs**: Be mindful of running multiple instances simultaneously

### Limitations

- Results are limited to products available on KICKS CREW
- Some filters may not be available for all collections
- Price information reflects KICKS CREW pricing and may vary from other retailers
- Product availability is subject to real-time inventory changes

### Support and Troubleshooting

#### Common Issues

1. **No Results Found**: Check collection name spelling and filter combinations
2. **Timeout Errors**: Reduce `hitsPerPage` or add more specific filters
3. **Invalid Filters**: Ensure filter values match expected formats

#### Best Practices

- Start with broad searches and progressively add filters
- Use pagination for large result sets
- Regularly update collection names as they may change
- Monitor for changes in the website structure that might affect data extraction

### Data Quality

The extracted data includes:

- Real-time pricing information
- Current inventory status
- High-quality product images
- Accurate product specifications
- Direct links to product pages

This actor provides reliable, up-to-date information for sneaker enthusiasts, retailers, and market researchers looking to access KICKS CREW's extensive product catalog programmatically.

### Support

If you have any questions or encounter any issues, please consult the Apify documentation or reach out to us through one of the following channels:

- **Telegram**: [@pintoflow](https://t.me/pintoflow)
- **Apify Platform**: You can also contact us directly through this platform.

***

# Actor input Schema

## `collection` (type: `string`):

The product collection to search within

## `query` (type: `string`):

Search term or keywords to find products

## `page` (type: `integer`):

Page number for pagination (0-based)

## `hitsPerPage` (type: `integer`):

Number of products to return per page

## `gender` (type: `string`):

Filter by gender category

## `brand` (type: `string`):

Filter by brand name

## `mainColor` (type: `string`):

Filter by main color of the product

## `productType` (type: `string`):

Filter by product type or category

## `releaseYear` (type: `string`):

Filter by product release year

## `sizes` (type: `string`):

Filter by available size

## `minPrice` (type: `integer`):

Minimum price filter (inclusive)

## `maxPrice` (type: `integer`):

Maximum price filter (inclusive)

## Actor input object example

```json
{
  "collection": "nike",
  "query": "Air Jordan 1",
  "page": 1,
  "hitsPerPage": 24,
  "gender": "men",
  "brand": "Nike",
  "mainColor": "black",
  "productType": "sneakers",
  "releaseYear": "",
  "sizes": "10",
  "minPrice": 100,
  "maxPrice": 500
}
```

# 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 = {
    "collection": "nike",
    "query": "",
    "page": 1,
    "hitsPerPage": 24,
    "gender": "",
    "releaseYear": "",
    "sizes": ""
};

// Run the Actor and wait for it to finish
const run = await client.actor("pintostudio/kickscrew-products-bycollection").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 = {
    "collection": "nike",
    "query": "",
    "page": 1,
    "hitsPerPage": 24,
    "gender": "",
    "releaseYear": "",
    "sizes": "",
}

# Run the Actor and wait for it to finish
run = client.actor("pintostudio/kickscrew-products-bycollection").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 '{
  "collection": "nike",
  "query": "",
  "page": 1,
  "hitsPerPage": 24,
  "gender": "",
  "releaseYear": "",
  "sizes": ""
}' |
apify call pintostudio/kickscrew-products-bycollection --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,pintostudio/kickscrew-products-bycollection"
        }
    }
}
```

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/SSjTycHGDfk7HcjMm/builds/ld7XDnyyCfwJePKRt/openapi.json
