top of page

WHO Health API for Sports Safety & Compliance Apps | SportsFirst

Integrate WHO API for health guidelines, safety data, and compliance information in your sports organization platform. Built by SportsFirst.

API football

WHO Health API for Sports Safety — Complete Guide for Athletes, Developers & Sports Organizations in the USA

What Is the WHO Health API for Sports Safety?



The WHO Health API for Sports Safety is a programmatic interface that provides access to the World Health Organization's Global Health Observatory (GHO) data enabling sports organizations, app developers, athletic trainers, and health researchers to pull authoritative, real-time global health data directly into sports platforms, injury-prevention tools, and athlete management systems.


For sports professionals and developers in the United States, integrating the WHO Health API for Sports Safety means building applications that are backed by the most credible international health authority in existence. Whether you are developing an athlete wellness dashboard, a sports injury tracking app, or a public health research tool for collegiate athletics, this API gives you verified, structured, and continuously updated health data.




The World Health Organization is a specialized agency of the United Nations, founded in 1948, and recognized globally as the authoritative body on international public health. Its data is used by the CDC, NIH, NCAA, and major US health institutions.


Why Sports Safety Demands Authoritative Health Data


Sports-related injuries cost the US healthcare system an estimated $935 million annually in emergency department visits alone (based on CDC-aligned injury surveillance data). Beyond acute injuries, chronic health risks including cardiovascular events, heat illness, concussions, and infectious disease exposure during mass sporting events demand that sports organizations have access to reliable, real-time health intelligence.

The WHO Health API for Sports Safety addresses this need by providing:


  • Disease surveillance data : critical for planning international sporting events or travel for US-based teams competing abroad

  • Vaccination and immunization coverage data : relevant for team physicians managing athlete travel health

  • Mortality and morbidity statistics by country : enabling context-aware health risk assessments

  • Environmental health indicators : including air quality and climate-related health risks that directly affect outdoor athletic performance and safety

  • Mental health data : increasingly important for athlete wellness programs across NCAA, NFL, NBA, MLB, and youth sports organizations


Key Features of the WHO Health API for Sports Safety


1. Global Health Observatory (GHO) OData API

The primary endpoint for the WHO Health API is accessible at:


https://ghoapi.azureedge.net/api/

This is a RESTful OData API that returns data in JSON format. It provides access to over 2,000 health indicators spanning nutrition, disease, injury, mental health, and environmental factors.


2. Real-Time and Historical Data Access


Developers can query both current health data and historical time-series records enabling trend analysis that is invaluable for longitudinal athlete health monitoring.


3. Country-Level and Regional Filtering


For US-based sports organizations sending teams internationally, you can filter data by country or WHO region to assess health risks in specific destinations before travel.


4. Open Access (No API Key Required for Basic Access)


The WHO GHO OData API is openly accessible for basic queries. No authentication key is required to get started, making it one of the most accessible public health APIs available to sports tech developers.


WHO Health API Endpoints Relevant to Sports Safety


Endpoint

Description

Sports Safety Use Case

/api/Indicator

Lists all available health indicators

Discover relevant injury and wellness metrics

/api/{IndicatorCode}

Fetches data for a specific indicator

Pull injury rate, BMI, cardiovascular stats

/api/DIMENSION/COUNTRY/DimensionValues

Lists all countries with available data

Filter data for team travel health assessment

/api/Indicator?$filter=...

OData-filtered indicator queries

Target specific health conditions or regions

/api/NCD_BMI_30C

Adult obesity rates by country

Relevant for fitness and wellness benchmarking

/api/SA_0000001462

Alcohol use disorder prevalence

Athlete wellness and substance monitoring

/api/CARDIOVASCULAR_DEATHS

Cardiovascular mortality data

Risk assessment for high-intensity sports programs

How to Query the WHO Health API for Sports Safety: Code Examples

Basic API Call - Fetch All Indicators (JavaScript / Fetch API)


// Fetch all WHO health indicators relevant to sports safety
const response = await fetch('https://ghoapi.azureedge.net/api/Indicator');
const data = await response.json();

console.log(data.value); // Array of all available health indicators

Filter by Sports-Relevant Indicator (JavaScript)


// Fetch cardiovascular disease data — critical for athlete screening
const indicatorCode = 'CARDIOVASCULAR_DEATHS';
const country = 'USA';

