places

Import Place From Image

Extract place data from an uploaded image using Claude Sonnet vision.

Accepts multipart/form-data with a single "image" field. The file is read entirely into memory (max 10 MB). Claude vision extracts place names, addresses, and coordinates; high/medium confidence places are then verified against Google Places.

If at least one place is resolved, a Place + PlaceSource record are saved immediately and saved_place_id is set in the response. Unresolved results are returned as-is for the client to confirm.

Raises: 413 if the Content-Length header or actual body exceeds 10 MB. 422 if the media type is not image/jpeg, image/png, image/gif, or image/webp.

post/api/v1/places/import-from-image

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-image
  • Auth: HTTP bearer

Response

Successful Response

source_urlstring required
resolvedboolean required
paywalledboolean
namestring nullable
addressstring nullable
latnumber nullable
lonnumber nullable
categorystring nullable
notesstring nullable
thumbnail_urlstring nullable
caption_excerptstring nullable
google_place_idstring nullable
saved_place_idstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.