---
title: "Query latest imagery within polygon"
method: POST
path: "/latest/poly"
tags: ["imagery"]
---

# Query latest imagery within polygon

`POST /latest/poly`

Returns the most recent dashcam frames captured within the given GeoJSON polygon.

## Query parameters

- `headings` boolean
- `min_week` string, date

## Request body

- GeoJSONPolygon
  - `type` 'Polygon', required
  - `coordinates` array[], required
    - array[]
      - number[]

## Response `200`

Imagery frames

- object
  - `frames` ImageryFrame[]
    - `url` string, uri — Signed image URL (temporary)
    - `timestamp` string, date-time
    - `position` object
      - `lat` number
      - `lon` number
    - `device` string — Device type (e.g. 'bee')
    - `sequence` string
    - `idx` integer — Frame index in sequence
    - `width` integer
    - `height` integer

## Other responses

- `400` — Bad Request — invalid geometry, missing required fields, or malformed JSON
- `402` — Payment Required — insufficient credits
- `403` — Forbidden — missing or invalid API key
- `429` — Too Many Requests — rate limit exceeded (default: 100 req/min)

---

[API](https://skmtc.dev/beemaps/apis/bee-maps-data-api.md) · [All operations](https://skmtc.dev/beemaps/apis/bee-maps-data-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/beemaps/bee-maps-data-api/revisions/fcbfc9ebaf37/schema)
