# Get competitor media

Read stored organic matches and paid-ad observations for one listing.

## 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}/media

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

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

## Request

Identify the listing. This GET does not invent paid-ad rows when none are stored.

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

## Response

organic uses the organic-match page. paidAds stays empty when no ads are stored.

```
{
  "organic": {
    "data": [
      {
        "sourceId": "organic-post-example",
        "productName": "Example Calorie Tracker",
        "caption": "A stored organic clip",
        "link": "https://www.tiktok.com/@example/video/1",
        "match": {
          "status": "suggested",
          "evidence": "normalized_product_name",
          "score": 0.91
        }
      }
    ],
    "candidateLimitReached": false
  },
  "paidAds": {
    "items": [],
    "nextCursor": null,
    "hasMore": false,
    "total": 0,
    "reportedReachCount": 0
  }
}

```

## Source

Copied public organic corpus; name-match suggestions, not verified ownership.

## Refresh

No provider call on GET.
