---
title: "Get Current Snapshot As Plain Geojson"
method: POST
path: "/snapshot/plain/"
---

# Get Current Snapshot As Plain Geojson

`POST /snapshot/plain/`

Simple API to get osm features as geojson for small region. This is designed only for querying small data for large data follow /snapshot/

Params ::

    bbox: Optional List = takes xmin, ymin, xmax, ymax uses srid=4326
    select: List = this is select query  you can pass [*] to select all attribute
    where: List[WhereCondition] = [{'key': 'building', 'value': ['*']},{'key':'amenity','value':['school','college']}]
    join_by: Optional[JoinFilterType] = or/ and
    look_in: Optional[List[OsmFeatureType]] = ["nodes", "ways_poly","ways_line","relations"] : tables name

## Request body

- SnapshotParamsPlain
  - `bbox` union
    - unknown[]
      - unknown
    - unknown[]
      - unknown
  - `select` string[]
  - `where` WhereCondition[]
    - `key` string, required
    - `value` string[], required
  - `joinBy` 'OR' | 'AND' — An enumeration.
  - `lookIn` OsmFeatureType[]
  - `geometryType` 'point' | 'line' | 'polygon' | 'all_geometry' — An enumeration.

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/hotosm/apis/raw-data-api.md) · [All operations](https://skmtc.dev/hotosm/apis/raw-data-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hotosm/raw-data-api/revisions/4d2c3132d38a/schema)
