A free to use API to get a lists of various common datasets such as languages, countries, etc.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dataset
.dockerignore
.gitignore
Dockerfile
LICENSE
README.md
index.js
now.json
package.json
yarn.lock

README.md

dataset.now.sh

A free to use API to get a lists of various common datasets such as:

  • Languages
  • Countries

All the endpoints with data are cached using Now CDN to give the best performance all the time.

Endpoints

Get a list of spoken languages

GET /languages

Returns the list of languages as:

{
  "languages": [
    ...
    {
      "name": "Spanish",
      "nativeName": "español",
      "code": "es"
    }
    ...
  ]
}

Each language contains its name in English, the native name and the language code.

Get a list of countries

GET /countries

Returns the list of countries as:

{
  "countries": [
    ...
    { "code": "US", "country": "United States" }
    ...
  ]
}

Each country contains the name and international code.