Jump to main content

Datasets

What the service serves, and in what shape.

Each dataset is a separate address that answers with an array of objects. The fields and their types are described in the tables below.

DatasetPathrecordsSize
HTTP response codes/api/v1/http-status.json403.0 KiB
Currencies/api/v1/currencies.json363.2 KiB
Time zones/api/v1/timezones.json403.6 KiB
Printable ASCII/api/v1/ascii.json956.2 KiB
SI prefixes/api/v1/si-prefixes.json241.6 KiB
Countries/api/v1/countries.json24928.3 KiB
Units/api/v1/units.json262.5 KiB

HTTP response codes

A selection of HTTP status codes with names and response classes.

FieldTypeDescription
codeintegerCode
namestringMeaning
classstringStatus class identified by the first digit.

Currencies

ISO 4217 currencies: letter and numeric code, minor units.

FieldTypeDescription
codestringLetter currency code (ISO 4217).
numberintegerNumeric currency code (ISO 4217).
digitsintegerNumber of digits after the decimal point.
namestringName.

Time zones

IANA zone names and their standard offset from UTC.

FieldTypeDescription
namestringIANA zone name, e.g. Europe/Berlin.
offsetstringStandard offset from UTC as ±HH:MM.
utc_offset_minutesintegerThe same offset in minutes.

Printable ASCII

Characters from space to tilde with their decimal and hexadecimal codes.

FieldTypeDescription
decimalintegerDecimal character code.
hexstringHexadecimal character code.
characterstringCharacter, including space.

SI prefixes

Decimal prefixes, their symbols and powers of ten.

FieldTypeDescription
namestringInternational prefix name.
symbolstringCase-sensitive unit or prefix symbol.
exponentintegerExponent of ten.

Countries

Country codes and names following ISO 3166-1.

FieldTypeDescription
alpha2stringTwo-letter country code (ISO 3166-1 alpha-2).
alpha3stringThree-letter country code (ISO 3166-1 alpha-3).
namestringName.
name_localstringName in the dataset's second language.

Units

Factors for converting units to their SI base.

FieldTypeDescription
unitstringUnit identifier.
quantitystringPhysical quantity.
symbolstringConventional symbol.
to_basenumberFactor to convert to the SI base unit.