# ภูมิศาสตร์ชั้นนำของเว็บไซต์

**API:** Data API

**Endpoint:** `GET /v1/beta/similarweb/website-top-geographies`

**Tags:** Website Analytics

ประเทศชั้นนำตามส่วนแบ่งทราฟฟิกของโดเมนสำหรับเดือนล่าสุดที่มีข้อมูล (data.countries, สูงสุด 10 แถวพร้อม country_code, country_name, share และ visits) ขอบเขตภูมิศาสตร์เป็นทั่วโลก (ww) และคงที่: endpoint นี้ไม่รับพารามิเตอร์ country

### ข้อมูลอ้างอิงราคา

- การวัดปริมาณการใช้งาน: จำนวนผลลัพธ์ที่วัดปริมาณ
- ค่าประมาณคำขออ้างอิง: USD 2.25
- ฐานต้นทุนต่อหน่วย: USD 0.075
- หน่วยทรัพยากร: `similarweb_credit`
- ตัวคูณอ้างอิงสำหรับลูกค้า: 1.0 ห้ามนำไปใช้ซ้ำกับยอดที่เรียกเก็บจากลูกค้าแล้ว
- เกณฑ์ต้นทุนไม่ได้กำหนดราคาสุดท้ายของลูกค้า รวมถึงเมื่อเป็นศูนย์

เป็นข้อมูลเมตาอ้างอิงเท่านั้น ไม่ใช่ใบเสนอราคาสำหรับบัญชี ไม่ใช่ราคาที่รับประกัน และไม่ใช่เพดานการใช้จ่าย เครดิตของทรัพยากรไม่ใช่เครดิต Felo ยอดเรียกเก็บขั้นสุดท้ายเป็นไปตามบันทึกการเรียกเก็บเงินของ Felo

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `domain` | query | yes | string |  |
| `month` | query | no | string |  |

## Responses

### 200 — การตอบกลับสำเร็จที่ปรับรูปแบบแล้ว

Headers:
- `X-Request-Id` (string) — ตัวระบุคำขอที่ต้องระบุเมื่อติดต่อฝ่ายสนับสนุนของ Felo

**application/json**

Schema: object

```json
{
  "additionalProperties": false,
  "properties": {
    "data": {
      "additionalProperties": false,
      "properties": {
        "countries": {
          "items": {
            "additionalProperties": false,
            "properties": {
              "country_code": {
                "type": "string"
              },
              "country_name": {
                "type": "string"
              },
              "rank": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "share": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "visits": {
                "type": [
                  "number",
                  "null"
                ]
              }
            },
            "required": [
              "country_code",
              "country_name",
              "rank",
              "share",
              "visits"
            ],
            "type": "object"
          },
          "maxItems": 10,
          "minItems": 1,
          "type": "array"
        }
      },
      "required": [
        "countries"
      ],
      "type": "object"
    },
    "meta": {
      "additionalProperties": false,
      "properties": {
        "country": {
          "enum": [
            "ww"
          ],
          "type": "string"
        },
        "end_date": {
          "pattern": "^[0-9]{4}-[0-9]{2}$",
          "type": "string"
        },
        "granularity": {
          "const": "monthly",
          "type": "string"
        },
        "request_id": {
          "type": "string"
        },
        "retrieved_at": {
          "format": "date-time",
          "type": "string"
        },
        "source": {
          "const": "similarweb",
          "type": "string"
        },
        "start_date": {
          "pattern": "^[0-9]{4}-[0-9]{2}$",
          "type": "string"
        }
      },
      "required": [
        "source",
        "request_id",
        "retrieved_at",
        "country",
        "granularity",
        "start_date",
        "end_date"
      ],
      "type": "object"
    }
  },
  "required": [
    "data",
    "meta"
  ],
  "type": "object"
}
```

### 400 — ไม่สามารถประมวลผลคำขอได้ ตรวจสอบพารามิเตอร์ของคำขอ

### 401 — จำเป็นต้องใช้คีย์ API ของ Felo ที่ถูกต้อง

### 402 — ไม่สามารถดำเนินการตามคำขอได้ เนื่องจากไม่เป็นไปตามข้อกำหนดด้านการเรียกเก็บเงิน

### 403 — บัญชีไม่ได้รับอนุญาตให้ดำเนินการนี้

### 429 — ถึงขีดจำกัดคำขอหรือการใช้จ่ายแล้ว

### 502 — บริการไม่สามารถดำเนินการตามคำขอให้เสร็จสิ้นได้

### 503 — API หรือบริการเรียกเก็บเงินไม่พร้อมใช้งานชั่วคราว

### 504 — บริการหมดเวลาระหว่างประมวลผลคำขอ

### default — การตอบกลับข้อผิดพลาด; การตอบกลับที่ส่งผ่านจากต้นทางอาจใช้รูปแบบของผู้ให้บริการ

**application/json**

Schema:

```json
{}
```
