Skip to main content

PPG Advanced API

PPG Advanced provides blood pressure estimation and vascular health assessment based on ECG + PPG fusion analysis.

Subscription requirement

The PPG Advanced API requires an Advanced subscription. View pricing

Data requirements

PPG Advanced analysis requires you to provide both ECG and PPG data to improve accuracy.


Blood pressure estimation

POST /api/v1/advanced/ppg/blood-pressure

Based on fusion analysis of ECG and PPG signals, estimate blood pressure values (systolic and diastolic).

Important

Blood pressure estimation is for reference only. It cannot replace a medical blood pressure monitor and is not a medical diagnosis.

Request parameters

ParameterTypeRequiredDescription
ecgDataarrayECG signal data array
ecgSampleRatenumberECG sampling rate (Hz)
adcGainnumberGain coefficient (default: 1.0)
adcZeronumberZero/baseline voltage (default: 0.0)
ppgDataobjectPPG signal data object
ppgSampleRatenumberPPG sampling rate (Hz)

ppgData object structure

FieldTypeRequiredDescription
redarrayRed light PPG data array
greenarrayGreen light PPG data array
infraredarrayInfrared PPG data array
PPG multi-channel data

To estimate blood pressure accurately, provide red, green, and infrared PPG channels at the same time.

Request example

curl -X POST "https://api.heartvoice.com.cn/api/v1/advanced/ppg/blood-pressure" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"ecgData": [512, 515, 520, 518, 525, ...],
"ecgSampleRate": 500,
"adcGain": 1.0,
"adcZero": 0.0,
"ppgData": {
"red": [1024, 1028, 1032, ...],
"green": [2048, 2052, 2056, ...],
"infrared": [1536, 1540, 1544, ...]
},
"ppgSampleRate": 100
}'

Response example

{
"errorCode": "0",
"msg": "success",
"data": {
"sqGrade": "0.95",
"sbp": 124,
"dbp": 68
}
}

Response fields

FieldTypeDescriptionUnitNormal range
sqGradestringSignal quality grade (details)--
sbpnumberSystolic blood pressuremmHg90–120
dbpnumberDiastolic blood pressuremmHg60–80

Blood pressure classification standards

CategorySystolic (mmHg)Diastolic (mmHg)
Normal< 120< 80
Elevated120–129< 80
Hypertension Stage 1130–13980–89
Hypertension Stage 2≥ 140≥ 90

Recommendations

  1. Sit quietly during measurement; keep your arm at the same level as your heart
  2. Avoid measuring immediately after exercise, eating, or drinking alcohol
  3. Measure multiple times and take the average value
  4. Calibrate regularly with a standard blood pressure monitor

Vascular health assessment

POST /api/v1/advanced/ppg/vascular-health

Analyze vascular elasticity from ECG and PPG signals to assess vascular age.

Request parameters

ParameterTypeRequiredDescription
ecgDataarrayECG signal data array
ecgSampleRatenumberECG sampling rate (Hz)
adcGainnumberGain coefficient (default: 1.0)
adcZeronumberZero/baseline voltage (default: 0.0)
ppgDataobjectPPG signal data object
ppgSampleRatenumberPPG sampling rate (Hz)

ppgData object structure

FieldTypeRequiredDescription
redarrayRed light PPG data array
greenarrayGreen light PPG data array
infraredarrayInfrared PPG data array

Request example

curl -X POST "https://api.heartvoice.com.cn/api/v1/advanced/ppg/vascular-health" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"ecgData": [512, 515, 520, 518, 525, ...],
"ecgSampleRate": 500,
"adcGain": 1.0,
"adcZero": 0.0,
"ppgData": {
"red": [1024, 1028, 1032, ...],
"green": [2048, 2052, 2056, ...],
"infrared": [1536, 1540, 1544, ...]
},
"ppgSampleRate": 100
}'

Response example

{
"errorCode": "0",
"msg": "success",
"data": {
"sqGrade": "0.95",
"vascularAge": 61
}
}

Response fields

FieldTypeDescriptionUnit
sqGradestringSignal quality grade (details)-
vascularAgenumberVascular ageyears

How to interpret vascular age

