# App Store Reviews (`appstore.reviews`)

Recent or most helpful App Store customer reviews for an app (up to 10 pages of 50).

- **Route:** `POST /v1/run/appstore.reviews`
- **Price:** $0.0009 per request ($0.90 per 1,000) · `cost_usd` on every response
- **Source:** Apple iTunes Search API + App Store RSS (`apple`) · failover: no
- **Measured latency:** not enough calls measured yet
- **Heavy response:** no

## Input

| Field | Type | Required | Default | Notes |
|---|---|---|---|---|
| `app_id` | integer | yes |  |  |
| `country` | string | no | "us" |  |
| `page` | integer | no | 1 |  |
| `sort` | string | no | "mostrecent" |  |

## Output (`output` in the run envelope)

| Field | Meaning |
|---|---|
| `reviews` | Title, text, rating, version and date. |

## Example

```bash
curl -s -X POST https://getallapis.com/v1/run/appstore.reviews \
  -H "Authorization: Bearer $GETALLAPIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"app_id":284882215}'
```

```python
from getallapis_client import Client
client = Client()  # reads GETALLAPIS_API_KEY
result = client.run('appstore.reviews', {'app_id': 284882215})
print(result['cost_usd'], result['output'])
```

```bash
getallapis run appstore.reviews '{"app_id":284882215}'
```

Quote first (free, validates input): `POST /v1/quote/appstore.reviews` with the same body.
