all-about-apikey/Animals/eBird.md

1.1 KiB

eBird

Description

Retrieve recent or notable birding observations within a region

Example Request

  • Curl
curl --location --request GET "https://api.ebird.org/v2/data/obs/KZ/recent" --header "X-eBirdApiToken: {{APIKEY}}"
  • Raw
GET /v2/data/obs/KZ/recent HTTP/1.1
Host: api.ebird.org
X-eBirdApiToken: {{APIKEY}}

Response

  • Success
[
    {
        "speciesCode":"gretit1",
        "comName":"Great Tit",
        "sciName":"Parus major",
        "locId":"L14009371",
        "locName":"Atyrau Yard",
        "obsDt":"2021-11-11 13:39",
        "howMany":4,"lat":47.101336,
        "lng":51.91241,
        "obsValid":true,
        "obsReviewed":false,
        "locationPrivate":true,
        "subId":"S97421089"
    },
    {
        "speciesCode":"casgul2",
        "comName":"Caspian Gull",
        "sciName":"Larus cachinnans",
        ...
    }
]
  • Error

No output if APIKEY is wrong

Regex

[a-z0-9]{12}

Example API key

19jf092v8gpl