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.
| Dataset | Path | records | Size |
|---|---|---|---|
| HTTP response codes | /api/v1/http-status.json | 40 | 3.0 KiB |
| Currencies | /api/v1/currencies.json | 36 | 3.2 KiB |
| Time zones | /api/v1/timezones.json | 40 | 3.6 KiB |
| Printable ASCII | /api/v1/ascii.json | 95 | 6.2 KiB |
| SI prefixes | /api/v1/si-prefixes.json | 24 | 1.6 KiB |
| Countries | /api/v1/countries.json | 249 | 28.3 KiB |
| Units | /api/v1/units.json | 26 | 2.5 KiB |
HTTP response codes
A selection of HTTP status codes with names and response classes.
| Field | Type | Description |
|---|---|---|
| code | integer | Code |
| name | string | Meaning |
| class | string | Status class identified by the first digit. |
Currencies
ISO 4217 currencies: letter and numeric code, minor units.
| Field | Type | Description |
|---|---|---|
| code | string | Letter currency code (ISO 4217). |
| number | integer | Numeric currency code (ISO 4217). |
| digits | integer | Number of digits after the decimal point. |
| name | string | Name. |
Time zones
IANA zone names and their standard offset from UTC.
| Field | Type | Description |
|---|---|---|
| name | string | IANA zone name, e.g. Europe/Berlin. |
| offset | string | Standard offset from UTC as ±HH:MM. |
| utc_offset_minutes | integer | The same offset in minutes. |
Printable ASCII
Characters from space to tilde with their decimal and hexadecimal codes.
| Field | Type | Description |
|---|---|---|
| decimal | integer | Decimal character code. |
| hex | string | Hexadecimal character code. |
| character | string | Character, including space. |
SI prefixes
Decimal prefixes, their symbols and powers of ten.
| Field | Type | Description |
|---|---|---|
| name | string | International prefix name. |
| symbol | string | Case-sensitive unit or prefix symbol. |
| exponent | integer | Exponent of ten. |
Countries
Country codes and names following ISO 3166-1.
| Field | Type | Description |
|---|---|---|
| alpha2 | string | Two-letter country code (ISO 3166-1 alpha-2). |
| alpha3 | string | Three-letter country code (ISO 3166-1 alpha-3). |
| name | string | Name. |
| name_local | string | Name in the dataset's second language. |
Units
Factors for converting units to their SI base.
| Field | Type | Description |
|---|---|---|
| unit | string | Unit identifier. |
| quantity | string | Physical quantity. |
| symbol | string | Conventional symbol. |
| to_base | number | Factor to convert to the SI base unit. |