# Get competitor estimate history

Read bounded PeekPanda rating-tape and grossing-rank estimates for one iOS app.

## Contract status

Preview contract: these routes and tools are implemented in the shared contract, but the public host, customer API access and OAuth flow have not been deployment verified.

## Endpoint: GET /v1/competitors/{platform}/{storeId}/estimates/history

- Method: `GET`
- Path: `/v1/competitors/{platform}/{storeId}/estimates/history`
- Authentication: Bearer API credential or OAuth access token
- Required scope: `context:read`
- MCP tool: `get_competitor_estimate_history`

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `platform` | path | ios | yes | The preview supports iOS only. |
| `storeId` | path | numeric string | yes | Apple App Store identifier. |
| `limit` | query | integer, 1–366 | no | Maximum observations; defaults to 60. |

## Known errors

- 400 invalid_request for an invalid filter, identity or limit.
- 401 authentication_required for a missing or invalid credential.
- 402 subscription_required when access is not entitled.
- 403 authorization_required for a missing scope or unavailable preview access.
- 404 not_found when the record is outside the accessible catalogue.
- 429 rate_limited; honor Retry-After when present.

## Request

This read returns stored PeekPanda observations and never calls the App Store.

```
curl --get 'https://api.peekpanda.com/v1/competitors/ios/0000000000/estimates/history' \
  --header "Authorization: Bearer $PEEKPANDA_TOKEN" \
  --header 'x-genviral-tenancy: personal' \
  --data-urlencode 'limit=60'
```

## Response

monthlyInstalls needs two tape days. Revenue is null without a grossing rank.

```
{
  "data": [
    {
      "storeId": "0000000000",
      "platform": "ios",
      "source": "peekpanda",
      "observedAt": "2026-09-06T00:00:00.000Z",
      "country": "us",
      "ratingCount": 12450,
      "lifetimeInstalls": 622500,
      "monthlyInstalls": 129000,
      "previousMonthlyInstalls": null,
      "estimatedMonthlyRevenue": 2000000,
      "previousMonthlyRevenue": null,
      "currency": "USD",
      "installMethod": "ratings_delta_proxy",
      "revenueMethod": "grossing_rank_power_law"
    }
  ]
}

```

## Source

store_rating_observation tape (iTunes userRatingCount) + Apple grossing rank. monthlyInstalls needs two tape days. revenue unknown without a grossing rank (then null).

## Refresh

Trigger peekpanda-rating-tape-refresh cron */15 posts Nest; Nest collects at most one US tape point per app per UTC day.
