---
title: "Get Stats By Geo"
method: GET
path: "/referral/my-stats/geo"
tags: ["referral"]
---

# Get Stats By Geo

`GET /referral/my-stats/geo`

## Request

- Base URL: `https://studio-api.meganova.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://studio-api.meganova.ai/referral/my-stats/geo`
- Auth: OAuth 2
  - Password
  - Token URL: `auth/token`

Get referral statistics by geographic location (country).

Returns click stats grouped by country, sorted by click count.

## Query parameters

- `days` integer: Number of days to look back
- `limit` integer: Maximum number of countries to return

## Response `200`

Successful Response

- GeoStatsResponse: Response containing geographic distribution data.
  - `data` GeoStats[]: List of stats by country
    - `country` string, required
    - `clicks` integer, required
    - `unique` integer, required
    - `signups` integer, required
    - `conversion_rate` number, required
  - `total_countries` integer, required: Number of countries with clicks

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/meganova/apis/fastapi.md) - [All operations](https://skmtc.dev/meganova/apis/fastapi/llms.txt) - [OpenAPI document](https://skmtc.dev/meganova/apis/fastapi/revisions/c683584f6060?raw)
