# Browse ASO keyword discovery

Page unsaved observed rankings or derived keyword ideas for one tracked 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/aso/apps/{appId}/keyword-discovery

- Method: `GET`
- Path: `/v1/aso/apps/{appId}/keyword-discovery`
- Authentication: Bearer API credential or OAuth access token
- Required scope: `context:read`
- MCP tool: `aso`
- MCP action: `discover`

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `appId` | path | uuid | yes | Tracked app id. |
| `sourceGroup` | query | string | no | observed or derived. Defaults to observed. |
| `search` | query | string | no | Optional keyword text, up to 200 characters. |
| `cursor` | query | string | no | Page cursor from the previous response. |
| `limit` | query | integer | no | Page size, 1 to 100. Defaults to 50. |

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

appId is the tracked app. sourceGroup selects observed rankings or derived ideas. Pass the returned cursor to read the next page.

```
curl --get 'https://api.peekpanda.com/v1/aso/apps/11111111-1111-4111-8111-111111111111/keyword-discovery' \
  --header "Authorization: Bearer $PEEKPANDA_TOKEN" \
  --header 'x-genviral-tenancy: personal' \
  --data-urlencode 'sourceGroup=observed'
```

## MCP request

Call aso with action discover. Path fields go in params, filters in query, and a write body in body.

```
{
  "name": "aso",
  "arguments": {
    "request": {
      "action": "discover",
      "params": {
        "appId": "<appId>"
      }
    }
  }
}

```

## Response

phase matches the source group you asked for. An empty data array means this phase has no rows yet.

```
{
  "phase": "observed",
  "data": [],
  "nextCursor": null
}

```

## Source

Stored observations and derived ideas for apps you track.

## Refresh

This read does not collect. Refresh the app when you want newer observations.
