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

# GET /api/v1/locations/{id}

`GET /api/v1/locations/{id}`

## 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/{id}`
- Auth: none declared

## Path parameters

- `id` integer, required

## Response `200`

- Location
  - `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

## Changes

- **2026-09-24** `cf7a76a46395`: 1 info
  - added the optional property `osm_tags` to the response with the `200` status
- **2026-09-16** `fd287e13ea64`: 1 info
  - added the optional property `osm_version_date` to the response with the `200` status
- **2026-07-13** `f1bb01adae9b`: 2 breaking, 1 info
  - the response property `osm_id` became optional for the status `200`
  - the response property `osm_type` became optional for the status `200`
  - added the required property `osm_brand_logo_url` to the response with the `200` status

[Operation history](https://skmtc.dev/openfoodfacts/apis/open-food-facts-open-prices-rest-api/changes/api/v1/locations/:id/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)
