---
title: "Get the global Numbeo cost-of-living city ranking"
method: GET
path: "/numbeo/cost-of-living/rankings"
tags: ["Numbeo"]
---

# Get the global Numbeo cost-of-living city ranking

`GET /numbeo/cost-of-living/rankings`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/numbeo/cost-of-living/rankings`
- Auth: API key in header `x-api-key`

Returns the global cost-of-living city ranking (Cost of Living, Rent, Cost of Living Plus Rent, Groceries, Restaurant Price, and Local Purchasing Power indices), either the continuously-updated current index or a historical periodic snapshot.

## Query parameters

- `scope` 'current' | 'historical'
- `period` string

## Headers

- `x-api-key` string, required

## Response `200`

OK

- NumbeoRankingsResponseDoc
  - `code` integer
  - `data` NumbeoRankingsResponse
    - `cities` NumbeoCityIndexEntry[]
      - `city` string
      - `city_slug` string
      - `cost_of_living_index` number: Numbeo Cost of Living Index; a higher value means consumer goods cost more.
      - `cost_of_living_plus_rent_index` number: Numbeo Cost of Living Plus Rent Index, which combines consumer prices and rent.
      - `groceries_index` number: Numbeo Groceries Index; a higher value means groceries cost more.
      - `local_purchasing_power_index` number: Numbeo Local Purchasing Power Index; a higher value means locals can afford more with their wages.
      - `rank` integer
      - `rent_index` number: Numbeo Rent Index; a higher value means rent costs more.
      - `restaurant_price_index` number: Numbeo Restaurant Price Index; a higher value means meals and drinks out cost more.
    - `period` string
    - `scope` string
    - `source_url` string
  - `msg` string

## Other responses

- `400`: Bad Request
- `500`: Internal Server Error
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/028417aa35bb?raw)
