Health

Top-N country ranking for a WHO GHO indicator and year

Changed on

Rank countries by a World Health Organization Global Health Observatory (WHO GHO) indicator for a chosen calendar year. Only rows with SpatialDimType=COUNTRY and Dim1=SEX_BTSX (both sexes) are considered so the leaderboard is comparable across countries. Use order=desc (default) for largest values first (e.g. countries with the highest life expectancy) or order=asc for lowest values first (e.g. lowest under-5 mortality).

get/api/v1/health/who/rankings/{code}

Request

  • Base URL
    https://sugra.ai
  • Auth
    API key in header x-api-key

Path parameters

codestring required

Indicator code (e.g. WHOSIS_000001 for life expectancy, MDG_0000000007 for under-5 mortality).

Query parameters

yearinteger required

Calendar year of the ranking (required).

limitinteger

Maximum entries to return (1 to 50).

orderstring

Sort direction - desc for highest values first, asc for lowest.

Response

Ranked country entries with rank, code, WHO region, year, numeric value, and display string.

Example response

{
  "meta": {
    "endpoint": "/api/v1/fred/us/cpi",
    "data_time": "2026-04-16T14:30:00Z",
    "response_time": "2026-04-16T14:30:12Z",
    "provider": "Sugra API v1.0.1",
    "data_age_days": 8.532,
    "source": "sugra_crypto",
    "attribution": "Short interest and Reg SHO daily short volume data is owned by and sourced from FINRA (Financial Industry Regulatory Authority).",
    "source_url": "https://fred.stlouisfed.org/series/UNRATE",
    "citation": "Federal Reserve Bank of St. Louis (FRED) - Unemployment Rate (UNRATE) - https://fred.stlouisfed.org/series/UNRATE - retrieved 2026-11-02",
    "fallback_chain": [
      "sugra_crypto",
      "sugra_finance"
    ],
    "stale_since": "2026-09-08T12:00:00Z",
    "period": "2026-Q1",
    "notes": "the UKMTO report behind these counts is dated 2026-08-21 and is 11 days old"
  }
}

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • breaking

      added subschema #1 to the response body oneOf list for the response status

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    This list may be incomplete.