Default

Country Metadata

Changed on

List all countries and metadata.

get/country

Request

  • Base URL
    https://finnhub.io/api/v1
  • URL
    https://finnhub.io/api/v1/country
  • Auth
    API key in query parameter token

Response

successful operation

countrystring

Country name

code2string

Alpha 2 code

code3string

Alpha 3 code

codeNostring

UN code

currencystring

Currency name

currencyCodestring

Currency code

regionstring

Region

subRegionstring

Sub-Region

ratingstring

Moody's credit risk rating.

defaultSpreadnumber float

Default spread

countryRiskPremiumnumber float

Country risk premium

equityRiskPremiumnumber float

Equity risk premium

Example response

[
  {
    "country": "country",
    "code3": "code3",
    "code2": "code2",
    "subRegion": "subRegion",
    "codeNo": "codeNo",
    "equityRiskPremium": 1.4658129,
    "defaultSpread": 0.8008282,
    "rating": "rating",
    "currency": "currency",
    "region": "region",
    "currencyCode": "currencyCode",
    "countryRiskPremium": 6.0274563
  }
]

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status