# Apple App Store Search

Apple search endpoint with per-vertical routing and storefront localization.

- **Documentation:** [https://scrappa.co/docs/apple-app-store-api/apple_app_store_search](https://scrappa.co/docs/apple-app-store-api/apple_app_store_search)
- **API group:** Apple App Store API
- **Endpoint:** `GET https://scrappa.co/api/apple/app-store/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 term (q is accepted as an alias). |
| `store` | string | No | Apple store vertical: apps, mac, books, audiobooks, movies, tv, music, or podcasts. |
| `country` | string | No | Two-letter Apple storefront country code. Defaults to us. |
| `limit` | integer | No | Maximum number of results. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/apple/app-store/search?query=facebook&store=apps&country=us"
```

## Example response

```json
{
    "search_parameters": {
        "engine": "apple_app_store_search",
        "query": "facebook",
        "store": "apps",
        "country": "us",
        "limit": 50
    },
    "results": [
        {
            "id": "284882215",
            "title": "Facebook",
            "artist": "Meta Platforms, Inc.",
            "url": "https://apps.apple.com/us/app/facebook/id284882215",
            "rating": 2.3
        }
    ]
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | The product_id or another parameter failed validation. |
| 404 | Apple Product Not Found | The product is legitimately absent in the requested storefront. |
| 503 | Apple Upstream Unavailable | Apple could not be fetched through the configured proxy tiers after the full attempt budget. |

## 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)
