Skip to main content
GET
The frames around a location, or of an administrative unit

Authorizations

Authorization
string
header
required

An API key minted in the Developers tab of the LOCI app, sent as Authorization: Bearer loci_sk_…. Acts for one organisation, is read-only, and expires.

Query Parameters

bbox
string

minLon,minLat,maxLon,maxLat in degrees. One of bbox, an administrative selector, or ids is required.

state
string

A state by name, matched regardless of case.

lga
string

A local government area by name, matched regardless of case. Needs state: LGA names repeat across states.

ward
string

A ward by name, matched regardless of case. Needs state and lga.

limit
integer

At most this many frames per response, up to 5,000, which is also the default.

Required range: 1 <= x <= 5000
after
string

The next value of the previous page of an administrative unit, to continue the walk. Only with state, lga and ward; a box is not paged.

ids
string

Instead of bbox: comma-separated frame ids, at most 100. Returns full frames with bounding boxes.

Response

The frames in the box or the unit as a FeatureCollection, or, with ids, an array of frames. Empty when nothing matches.

data
object
required