# Provider Distribution

Returns a breakdown of your brand's appearances across different AI search providers (ChatGPT, Gemini, Perplexity, etc.).

## Request

```
GET /v1/visibility/provider-distribution
```

### Query Parameters

All [common filters](/getting-started/filtering.md) are supported, plus:

| Parameter   | Type              | Required | Default     | Description                                    |
| ----------- | ----------------- | -------- | ----------- | ---------------------------------------------- |
| `entity`    | string            | No       | Your brand  | Entity name to analyze. Defaults to your brand |
| `startDate` | string (ISO 8601) | No       | 30 days ago | Start of date range                            |
| `endDate`   | string (ISO 8601) | No       | Today       | End of date range                              |
| `providers` | string\[]         | No       | All         | Filter by AI provider                          |
| `topicIds`  | string\[]         | No       | All         | Filter by topic                                |
| `countries` | string\[]         | No       | All         | Filter by country code                         |

## Response

### Success (200 OK)

```json
[
  {
    "provider": "OPENAI",
    "appearanceCount": 523,
    "totalCount": 890,
    "appearanceRate": 58.76
  },
  {
    "provider": "GEMINI",
    "appearanceCount": 412,
    "totalCount": 890,
    "appearanceRate": 46.29
  },
  {
    "provider": "PERPLEXITY",
    "appearanceCount": 312,
    "totalCount": 890,
    "appearanceRate": 35.06
  }
]
```

### Fields

| Field             | Type            | Description                                                  |
| ----------------- | --------------- | ------------------------------------------------------------ |
| `provider`        | string          | AI provider name                                             |
| `appearanceCount` | integer or null | Times the entity appeared in this provider's responses       |
| `totalCount`      | integer or null | Total prompts analyzed for this provider                     |
| `appearanceRate`  | number or null  | Appearance percentage (`appearanceCount / totalCount * 100`) |

## Examples

### curl

```bash
curl "https://app.limy.ai/api/v1/visibility/provider-distribution" \
  -H "X-API-Key: YOUR_API_KEY"
```

### Python

```python
response = requests.get(
    f"https://app.limy.ai/api/v1/visibility/provider-distribution",
    headers={"X-API-Key": API_KEY},
    params={"startDate": "2026-01-01", "endDate": "2026-03-31"}
)

for provider in response.json():
    print(f"{provider['provider']}: {provider['appearanceRate']:.1f}% appearance rate")
```

### JavaScript

```javascript
const response = await fetch(
  `https://app.limy.ai/api/v1/visibility/provider-distribution`,
  { headers: { 'X-API-Key': API_KEY } }
);

const providers = await response.json();
providers.forEach(p =>
  console.log(`${p.provider}: ${p.appearanceRate}% appearance rate`)
);
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://api-reference.limy.ai/analytics/appearance-over-time/provider-distribution.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
