# Refresh competitor estimates

Request one bounded estimate refresh for an accessible 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: POST /v1/competitors/{platform}/{storeId}/estimates/refresh

- Method: `POST`
- Path: `/v1/competitors/{platform}/{storeId}/estimates/refresh`
- Authentication: Bearer API credential or OAuth access token
- Required scope: `content:write`
- MCP tool: `refresh_competitor_estimates`

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `platform` | path | ios | yes | The preview supports iOS only. |
| `storeId` | path | numeric string | yes | Apple App Store identifier. |

## 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.
- 409 conflict when the write would duplicate an exclusive row.

## Request

The command has no request body. Fresh and in-progress work is coalesced.

```
curl --request POST 'https://api.peekpanda.com/v1/competitors/ios/0000000000/estimates/refresh' \
  --header "Authorization: Bearer $PEEKPANDA_TOKEN" \
  --header 'x-genviral-tenancy: personal'
```

## Response

updated includes data; pending includes retryAt and an empty data array.

```
{
  "state": "pending",
  "data": [],
  "retryAt": "2026-09-06T00:15:00.000Z"
}

```

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