---
title: "Import Place From Url"
method: POST
path: "/api/v1/places/import-from-url"
tags: ["places"]
---

# Import Place From Url

`POST /api/v1/places/import-from-url`

## Request

- Base URL: `https://yondry.app` (the document declares no server; this is the origin it was published from)
- URL: `https://yondry.app/api/v1/places/import-from-url`
- Auth: HTTP bearer

## Request body

- ImportFromUrlRequest
  - `url` string, required: Google Maps URL to import (full, short, or CID format)

## Response `201`

Successful Response

- PlaceOut: Legacy response schema retained for places_import.py and existing tests. New endpoints return PlaceResponse. This type is intentionally narrow so it deserialises cleanly from both old and new Place ORM rows.
  - `id` string, uuid, required
  - `name` string, required
  - `address` string, nullable, required
  - `lat` number, nullable, required
  - `lon` number, nullable, required
  - `category` string, nullable, required
  - `indoor_outdoor` string, nullable, required
  - `budget_level` string, nullable, required
  - `kid_min_age` integer, nullable, required
  - `kid_max_age` integer, nullable, required
  - `always_open` boolean, required
  - `opening_time` string, nullable, required
  - `closing_time` string, nullable, required
  - `tags` string[], required
  - `source` string, required
  - `notes` string, nullable, required
  - `is_deleted` boolean, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

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