const url = `https://ghoapi.azureedge.net/api/${indicatorCode}?$filter=SpatialDim eq '${country}'`;

const response = await fetch(url);
const data = await response.json();

data.value.forEach(record => {
  console.log(`Year: ${record.TimeDim}, Value: ${record.NumericValue}`);
});

Fetch Heat-Related Health Data for Outdoor Sports Safety (Python)


import requests

# WHO indicator for heat-related illness and climate health impact
base_url = "https://ghoapi.azureedge.net/api/"
indicator = "SDGPM25"  # Ambient air pollution - relevant for outdoor sports

params = {
    "$filter": "SpatialDim eq 'USA'",
    "$orderby": "TimeDim desc",
    "$top": "5"
}

response = requests.get(base_url + indicator, params=params)
data = response.json()

for record in data['value']:
    print(f"Year: {record['TimeDim']}, PM2.5 Level: {record['NumericValue']} µg/m³")

Parse WHO API Response and Map to Athlete Health Dashboard (JavaScript)


async function getAthleteRiskData(countryCode, indicatorCode) {
  const endpoint = `https://ghoapi.azureedge.net/api/${indicatorCode}`;
  const filter = `?$filter=SpatialDim eq '${countryCode}'&$orderby=TimeDim desc&$top=10`;

  try {
    const res = await fetch(endpoint + filter);
    const json = await res.json();

    return json.value.map(record => ({
      year: record.TimeDim,
      country: record.SpatialDim,
      value: record.NumericValue,
      unit: record.Comments || 'N/A'
    }));
  } catch (error) {
    console.error('WHO API fetch failed:', error);
    return [];
  }
}

// Example: Cardiovascular risk data for USA
getAthleteRiskData('USA', 'NCD_CARDIOVASCULAR_DEATHS_BY_SEX').then(console.log);

WHO Health Indicators Most Relevant to US Sports Safety Programs

Indicator Name

WHO Indicator Code

Relevance to Sports Safety

Prevalence of physical inactivity in adults

NCD_PAC

Baseline fitness data for sports population programs

Cardiovascular disease mortality

NCD_CARDIOVASCULAR

Athlete cardiac screening benchmarks

Ambient air quality (PM2.5)

SDGPM25

Outdoor sports safety — air pollution risk

Obesity prevalence (BMI ≥ 30)

NCD_BMI_30C

Athlete health profiling and weight management

Alcohol use disorders

SA_0000001462

Athlete wellness and substance use monitoring

Road traffic injury deaths

RS_198

Athlete travel safety and event planning

Mental health — depression prevalence

MENTAL_DEPRESSION

Athlete mental wellness program design

Heat-related mortality risk

PHE_HHEAT

Heat illness prevention in summer sports

Vaccination coverage — measles

WHS4_544

Team travel and mass-event health planning

Suicide mortality rate

MH_12

Athlete mental health risk awareness

API Response Structure: Understanding the WHO Data Format


When you call the WHO Health API for Sports Safety, the JSON response follows a consistent OData structure:



