GET /statistics/years
Summary: Get number of presence records per year.
Operation ID: —
Auth: unknown
Operation ID: —
Auth: unknown
Description
Get number of presence records per year.
Parameters (17)
absence
(string, query, optional)
Include absence records (include) or get absence records exclusively (true).
areaid
(string, query, optional)
Area ID.
datasetid
(string, query, optional)
Dataset UUID.
dropped
(string, query, optional)
Include dropped records (include) or get dropped records exclusively (true).
enddate
(string, query, optional)
End date formatted as YYYY-MM-DD.
enddepth
(integer, query, optional)
End depth, in meters.
exclude
(string, query, optional)
Comma separated list of quality flags to be excluded.
flags
(string, query, optional)
Comma separated list of quality flags which need to be set.
geometry
(string, query, optional)
Geometry, formatted as WKT or GeoHash.
hab
(boolean, query, optional)
HAB species only, true/false.
nodeid
(string, query, optional)
Node UUID.
redlist
(boolean, query, optional)
Red List species only, true/false.
scientificname
(string, query, optional)
Scientific name. Leave empty to include all taxa.
startdate
(string, query, optional)
Start date formatted as YYYY-MM-DD.
startdepth
(integer, query, optional)
Start depth, in meters.
taxonid
(string, query, optional)
Taxon AphiaID.
wrims
(boolean, query, optional)
WRiMS species only, true/false.
Examples (3)
| Title | Type | URL | Action |
|---|---|---|---|
| Get all presence records per year | curl |
https://api.obis.org/statistics/years |
|
| Get yearly records for a specific species | curl |
https://api.obis.org/statistics/years?scientificname=Mola%20mola |
|
| Get yearly records with date range and Red List filter | curl |
https://api.obis.org/statistics/years?startdate=2010-01-01&enddate=2020-12-31&redlist=true |
Probe History
Status Codes
| Time | Status | Latency | Size |
|---|---|---|---|
| 2026-03-23 10:37:13.912253 | 200 | 737ms | |
| 2026-03-23 09:14:47.728802 | 200 | 154ms | |
| 2026-03-23 09:02:08.781710 | 200 | 152ms |
Response Changes
| When | Old | New |
|---|---|---|
| 2026-03-23 09:14:47.728802 | 772dd8afae7f |
8598a67f9b48 |
| 2026-03-23 10:37:13.912253 | 8598a67f9b48 |
54534250d333 |