{"source":"rovbase","operation":"find_predator_observations","description":"Search large-carnivore observations from Rovbase (via GBIF). Signature: find_predator_observations(species: string, optional, default None; from_year: integer, calendar year, optional, default None; to_year: integer, calendar year, optional, default None; lat: decimal number, decimal degrees (WGS84), optional, default None; lon: decimal number, decimal degrees (WGS84), optional, default None; radius_km: decimal number, kilometres, optional, default None; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0).","signature":"find_predator_observations(species: string, optional, default None; from_year: integer, calendar year, optional, default None; to_year: integer, calendar year, optional, default None; lat: decimal number, decimal degrees (WGS84), optional, default None; lon: decimal number, decimal degrees (WGS84), optional, default None; radius_km: decimal number, kilometres, optional, default None; limit: integer, items, optional, default 25; offset: integer, items, optional, default 0)","parameters":[{"name":"species","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"One of bear, wolf, wolverine, lynx, golden eagle (also the Norwegian bj\u00f8rn, ulv, jerv, gaupe, konge\u00f8rn). Omit for all species.","unit":null},{"name":"from_year","type":"integer","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]},"required":false,"default":null,"description":"Restrict to a year range (either or both). Unit: calendar year.","unit":"calendar year"},{"name":"to_year","type":"integer","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]},"required":false,"default":null,"description":"Restrict to a year range (either or both). Unit: calendar year.","unit":"calendar year"},{"name":"lat","type":"number","schema":{"anyOf":[{"type":"number"},{"type":"null"}]},"required":false,"default":null,"description":"Centre coordinate (WGS84) for a radius search. Unit: decimal degrees (WGS84).","unit":"decimal degrees (WGS84)"},{"name":"lon","type":"number","schema":{"anyOf":[{"type":"number"},{"type":"null"}]},"required":false,"default":null,"description":"Centre coordinate (WGS84) for a radius search. Unit: decimal degrees (WGS84).","unit":"decimal degrees (WGS84)"},{"name":"radius_km","type":"number","schema":{"anyOf":[{"type":"number"},{"type":"null"}]},"required":false,"default":null,"description":"Radius in km around lat/lon (needs lat and lon; default 10). Unit: kilometres.","unit":"kilometres"},{"name":"limit","type":"integer","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"required":false,"default":25,"description":"Max observations to return, 1-100 (default 20). Unit: items. Through this API: default 25, maximum 100.","unit":"items"},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page.","unit":"items"}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/rovbase/find_predator_observations?species={species}&from_year={from_year}&to_year={to_year}&lat={lat}&lon={lon}&radius_km={radius_km}&limit=25&offset=0","example_url":"https://allemannsdata.com/wiki/api/v1/kilder/rovbase/find_predator_observations?species=jerv&from_year=2024&to_year=2024","schema_scope":"#/data in the successful operation envelope","response_schema":{"type":"object","properties":{"total":{"type":"integer"},"returned":{"type":"integer"},"observations":{"type":"array","items":{"type":"object","properties":{"species":{"type":"string"},"scientific_name":{"type":"string"},"date":{"type":"string"},"lat":{"type":"number"},"lon":{"type":"number"},"locality":{"type":"string"},"county":{"type":"string"},"basis_of_record":{"type":"string"}},"additionalProperties":false}}},"additionalProperties":false,"required":["total","returned","observations"]},"response_schema_status":{"status":"declared","codegen_safe":true,"description":"Maintained response contract."},"entity_projection":{"status":"projected","entity_types":["place"],"description":"Recognized records and stable operation identifiers are projected; an empty array means the successful payload contained no recognizable entity."},"error_contract":{"scope":"top-level HTTP error response; never part of a success payload","schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object"}},"additionalProperties":false,"required":["code","message","retryable"]},"suggestion":{"type":"string"},"_meta":{"type":"object","properties":{"retrieved_at":{"type":"string","format":"date-time"},"language":{"type":"string","const":"en"},"content_languages":{"type":"array","items":{"type":"string"}},"sources":{"type":"array","items":{"type":"object"}}},"required":["retrieved_at","language","content_languages","sources"]},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"api_index":{"type":"string","format":"uri"},"feedback":{"type":"string","format":"uri"}},"required":["self","api_index","feedback"],"additionalProperties":false}},"additionalProperties":false,"required":["error","suggestion","_meta","_links"]},"statuses":{"400":{"codes":["MISSING_PARAMETER","INVALID_PARAMETER","INVALID_REQUEST"],"retryable":false},"404":{"codes":["SOURCE_NOT_FOUND","OPERATION_NOT_FOUND","ENTITY_NOT_FOUND"],"retryable":false},"429":{"codes":["RATE_LIMITED","GATEWAY_RATE_LIMITED"],"retryable":true},"503":{"codes":["SOURCE_UNAVAILABLE"],"retryable":true},"500":{"codes":["INTERNAL_ERROR"],"retryable":true}}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/rovbase/find_predator_observations/schema","operation":"https://allemannsdata.com/wiki/api/v1/kilder/rovbase/find_predator_observations","source":"https://allemannsdata.com/wiki/api/v1/kilder/rovbase","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"},"output_fields":["total","returned","observations","observations[].species","observations[].scientific_name","observations[].date","observations[].lat","observations[].lon","observations[].locality","observations[].county","observations[].basis_of_record"],"output_fields_truncated":false,"canonical_field_aliases":{"date":["observations[].date"],"latitude":["observations[].lat"],"longitude":["observations[].lon"]},"response_example":{"source":"rovbase","operation":"find_predator_observations","parameters":{"species":"jerv","from_year":2024,"to_year":2024,"limit":25,"offset":0},"data":{"total":1,"returned":1,"observations":[{"species":"example value","scientific_name":"Example","date":"2026-01-15","lat":59.91,"lon":10.75,"locality":"example value","county":"example value","basis_of_record":"example value"}]},"entities":[],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"rovbase","name":"Rovbase large carnivores","description":"Observations of Norway's large carnivores (bear, wolf, wolverine, lynx, golden eagle) from Milj\u00f8direktoratet's Rovbase, via GBIF.","cache_ttl_seconds":300,"documentation":"https://www.gbif.org/dataset/3b45d150-bb41-488d-a438-9e7ffb3c6101"}]},"_provenance":{"data":{"source":"rovbase","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/rovbase"},"entities":{"source":"rovbase","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/rovbase","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/rovbase/find_predator_observations","source":"https://allemannsdata.com/wiki/api/v1/kilder/rovbase","wiki":"https://allemannsdata.com/wiki/kilder/rovbase/find_predator_observations/","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"}}}