Difference vs. actual ageAssessmentRecommendation
Diff <= -5 yearsExcellentVery good vascular elasticity—keep it up
-5 < Diff <= 0 yearsGoodHealthy vascular status
0 < Diff <= 5 yearsFairPay attention to vascular care
5 < Diff <= 10 yearsDeviationImprove lifestyle
Diff > 10 yearsPoorConsider medical evaluation

Factors affecting vascular age

  • Smoking and alcohol consumption
  • Hypertension and hyperlipidemia
  • Lack of exercise
  • Unhealthy diet habits
  • Long-term late nights and high stress

Recommendations

  1. Quit smoking and limit alcohol
  2. Do moderate aerobic exercise (3–5 times/week, 30 minutes each time)
  3. Eat more fresh fruits/vegetables and reduce high-fat/high-salt foods
  4. Maintain healthy daily routines
  5. Have regular health checkups

Technical principles

Blood pressure estimation principle

Blood pressure estimation is based on the following physiological principles and technical methods:

  1. Pulse Transit Time (PTT)

    • Uses the time difference between the ECG R-peak and the PPG pulse peak
    • PTT is negatively correlated with blood pressure
    • Formula: PTT = PPG peak time - ECG R-peak time
  2. PPG waveform features

    • Rising slope (reflects vascular elasticity)
    • Peak amplitude (reflects blood flow volume)
    • Waveform area (reflects per-beat output)
    • Reflected wave characteristics (reflects peripheral resistance)
  3. Multi-channel fusion

    • Red light: superficial skin blood flow
    • Green light: advantages for heart rate detection
    • Infrared: deeper tissue penetration
  4. Deep learning model

    • AI models combining multi-dimensional features
    • Trained on large-scale clinical data

Vascular age assessment principle

Vascular elasticity is assessed based on:

  1. Pulse Wave Velocity (PWV)

    • Uses PTT and the known arterial path length
    • Faster PWV indicates stiffer vessels
  2. Augmentation Index (AI)

    • Analyzes reflected waves in the PPG waveform
    • Reflects large-artery stiffness
  3. Waveform morphology analysis

    • Rise time
    • Peak time
    • Diastolic-phase waveform

Data requirements

Signal duration

Analysis typeMinimum durationRecommended duration
Blood pressure estimation10 seconds30 seconds
Vascular health assessment10 seconds30 seconds

Sampling rate requirements

Signal typeMinimum sampling rateRecommended sampling rate
ECG250Hz500Hz
PPG50Hz100Hz

Measurement conditions

To ensure accuracy, please note:

Correct measurement posture

  • Sit and rest for 5 minutes before measuring
  • Keep your arm relaxed naturally and at the same level as your heart
  • Avoid talking and moving

Appropriate environment

  • Suitable room temperature (20–25°C)
  • Avoid strong direct light shining on the sensor
  • Keep quiet

Avoid the following

  • Measure immediately after vigorous exercise
  • Measure within 30 minutes after eating, drinking alcohol, or smoking
  • When you are emotionally excited/overwhelmed
  • Cold fingers or sweaty hands

Frequently asked questions

Q: Why do we need to provide both ECG and PPG data?

A:

Blood pressure and vascular health assessments rely on PTT calculation, which requires the ECG R-peak time and the PPG pulse peak time. PPG alone cannot provide an accurate PTT value.

Q: What is the purpose of three PPG channels?

A:

  • Red (660nm): Detects superficial skin blood flow for blood pressure estimation
  • Green (520nm): Most accurate for heart rate detection and used for PTT calculation
  • Infrared (940nm): Deep penetration for vascular state assessment

Q: Are the estimated blood pressure values accurate?

A:

The accuracy of blood pressure estimation is affected by multiple factors:

  • Under ideal measurement conditions, the error is typically within ±5–10 mmHg
  • For first-time use, we recommend calibrating against a standard blood pressure monitor
  • For reference only; cannot replace a medical blood pressure monitor
  • Not intended for medical diagnosis

Q: How often is it appropriate to measure?

A:

  • Daily monitoring: 1–2 times per day (morning and evening)
  • If blood pressure is abnormal: follow your clinician’s advice; you may need more frequent monitoring
  • For healthy people: 2–3 times per week is usually sufficient

Next steps