all-about-apikey/iucn
Muhammad Daffa 7372a52709 Fix repository structure and add todolist 2022-07-23 20:53:29 +07:00
..
README.md Fix repository structure and add todolist 2022-07-23 20:53:29 +07:00

README.md

IUCN

Description

IUCN Red List of Threatened Species

Example Request

  • Curl
curl --request GET \
    --url http://apiv3.iucnredlist.org/api/v3/country/list?token=API-KEY
  • Raw
GET /api/v3/country/list?token=API-KEY HTTP/1.1
Host: apiv3.iucnredlist.org

Response

  • Success
{"count":251,"results":[{"isocode":"UZ","country":"Uzbekistan"},{"isocode":"QA","country":"Qatar"}....]
  • Error
{
    "message":"Token not valid!"
}

Regex

[a-z0-9]{64}

Example API key

wrion7bk4lh7pxp2wiq57mjak6s0tp34fj1fiemdjqj1g5xl57hi3km8g6jpv28z