{
  "@odata.context": "https://ghoapi.azureedge.net/api/$metadata#NCD_BMI_30C",
  "value": [
    {
      "Id": 1287634,
      "IndicatorCode": "NCD_BMI_30C",
      "SpatialDimType": "COUNTRY",
      "SpatialDim": "USA",
      "TimeDimType": "YEAR",
      "TimeDim": 2022,
      "Dim1Type": "SEX",
      "Dim1": "BTSX",
      "NumericValue": 36.2,
      "Low": 33.1,
      "High": 39.4,
      "Comments": "% of adults",
      "Date": "2024-01-15T00:00:00"
    }
  ]
}
```

**Key fields explained:**

| Field | Data Type | Description |
|---|---|---|
| `IndicatorCode` | String | Unique WHO indicator identifier |
| `SpatialDim` | String (ISO 3166) | Country code (e.g., "USA") |
| `TimeDim` | Integer | Year of the data record |
| `NumericValue` | Float | The core health statistic value |
| `Low` / `High` | Float | Confidence interval bounds |
| `Dim1` / `Dim2` | String | Disaggregation dimensions (sex, age group, etc.) |
| `Date` | ISO DateTime | Date the record was last updated |

---

## Who Uses the WHO Health API for Sports Safety in the USA?

### Sports Technology Companies
Developers building athlete management platforms, sports analytics tools, and fitness applications integrate the WHO Health API to enrich their platforms with globally validated health benchmarks.

### NCAA and Collegiate Athletic Programs
University sports medicine departments use WHO health data to contextualize athlete health trends, particularly for international student athletes and teams competing abroad.

### Professional Sports Organizations
NFL, NBA, MLB, and MLS franchises with international players or global travel schedules leverage WHO data for travel health risk assessment and pre-participation medical screening reference data.

### Public Health Researchers
Academic institutions including Johns Hopkins, Harvard School of Public Health, and the University of Michigan use WHO API data to study the intersection of sports participation and population health outcomes.

### Sports Event Organizers
Organizations hosting large-scale sporting events — marathons, triathlons, international tournaments — use WHO surveillance data to prepare medical response plans and disease outbreak protocols.

### Youth Sports Organizations
US Youth Soccer, Little League Baseball, and similar bodies reference WHO health data to inform coach education and parent health guidelines, particularly around physical activity, obesity prevention, and heat illness.

---

## Integration Comparison: WHO Health API vs. Other Health APIs for Sports Safety

| Feature | WHO Health API | CDC Wonder API | NIH NLM APIs | Apple HealthKit |
|---|---|---|---|---|
| **Data Authority** | International (UN body) | USA-specific | Biomedical/clinical | Personal device data |
| **Access Cost** | Free (open access) | Free | Free | SDK (developer fee may apply) |
| **Sports Safety Data** | Global benchmarks | US mortality/disease | Research literature | Individual metrics |
| **Real-Time Updates** | Yes (periodic) | Yes | Yes | Yes (live) |
| **Developer Docs** | Moderate | Excellent | Excellent | Excellent |
| **Data Scope** | 2,000+ global indicators | US population stats | Research & trials | Personal health tracking |
| **Best For** | Global context & benchmarking | US-only sports health research | Academic sports medicine | Consumer athlete apps |
| **Authentication Required** | No (basic) | No | No | Yes (Apple Developer) |
| **JSON Support** | Yes (OData) | Yes | Yes | SDK-based |

---

## EEAT Signals: Why Trust WHO Data for Sports Safety Decisions

**Experience:** The World Health Organization has been collecting and publishing health data since 1948. Its data infrastructure has supported public health decisions in every major global health crisis, including COVID-19, Ebola, and Zika — demonstrating operational reliability at scale.

**Expertise:** WHO employs over 7,000 health experts globally, including epidemiologists, biostatisticians, and sports medicine consultants who contribute to its physical activity and sports safety guidelines.

**Authoritativeness:** WHO health data is cited by the US Centers for Disease Control and Prevention (CDC), the National Institutes of Health (NIH), the American College of Sports Medicine (ACSM), and peer-reviewed journals including The Lancet and JAMA.

**Trustworthiness:** The WHO API operates under a transparent open-data policy. All indicators include source documentation, methodology notes, and confidence interval reporting — allowing developers and researchers to accurately assess data reliability before use.

---

## Pricing & Access Tiers for the WHO Health API

| Access Tier | Cost | Data Access Level | Rate Limits | Best For |
|---|---|---|---|---|
| **Open / Public Access** | Free | All GHO indicators | No published hard limit | Developers, researchers, startups |
| **Bulk Data Download** | Free | CSV / Excel exports via WHO data portal | N/A (manual download) | Academic research, data analysis |
| **Custom WHO Data Partnerships** | Contact WHO | Extended datasets, embargoed data | Custom SLA | Governments, large NGOs, institutions |

For most sports technology companies and developers in the USA, the **free open access tier** provides all necessary data without any cost barrier.

---

## Step-by-Step: How to Integrate the WHO Health API for Sports Safety Into Your App

**Step 1 — Explore Available Indicators**
Visit [https://www.who.int/data/gho/info/gho-odata-api](https://www.who.int/data/gho/info/gho-odata-api) and browse the indicator catalog to identify the health metrics relevant to your sports application.

**Step 2 — Test API Calls in Your Browser or Postman**
The WHO API requires no authentication for basic access. Open your browser or API client and test:
```
https://ghoapi.azureedge.net/api/Indicator

