---
title: "Place Details"
method: GET
path: "/api/v1/locations/place_details"
---

# Place Details

`GET /api/v1/locations/place_details`

## Request

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

## Query parameters

- `osm_id` string, required
- `osm_type` string, required

## Response `200`

Success

- object
  - `data` Location, required
    - `id` integer, required
    - `osm_id` integer, nullable, required
    - `osm_type` string, nullable, required
    - `city` string, nullable, required
    - `state` string, nullable, required
    - `country` string, nullable, required
    - `country_code` string, nullable, required
    - `formatted` string, required
    - `location_type` 'country' | 'state' | 'city', required
  - `meta` PaginationMeta, nullable
    - `total_count` integer
    - `total_pages` integer
    - `next_page` integer, nullable
    - `prev_page` integer, nullable
    - `current_page` integer
    - `page_size` integer

---

[API](https://skmtc.dev/flexiple/apis/flexiple-platform-api-v1.md) - [All operations](https://skmtc.dev/flexiple/apis/flexiple-platform-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/flexiple/apis/flexiple-platform-api-v1/revisions/27e7987859f2?raw)
