# Steam Listing Search By Keyword (`datacach/steam-listing-search-by-keyword`) Actor

Search and scrape Steam games by keyword. Extract game data including titles, URLs, prices, discounts, reviews, release dates, and platforms. Perfect for game market research, price monitoring, and competitive analysis.

- **URL**: https://apify.com/datacach/steam-listing-search-by-keyword.md
- **Developed by:** [DataCach](https://apify.com/datacach) (community)
- **Categories:** E-commerce, Automation, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 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

## 🎮 Steam Games Search Scraper by Keyword

Extract comprehensive game data from Steam with our powerful **Steam Games Search Scraper**. Search games by keyword to unlock valuable insights into game prices, discounts, reviews, release dates, platforms, and metadata. Perfect for game market research, price monitoring, competitive analysis, game discovery, and gaming industry intelligence. **Pay-per-result pricing** ensures you only pay for the data you receive.

### ✨ What does this scraper do?

- **Search Steam games** by keyword across game titles, descriptions, and tags
- **Extract comprehensive game data** including titles, URLs, prices, discounts, reviews, release dates, platforms, and metadata
- **Track pricing information** including original prices, discount prices, and discount percentages
- **Extract review summaries** including user review ratings and feedback
- **Capture platform information** including Windows, Mac, Linux, VR support, and more
- **Support multiple keywords** for comprehensive coverage across different game genres and categories
- **Control result limits** with configurable maximum results per keyword (must be a multiple of 10)
- **Return structured JSON data** ready for analysis, integration, or further processing

### 🔍 How does it work?

1. **Input:**\
   The actor receives an input with:
   - One or more search keywords (e.g., "ninja", "assassin", "RPG", "indie", "strategy", "action", "adventure")
   - Maximum number of results per keyword (must be a multiple of 10: 10, 20, 30, 50, 100, 200, 500, 1000)

2. **Process:**\
   For each keyword:
   - Connects to Steam's search engine and performs keyword-based searches
   - Extracts game data from search results including titles, URLs, prices, discounts, reviews, and platforms
   - Handles pagination automatically to collect results across multiple pages
   - Returns structured data up to the specified maximum results limit per keyword
   - Each keyword is processed independently with its own result limit
   - Stops when no more results are available or when the max_results limit is reached

3. **Output:**
   - A JSON dataset containing detailed game information, including:
     - Game identification (game ID, name, URL)
     - Pricing data (original price, discount price, discount percentage)
     - Release information (release date)
     - Review data (reviews summary with ratings)
     - Platform support (Windows, Mac, Linux, VR, etc.)
     - Search metadata (search term used, extraction date and timestamp)

### Example input

```json
{
  "search_terms": [
    "ninja",
    "assassin",
    "RPG"
  ],
  "max_results": 100
}
```

**Important:** The `max_results` parameter must be a multiple of 10 (e.g., 10, 20, 30, 50, 100, 200, 500, 1000). The parameter applies to each keyword independently. If you set `max_results` to 100 and provide 3 keywords, you can receive up to 300 total results (100 per keyword).

### Example output

```json
[
  {
    "id": "123456",
    "name": "Ninja Assassin: Shadow Strike",
    "url": "https://store.steampowered.com/app/123456/Ninja_Assassin_Shadow_Strike/",
    "price": "$29.99",
    "discount_price": "$14.99",
    "discount_percentage": "-50%",
    "release_date": "Dec 15, 2024",
    "reviews_summary": "Very Positive (1,234 reviews)",
    "platforms": ["WIN", "MAC", "LINUX"],
    "extraction_date": "2025-12-02",
    "extraction_datetime": "2025-12-02T10:30:45.123456+00:00",
    "search_term": "ninja"
  }
]
```

### 📚 How to use this actor

1. **In Apify Console:**
   - Click "Run" and provide the input in JSON format as shown in the example above
   - The actor will automatically handle search execution, pagination, and data extraction
   - Results will appear in the Dataset tab as they are collected

2. **From code (Python/Node.js):**\
   You can run the actor using the Apify SDK or by making an HTTP request to the Apify API.

   **Python example:**

   ```python
   from apify_client import ApifyClient

   client = ApifyClient("YOUR_API_TOKEN")
   run = client.actor("your-actor-id").call(run_input={
       "search_terms": ["ninja", "assassin", "RPG"],
       "max_results": 100
   })

   # Fetch results from dataset
   for item in client.dataset(run["defaultDatasetId"]).iterate_items():
       print(item)
   ```

   **Node.js example:**

   ```javascript
   const { ApifyClient } = require('apify-client');

   const client = new ApifyClient({
       token: 'YOUR_API_TOKEN',
   });

   const run = await client.actor('your-actor-id').call({
       search_terms: ['ninja', 'assassin', 'RPG'],
       max_results: 100
   });

   // Fetch results from dataset
   const { items } = await client.dataset(run.defaultDatasetId).listItems();
   console.log(items);
   ```

### 💰 Pricing

This Actor uses **pay-per-event pricing**, meaning you only pay for the events that occur during execution. The pricing structure is as follows:

#### Event-Based Pricing

- **Result**: $0.0025 per game result extracted and returned
- **Search Term**: $0.0005 per search term processed
- **Actor Start**: $0.005 per actor run (one-time event)

#### Pricing Examples

**Example 1:** Running the actor with 2 search terms and collecting 100 results per term:

- Actor Start: $0.005 (one-time)
- Search Terms: 2 × $0.0005 = $0.001
- Results: 200 × $0.0025 = $0.500
- **Total: $0.506**

#### Cost Optimization Tips

- **Batch multiple search terms** in a single run to minimize Actor Start costs
- **Set appropriate max_results** to avoid collecting more data than needed
- **Use specific keywords** to get more relevant results and reduce unnecessary data collection

### 🗒️ Technical notes

- **Web scraping**: Uses Steam's search engine for efficient game discovery and data extraction
- **Automatic pagination**: Handles multiple pages of results automatically to collect comprehensive data
- **Per-keyword result limiting**: Each keyword is processed independently with its own result limit
- **Multiple of 10 validation**: Ensures max_results is a multiple of 10 for optimal pagination handling
- **Structured output**: Returns clean JSON data with consistent field names and data types
- **Metadata tracking**: Includes search term and extraction timestamps for data lineage
- **Platform extraction**: Captures detailed platform support information (Windows, Mac, Linux, VR)
- **Price tracking**: Extracts both original and discounted prices with percentage calculations
- **Review analysis**: Captures review summaries and ratings for game quality assessment
- **Deduplication**: Ensures unique game entries in the output dataset
- **Error handling**: Robust error handling for network issues and missing data

### 💡 Use cases

- **Game Market Research**: Analyze game pricing trends, discount patterns, and market positioning across different genres and categories
- **Price Monitoring**: Track game prices, discounts, and sales events for competitive pricing strategies
- **Competitive Analysis**: Monitor competitor games, pricing strategies, and market positioning
- **Game Discovery**: Discover new games by genre, theme, or keyword for content creators, streamers, and gaming enthusiasts
- **Indie Game Research**: Find and analyze indie games, their pricing, reviews, and platform availability
- **Genre Analysis**: Study game distribution across genres (RPG, action, strategy, simulation, etc.)
- **Platform Research**: Analyze platform support trends (Windows, Mac, Linux, VR) across game catalogs
- **Review Analysis**: Track review ratings and user feedback patterns for game quality assessment
- **Sales Intelligence**: Monitor Steam sales events, discount percentages, and pricing strategies
- **Game Publisher Research**: Analyze games published by specific developers or publishers
- **Content Creation**: Find games for YouTube channels, Twitch streams, or gaming blogs
- **Gaming Industry Intelligence**: Track industry trends, release dates, and market dynamics
- **Game Library Management**: Build and maintain game databases for personal or professional use
- **Academic Research**: Collect game data for gaming studies, market research, or academic papers
- **Data Integration**: Feed game data into analytics platforms, recommendation systems, or custom applications

### 💬 Support

If you need any help please contact us as soon as possible via email or any contact channel that Apify provides.

### 🔌 Steam API Alternative

Looking for a **Steam API** or **API de Steam**? This actor serves as a powerful alternative to official Steam API endpoints, providing programmatic access to Steam game data through a simple, RESTful interface. Whether you need a **Steam API integration**, **Steam data API**, or **Steam scraping API**, this tool offers comprehensive game search and data extraction capabilities.

**Key Features:**

- **Steam API access** without official API credentials
- **RESTful API interface** via Apify platform
- **Structured JSON responses** compatible with API integrations
- **Real-time game data** extraction and search functionality
- **Scalable API usage** with pay-per-result pricing model
- **Multiple search parameters** including keyword-based search across game titles and descriptions
- **Comprehensive game metadata** including prices, discounts, reviews, platforms, and release dates

Use this actor as your **Steam API alternative** to build applications, integrations, and data pipelines that require access to Steam game information. Perfect for developers building **Steam API integrations**, game developers needing **Steam game API** access, market analysts requiring **Steam market API** functionality, and businesses needing **Steam data API** capabilities for game market intelligence, competitive analysis, and pricing strategies.

### Credits

Developed and maintained by DataCach team 🌟.

# Actor input Schema

## `search_terms` (type: `array`):

Keywords to search for Steam games. Examples: 'ninja', 'assassin', 'RPG', 'indie', 'strategy', 'action', 'adventure', 'puzzle', 'simulation', 'racing', 'sports', 'horror', 'survival', 'multiplayer', 'single player'. You can enter multiple keywords to search across different game categories and discover diverse game collections.

## `max_results` (type: `integer`):

Maximum number of game results to return per search term. The scraper will collect results until reaching this limit or until no more results are available. Set higher for comprehensive game discovery, lower for quick searches. REQUIRED: Must be a multiple of 10. Valid examples: 10, 20, 30, 50, 100, 200, 500, 1000. Each search term will independently return up to this number of results.

## Actor input object example

```json
{
  "search_terms": [
    "ninja",
    "assassin",
    "strategy",
    "indie"
  ],
  "max_results": 100
}
```

# 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 = {
    "search_terms": [
        "ninja",
        "assassin",
        "RPG"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("datacach/steam-listing-search-by-keyword").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 = { "search_terms": [
        "ninja",
        "assassin",
        "RPG",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("datacach/steam-listing-search-by-keyword").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 '{
  "search_terms": [
    "ninja",
    "assassin",
    "RPG"
  ]
}' |
apify call datacach/steam-listing-search-by-keyword --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datacach/steam-listing-search-by-keyword"
        }
    }
}
```

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/OgEBEtXQXNibp7DEj/builds/pZaj3F0DVh3ineXIY/openapi.json
