---
title: "GET /api/v1/locations"
method: GET
path: "/api/v1/locations"
tags: ["locations"]
---

# GET /api/v1/locations

`GET /api/v1/locations`

## Request

- Base URL: `https://prices.openfoodfacts.org` (the document declares no server; this is the origin it was published from)
- URL: `https://prices.openfoodfacts.org/api/v1/locations`
- Auth: none declared

## Query parameters

- `order_by` string
- `osm_address_city__like` string
- `osm_address_country__like` string
- `osm_name__like` string
- `osm_tag_key` string
- `osm_tag_value` string
- `osm_type` 'NODE' | 'RELATION' | 'WAY', nullable
- `page` integer
- `price_count` integer
- `price_count__gte` integer
- `price_count__lte` integer
- `size` integer
- `type` 'ONLINE' | 'OSM'

## Response `200`

- PaginatedLocationList
  - `items` Location[], required
    - `id` integer, required
    - `osm_brand_logo_url` string, required
    - `type` 'OSM' | 'ONLINE', required: * `OSM` - OSM * `ONLINE` - ONLINE
    - `osm_id` integer, nullable
    - `osm_type` union
      - 'NODE' | 'WAY' | 'RELATION': * `NODE` - NODE * `WAY` - WAY * `RELATION` - RELATION
      - ''
      - unknown
    - `osm_name` string, nullable
    - `osm_display_name` string, nullable
    - `osm_tag_key` string, nullable
    - `osm_tag_value` string, nullable
    - `osm_tags` string[]
    - `osm_brand` string, nullable
    - `osm_address_postcode` string, nullable
    - `osm_address_city` string, nullable
    - `osm_address_country` string, nullable
    - `osm_address_country_code` string, nullable
    - `osm_lat` number, double, nullable
    - `osm_lon` number, double, nullable
    - `osm_version` integer, nullable
    - `osm_version_date` string, date-time, nullable
    - `website_url` string, uri, nullable
    - `price_count` integer
    - `user_count` integer
    - `product_count` integer
    - `proof_count` integer
    - `source` string, nullable
    - `created` string, date-time
    - `updated` string, date-time, required
  - `page` integer, required: Current page number
  - `pages` integer, required: Total number of pages
  - `size` integer, required: Number of items per page
  - `total` integer, required: Total number of items

## Changes

- **2026-09-24** `cf7a76a46395`: 4 info
  - added the new optional `query` request parameter `osm_tag_key`
  - added the new optional `query` request parameter `osm_tag_value`
  - added the new optional `query` request parameter `osm_type`
  - added the optional property `items/items/osm_tags` to the response with the `200` status
- **2026-09-16** `fd287e13ea64`: 1 info
  - added the optional property `items/items/osm_version_date` to the response with the `200` status
- **2026-07-13** `f1bb01adae9b`: 1 breaking, 25 info
  - the `items/items/` response's property type changed from `array` to `object` for status `200`
  - added the optional property `items/items/created` to the response with the `200` status
  - added the optional property `items/items/osm_address_city` to the response with the `200` status
  - added the optional property `items/items/osm_address_country` to the response with the `200` status
  - …22 more

[Operation history](https://skmtc.dev/openfoodfacts/apis/open-food-facts-open-prices-rest-api/changes/api/v1/locations/get.md)

---

[API](https://skmtc.dev/openfoodfacts/apis/open-food-facts-open-prices-rest-api.md) - [All operations](https://skmtc.dev/openfoodfacts/apis/open-food-facts-open-prices-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openfoodfacts/apis/open-food-facts-open-prices-rest-api/revisions/d7c5d8b4c32e?raw)
