---
title: "GET /{lang}/places/xid/{xid}"
method: GET
path: "/{lang}/places/xid/{xid}"
tags: ["Object properties"]
---

# GET /{lang}/places/xid/{xid}

`GET /{lang}/places/xid/{xid}`

Returns detailed information about the object. Objects can contain different amount of information.

## Path parameters

- `lang` string, required
- `xid` string, required

## Response `200`

Returns object properties

- Places
  - `xid` string, required — Unique identifier of the object in OpenTripMap
  - `name` string, required — The name of the object
  - `kinds` string — Comma-separated list of categories. [see List of categories](https://dev.opentripmap.com/en/catalog.tree.json)
  - `osm` string — OpenStreetMap identifier of the object
  - `wikidata` string — Wikidata identifier of the object
  - `rate` '0' | '1' | '2' | '3' | '1h' | '2h' | '3h', required — Rating of the object popularity
  - `image` string — Image URL
  - `preview` object — Image thumbnail
    - `source` string — Image thumbnail URL
    - `width` integer — Thumbnail width in pixels
    - `height` integer — Thumbnail height in pixels
  - `wikipedia` string — Link to Wikipedia
  - `wikipedia_extracts` object — Extracts of the wikipedia page
    - `title` string — Page title in wikipedia
    - `text` string — Plain-text extract
    - `html` string — Limited HTML extract
  - `voyage` string — Link to WikiVoyage
  - `url` string — Link to website
  - `otm` string, required — Link to object at opentripmap.com
  - `sources` object, required — Sources of information on object
    - `geometry` 'osm' | 'wikidata' | 'snow' | 'cultura.ru' | 'rosnedra' — Source of object geometry
    - `attributes` string[] — Sources of object attributes
  - `info` object — Extended object information (for some object categories)
    - `src` string, int64 — Source ID
    - `src_id` integer — Object identifier in the source
    - `descr` string — Object description
  - `bbox` object — Minimum bounding box for the object geometry
    - `lon_min` number, double
    - `lon_max` number, double
    - `lat_min` number, double
    - `lat_max` number, double
  - `point` object, required — Point geographic coordinates of the object
    - `lon` number, double — Longitude
    - `lat` number, double — Latitude

## Other responses

- `404` — Object is not found in OpenTripMap

---

[API](https://skmtc.net/opentripmap/apis/opentripmap-api.md) · [All operations](https://skmtc.net/opentripmap/apis/opentripmap-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/opentripmap/opentripmap-api/revisions/27aa081235f9/schema)