Step 3 — Identify Country Codes and Dimension Filters Use ISO 3166-1 alpha-3 country codes (e.g., USA, GBR, AUS) to filter data by geography.

Step 4 — Build Your Query with OData Filters Use $filter, $orderby, and $top parameters to refine your data pull for performance and relevance.

Step 5 — Parse the JSON Response Extract NumericValue, TimeDim, and SpatialDim fields as your primary data points.

Step 6 — Display Data Contextually in Your Sports App Map WHO health benchmarks to athlete profiles, team dashboards, or event health planning modules.

Step 7 — Schedule Regular Data Refreshes WHO updates its GHO database periodically. Build a caching and refresh mechanism (recommend weekly or monthly syncs) to keep your app's health data current.


Additional WHO Resources for Sports Safety Development

Resource

URL

Description

WHO GHO OData API Documentation

Official API reference and endpoint guide

WHO Global Health Observatory

Interactive data browser and export tool

WHO Data Repository

Full catalog of WHO datasets and publications

WHO Physical Activity Guidelines

Evidence-based sports activity recommendations

WHO Global Action Plan on Physical Activity

Policy framework for sports and health programs


FAQs


Q1: What is the WHO Health API for Sports Safety? 

The WHO Health API for Sports Safety is the World Health Organization's publicly accessible GHO OData API that allows developers, sports organizations, and researchers to programmatically retrieve global health data — including injury statistics, disease prevalence, and wellness indicators — relevant to athletic programs and sports safety planning.


Q2: Is the WHO Health API free to use for sports app developers in the USA? 

Yes. The WHO GHO OData API is openly accessible at no cost for basic data queries. No API key or registration is required to start pulling data, making it one of the most cost-effective health data sources available to US sports technology developers.


Q3: What programming languages can I use to integrate the WHO Health API? 

The WHO API is a standard RESTful OData API that returns JSON data. It can be integrated using any programming language that supports HTTP requests — including JavaScript, Python, Java, Swift, Kotlin, PHP, Ruby, C#, and Go.


Q4: How current is the health data available through the WHO API? 

WHO updates its Global Health Observatory database periodically throughout the year. The update frequency varies by indicator — some datasets are updated annually, others more frequently. Each data record includes a Date timestamp indicating when it was last updated.


Q5: Can I use WHO Health API data for athlete medical screening in the USA? 

WHO data provides population-level health benchmarks and is appropriate for contextual reference within sports health programs. It is not a substitute for individual clinical assessment. US sports medicine professionals should use WHO data in conjunction with clinical examinations and CDC guidelines for athlete pre-participation screening.


Q6: How does WHO health data help with sports event safety planning in the USA? 

Event organizers can use WHO disease surveillance data to monitor infectious disease risks in participant origin countries, assess vaccination coverage levels relevant to mass gatherings, and reference WHO's mass-gathering health guidelines all accessible through the API or WHO's data portal.


Q7: Are there rate limits on the WHO Health API? 

The WHO does not publish explicit rate limits for the GHO OData API. For production sports applications, it is best practice to implement local caching of API responses and refresh data on a scheduled basis (weekly or monthly) rather than making live API calls on every user request.


Q8: Can the WHO Health API integrate with platforms like Salesforce Health Cloud, Epic, or athlete management systems? 

Yes. Since the WHO API returns standard JSON data, it can be integrated into any platform that accepts REST API connections or custom data feeds including Salesforce Health Cloud, custom athlete management systems, sports analytics platforms, and electronic health record (EHR) systems used by US sports medicine departments.


Q9: What WHO health indicators are most important for youth sports safety programs in the USA? 

The most relevant indicators for US youth sports programs include physical inactivity prevalence (NCD_PAC), obesity rates (NCD_BMI_30C), air pollution levels (SDGPM25 for outdoor sports), mental health data (MENTAL_DEPRESSION), and heat-related health risk indicators all accessible through the WHO Health API.


Q10: Where can I find documentation for the WHO Health API for Sports Safety? The 

official WHO GHO OData API documentation is available at https://www.who.int/data/gho/info/gho-odata-api. This page includes endpoint references, filter syntax, data dictionaries, and usage examples.


Are you looking to hire a qualified sports app development company?

Are you looking to hire a qualified sports app development company or want to discuss sports APIs?

Thanks for submitting!

bottom of page