Risks Index APIOperational
GET_v1_ogc_collections_collection_items
Records of an OGC collection
Request
تاقی بکەرەوە
Available · No credits
GET/v1/ogc/collections/{collection}/items
curl -s "https://api.risksindex.com/v1/ogc/collections/hazards/items?limit=1"const res = await fetch("https://api.risksindex.com/v1/ogc/collections/hazards/items?limit=1");
const { data, meta } = await res.json();import json, urllib.request
req = urllib.request.Request("https://api.risksindex.com/v1/ogc/collections/hazards/items?limit=1")
with urllib.request.urlopen(req) as res:
answer = json.load(res)200 OKapplication/json
"/v1/ogc/collections/hazards/items?limit=1" An answer this API gave, shortened. Values change with the data.
GeoJSON Feature records with geometry null (metadata only): q, limit (1 to 100) and offset, with next and prev links. Availability: Available.
Parameters
Parameters
collectionrequiredpath · string
Collection id
qoptionalquery · string
Search terms in the title and description
limitoptionalquery · string
1 to 100 (default 10)
offsetoptionalquery · string
Records to skip (default 0)
Answers
Responses
- 200
An OGC API document (raw OGC shape, not the envelope)
- 304
Not modified: If-None-Match matched the snapshot digest
- 400Problem, RFC 9457
Bad cursor. Codes: BAD_CURSOR, BAD_PAGE
- 401
- 404Problem, RFC 9457
Not found. Codes: NOT_FOUND
- 414
- 429Problem, RFC 9457
Rate limited. Codes: RATE_LIMITED
- 500Problem, RFC 9457
Internal error. Codes: INTERNAL
Get started
Get a key with a free account, or choose who the account is for, its seats and any council, and see your workstation first.