Endpoints

Quick Overview

Endpoint Methods Description Format Parameters
/v1/tokens POST, GET, DELETE This endpoint could be called to generate, get and delete an auth_token. Also possible under the Developer Dashboard. json, xml, html none
/v1/crises GET Returns the last 10 crises sorted by date. json auth_token=token (*),
page=N,
type=[earthquakes, floods, cyclones, volcanoes],
lat=X, lon=Y, radius=Z (in kilometer)
/v1/crises/:id(.:format) GET Returns a single crisis with the :id identifier. json, rdf auth_token=token (*)
/v1/images GET, POST Returns the last 10 images, sorted by date. json auth_token=token (*),
entity_id=ID,
entity_type=[crises]
/v1/images/:id GET Returns a single image with the :id identifier. json auth_token=token (*),
/v1/missing_people GET Returns the last 10 missing person, sorted by date. json auth_token=token (*),
entity_id=ID,
entity_type=[crises]
/v1/missing_people/:id GET Returns a single missing people with the :id identifier. json auth_token=token (*),
/v1/locations GET Returns the last 10 locations, sorted by date. json auth_token=token (*),
entity_id=ID,
entity_type=[crises]
/v1/locations/:id GET Returns a single location with the :id identifier. json auth_token=token (*),
/v1/stats/users GET Returns statistic information about the user that makes the API call (by auth_token) json auth_token=token (*),
/v1/stats/crises GET Returns statistic information about crises (by auth_token) json auth_token=token (*),