# Daftar Lokasi dan Bahasa untuk DataForSEO Clickstream Data API

**API:** Data API

**Endpoint:** `GET /v1/beta/dataforseo/keywords_data/clickstream_data/locations_and_languages`

**Tags:** DataForSEO

Lokasi dan bahasa yang diterima endpoint clickstream, sebagai `location_code`, `location_name`, `location_code_parent`, `country_iso_code`, `location_type`, dan `available_languages` yang bersarang per lokasi.

### Referensi harga

- Metering: Biaya respons yang dilaporkan.
- Estimasi referensi per permintaan: USD 0.012.
- Pengali pelanggan referensi: 1.0. Jangan terapkan lagi pada jumlah pelanggan yang telah diselesaikan.

Hanya metadata referensi, bukan penawaran akun, harga yang dijamin, atau batas pengeluaran. Kredit sumber daya bukanlah kredit Felo. Biaya akhir mengikuti catatan tagihan Felo.

## Related links

- [ISO 639-1](<https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes>)

## Base URL

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

## Authentication

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

## Responses

### 200 — Operasi berhasil

Headers:
- `X-Request-Id` (string) — Pengenal permintaan yang harus disertakan saat menghubungi dukungan Felo.

**application/json**

Schema: object | null

```json
{
  "type": [
    "object",
    "null"
  ],
  "oneOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_KeywordsDataClickstreamDataLocationsAndLanguagesResponseInfo"
    }
  ]
}
```

### 400 — Permintaan tidak dapat diproses. Periksa parameter permintaan.

### 401 — Kunci API Felo yang valid diperlukan.

### 402 — Permintaan tidak dapat dilanjutkan karena persyaratan penagihan belum terpenuhi.

### 403 — Akun tidak diizinkan melakukan operasi ini.

### 429 — Batas permintaan atau batas pengeluaran telah tercapai.

### 502 — Layanan tidak dapat menyelesaikan permintaan.

### 503 — API atau layanan penagihan untuk sementara tidak tersedia.

### 504 — Layanan kehabisan waktu saat memproses permintaan.

### default — Respons error; respons passthrough upstream dapat menggunakan format penyedia

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response36Afe1097B20_AvailableLanguages

`#/components/schemas/Response36Afe1097B20_AvailableLanguages`

```json
{
  "type": "object",
  "properties": {
    "available_sources": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "<em>sumber yang didukung</em><br>berisi sumber data yang didukung untuk kombinasi lokasi dan bahasa tertentu<br>saat ini hanya <code>google</code> dan <code>bing</code> yang tersedia"
    },
    "language_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>nama bahasa</em>"
    },
    "language_code": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>kode bahasa menurut ISO 639-1</em>"
    },
    "keywords": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>jumlah kata kunci yang tersedia untuk lokasi dan bahasa yang diberikan"
    },
    "serps": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>jumlah halaman SERP yang tersedia untuk lokasi dan bahasa yang diberikan"
    }
  }
}
```

### Response36Afe1097B20_BaseResponseInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseInfo`

```json
{
  "properties": {
    "version": {
      "type": [
        "string",
        "null"
      ],
      "description": "versi API saat ini"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "kode status umum; Anda dapat menemukan daftar lengkap kode respons di sini"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "pesan informasi umum; Anda dapat menemukan daftar lengkap pesan informasi umum di sini"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "total waktu eksekusi, detik"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "total biaya tugas, USD",
      "format": "double"
    },
    "tasks_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "jumlah tugas dalam array tasks",
      "format": "int64"
    },
    "tasks_error": {
      "type": [
        "integer",
        "null"
      ],
      "description": "jumlah tugas dalam array tasks yang dikembalikan dengan error",
      "format": "int64"
    }
  }
}
```

### Response36Afe1097B20_BaseResponseTaskInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo`

```json
{
  "properties": {
    "id": {
      "type": [
        "string",
        "null"
      ],
      "description": "pengenal tugas; pengenal tugas unik di sistem kami dalam format UUID"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "kode status tugas yang dihasilkan oleh DataForSEO; dapat berada dalam rentang berikut: 10000-60000; Anda dapat menemukan daftar lengkap kode respons di sini"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "pesan informasi tugas; Anda dapat menemukan daftar lengkap pesan informasi umum di sini"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "waktu eksekusi, detik"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "total biaya tugas, USD",
      "format": "double"
    },
    "result_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "jumlah elemen dalam array hasil",
      "format": "int64"
    },
    "path": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "Jalur URL"
    },
    "data": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "object",
          "null"
        ]
      },
      "description": "berisi parameter yang sama dengan yang Anda tentukan dalam permintaan POST"
    }
  }
}
```

### Response36Afe1097B20_KeywordsDataClickstreamDataLocationsAndLanguagesResponseInfo

`#/components/schemas/Response36Afe1097B20_KeywordsDataClickstreamDataLocationsAndLanguagesResponseInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseInfo"
    },
    {
      "type": "object",
      "properties": {
        "tasks": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_KeywordsDataClickstreamDataLocationsAndLanguagesTaskInfo"
              }
            ]
          },
          "description": "<em>array tugas</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_KeywordsDataClickstreamDataLocationsAndLanguagesResultInfo

`#/components/schemas/Response36Afe1097B20_KeywordsDataClickstreamDataLocationsAndLanguagesResultInfo`

```json
{
  "type": "object",
  "properties": {
    "location_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>kode lokasi</em>"
    },
    "location_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>nama lengkap lokasi</em>"
    },
    "location_code_parent": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>kode lokasi induk</em><br>nilainya akan <code>null</code> karena <code>Country</code> adalah satu-satunya <code>location_type</code> yang didukung API ini"
    },
    "country_iso_code": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>kode negara ISO lokasi</em>"
    },
    "location_type": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>jenis lokasi</em><br>nilai yang mungkin:<br><code>Country</code>"
    },
    "available_languages": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_AvailableLanguages"
          }
        ]
      },
      "description": "<em>bahasa yang didukung</em><br>berisi bahasa yang didukung untuk lokasi tertentu"
    }
  }
}
```

### Response36Afe1097B20_KeywordsDataClickstreamDataLocationsAndLanguagesTaskInfo

`#/components/schemas/Response36Afe1097B20_KeywordsDataClickstreamDataLocationsAndLanguagesTaskInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo"
    },
    {
      "type": "object",
      "properties": {
        "result": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_KeywordsDataClickstreamDataLocationsAndLanguagesResultInfo"
              }
            ]
          },
          "description": "<em>array hasil</em>"
        }
      }
    }
  ]
}
```
