# Steam Store Search API Documentation

Search the Steam store by keyword and retrieve up to 10 matching items with name, type, price, metascore and platform support. A valid empty result (no matches) is a successful, billable response.

- **Documentation:** [https://scrappa.co/docs/steam-api/steam_search](https://scrappa.co/docs/steam-api/steam_search)
- **API group:** Steam API
- **Endpoint:** `GET https://scrappa.co/api/steam/search`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `term` | string | Yes | The store search keyword. Example: portal. |
| `l` | string | No | Steam language code. Defaults to english. |
| `cc` | string | No | 2-letter country code for pricing currency. Defaults to US. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/steam/search?term=portal&l=english&cc=US"
```

## Example response

```json
{
    "success": true,
    "data": {
        "total": 10,
        "items": [
            {
                "type": "game",
                "name": "Portal 2",
                "id": 620,
                "price": {
                    "currency": "USD",
                    "initial": 999,
                    "final": 999
                },
                "tiny_image": "https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/620/header.jpg",
                "metascore": 95,
                "platforms": {
                    "windows": true,
                    "mac": true,
                    "linux": false
                }
            }
        ]
    },
    "meta": {
        "endpoint_family": "search",
        "billable": true
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | The term parameter is missing or invalid. This response is not billable. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
