Get Collection Items
const url = 'https://example.com/api/collections/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/items?limit=10&offset=0&include_geometry=true';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/api/collections/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/items?limit=10&offset=0&include_geometry=true' \ --header 'Authorization: Bearer <token>'OGC API Features items endpoint — returns GeoJSON FeatureCollection for a dataset.
Note: datetime is accepted per OGC API Features Core but acts as a
no-op for per-dataset feature queries. Per-dataset feature tables contain
user-uploaded data with no standard temporal column, so the spec provision
“if the collection does not include temporal information, the datetime
parameter SHALL be ignored” applies (OGC 17-069r4 §7.15.5).
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Query Parameters
Section titled “Query Parameters ”Include geometry in response. Set to false for attribute-only queries.
Include geometry in response. Set to false for attribute-only queries.
Responses
Section titled “ Responses ”Successful Response
Example generated
exampleOGC API Features compliant feature collection response.
object
GeoJSON object type.
ISO 8601 timestamp the response was generated.
Total number of features matching the query (across all pages).
Number of features in this response page.
GeoJSON features returned by the query.
object
Pagination and self-reference links.
object
Target URL of the link.
Link relation type per RFC 8288 (e.g. ‘self’, ‘next’, ‘prev’, ‘data’, ‘collection’).
Media type of the linked resource (e.g. ‘application/json’, ‘application/geo+json’).
Example
{ "type": "FeatureCollection"}Bad request — invalid query parameters or payload
object
Example
{ "type": "about:blank"}Not found
object
Example
{ "type": "about:blank"}Validation error
object
Example
{ "type": "about:blank"}Internal server error
object
Example
{ "type": "about:blank"}