# PlayStation Store Search API Documentation

Search the PlayStation Store by keyword. Returns games with title, platform, price, sale price, discount and a full-size image for US, DE and GB. A valid empty result is a successful, billable response.

- **Documentation:** [https://scrappa.co/docs/playstation-api/playstation_search](https://scrappa.co/docs/playstation-api/playstation_search)
- **API group:** PlayStation Store API
- **Endpoint:** `GET https://scrappa.co/api/playstation/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 |
| --- | --- | --- | --- |
| `query` | string | Yes | Search keyword. Example: zelda. |
| `region` | string | No | US, DE or GB. Defaults to US. |
| `page` | integer | No | 1-based page number. Defaults to 1. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/playstation/search?query=zelda&region=US&page=1"
```

## Example response

```json
{
    "success": true,
    "data": {
        "total": 24,
        "page": 1,
        "items": [
            {
                "id": "10002694",
                "title": "The Legend of Zelda",
                "platform": "PS5",
                "currency": "USD",
                "price": 59.99,
                "original_price": 59.99,
                "sale_price": null,
                "discount": null,
                "sale_end_date": null,
                "rating": 4.5,
                "image": "https://image.api.playstation.com/example.jpg"
            }
        ]
    },
    "meta": {
        "endpoint_family": "search",
        "billable": true
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A required 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)
