Skip to content
AF
Google Health API reference

Core Body Temperature: the Google Health API core-body-temperature data type

Read from Google’s documentation on 2026-10-17 · discovery document revision 20261014 · Google’s data-types page last updated 2026-10-06

Core Body Temperature (core-body-temperature) is a Sample data type in the Google Health API. Google's data-types table lists list, get, reconcile, rollup and dailyRollup for it under the .health_metrics_and_measurements.readonly and .health_metrics_and_measurements.writeonly scopes. The table marks it with neither webhook nor true-zeros support. Google's Fitbit migration table maps the Fitbit Web API's Temperature (Core) data to it.

Core Body Temperature at a glance

From the Core Body Temperature row of Google’s data-types table, joined to the discovery document’s DataPoint schema.

Display name
Core Body Temperature
dataType (in endpoint URLs)
core-body-temperature
filter parameter
core_body_temperatureGoogle: “The identifier separated by underscores (for example, active_minutes) used as the value for the dataType filter parameter in daily rollup and rollup requests.”
Record type
Sample — Google: “Represents instantaneous measurements.”
Storage resolution
not stated in Google’s table
Webhook support
Not marked in Google’s table
True zeros support
Not marked in Google’s table
Channel
v4
DataPoint field
DataPoint.coreBodyTemperature → CoreBodyTemperatureIts description: “Optional. Data for points in the core-body-temperature sample data type collection.”
Compatible devices
0 in Google’s table

Operations and request paths

The operations Google’s table lists for core-body-temperature, each matched to its users.dataTypes.dataPoints method in the discovery document. The path is the documented path template (the method’s flatPath on https://health.googleapis.com/) with {dataTypesId} filled in as core-body-temperature. Google on {user}: “The {user} can be either the alias me or the authenticated user's numeric Health User ID (retrieved via GetIdentity).”

Table listsMethodDocumented path template
listlistGET https://health.googleapis.com/v4/users/{usersId}/dataTypes/core-body-temperature/dataPoints
getgetGET https://health.googleapis.com/v4/users/{usersId}/dataTypes/core-body-temperature/dataPoints/{dataPointsId}
reconcilereconcileGET https://health.googleapis.com/v4/users/{usersId}/dataTypes/core-body-temperature/dataPoints:reconcile
rolluprollUpsame name, different casePOST https://health.googleapis.com/v4/users/{usersId}/dataTypes/core-body-temperature/dataPoints:rollUp
dailyRollupdailyRollUpsame name, different casePOST https://health.googleapis.com/v4/users/{usersId}/dataTypes/core-body-temperature/dataPoints:dailyRollUp

Every method, and how many of the data types list it: the methods overview.

Scopes

The scopes Google’s table lists for core-body-temperature, as full URLs, with the consent text Google’s Scopes page gives each. Every Google Health API scope.

ScopeAccessGoogle’s permission text
https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.readonlyreadSee your Google Health health metrics and measurement data.
https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.writeonlywriteAdd health metric and measurements data to Google Health, and edit or delete the data it adds.

Fields of Core Body Temperature

The schema the discovery document gives DataPoint.coreBodyTemperature, required fields first. Types are as the discovery document states them; the label is the word Google’s description opens with. The schemas its fields refer to follow, one level deep.

CoreBodyTemperature — Google: “Core body temperature measurement, distinct from peripheral body temperature, reflects the temperature of the body's internal organs.”

FieldTypeGoogle’s description
sampleTimeRequiredObservationSampleTimeRequired. The time at which core body temperature was measured.
temperatureCelsiusRequirednumber/doubleRequired. The core body temperature in Celsius. Must be in the range [0, 100].
idOptionalstringOptional. The unique identifier of the core body temperature measurement.
measurementLocationOptionalstringOptional. The location of the core body temperature measurement.
  • MEASUREMENT_LOCATION_UNSPECIFIED — Measurement location is unspecified.
  • OTHER — Other measurement location.
  • ARMPIT — Armpit measurement location.
  • BODY — Body measurement location.
  • EAR — Ear measurement location.
  • FINGER — Finger measurement location.
  • GASTRO_INTESTINAL — Gastro-intestinal measurement location.
  • MOUTH — Mouth measurement location.
  • RECTUM — Rectum measurement location.
  • TOE — Toe measurement location.
  • EAR_DRUM — Ear drum measurement location.
  • TEMPORAL_ARTERY — Temporal artery measurement location.
  • FOREHEAD — Forehead measurement location.
  • URINARY_BLADDER — Urinary bladder measurement location.
  • NASAL — Nasal measurement location.
  • NASOPHARYNGEAL — Nasopharyngeal measurement location.
  • WRIST — Wrist measurement location.
  • VAGINA — Vagina measurement location.

ObservationSampleTime

Google: “Represents a sample time of an observed data point.”

FieldTypeGoogle’s description
physicalTimeRequiredstring/google-datetimeRequired. The time of the observation.
utcOffsetRequiredstring/google-durationRequired. The offset of the user's local time during the observation relative to the Coordinated Universal Time (UTC).
civilTimeOutput onlyCivilDateTimeOutput only. The civil time in the timezone the subject is in at the time of the observation.

Rollup fields

rollUp returns RollupDataPoint.coreBodyTemperature

The discovery document: “Returned by default when rolling up data points from the core-body-temperature data type, or when requested explicitly using the core-body-temperature rollup type identifier.”

CoreBodyTemperatureRollupValue — Google: “Represents the result of the rollup of the core body temperature data type.”

FieldTypeGoogle’s description
temperatureCelsiusAvgnumber/doubleAverage core body temperature in Celsius.
temperatureCelsiusMaxnumber/doubleMaximum core body temperature in Celsius.
temperatureCelsiusMinnumber/doubleMinimum core body temperature in Celsius.

dailyRollUp returns DailyRollupDataPoint.coreBodyTemperature

The discovery document: “Returned by default when rolling up data points from the core-body-temperature data type, or when requested explicitly using the core-body-temperature rollup type identifier.”

The same CoreBodyTemperatureRollupValue as the rollUp result above.

Fitbit Web API predecessor

Google’s Fitbit Web API → Google Health API data-type table maps Temperature (Core) to core-body-temperature.

Fitbit Web API scopes Google maps to core-body-temperature’s scopes: blood_glucose, heartrate, oxygen_saturation, respiratory_rate, temperature, weight.

Google’s full Fitbit Web API mapping tables · the migration playbook

Google’s documentation

Related on this site

Questions

Which OAuth scopes does the Google Health API core-body-temperature data type need?

Google's data-types table (read 2026-10-17) lists https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.readonly and https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.writeonly for core-body-temperature. The Scopes page's consent text: .health_metrics_and_measurements.readonly, "See your Google Health health metrics and measurement data."; .health_metrics_and_measurements.writeonly, "Add health metric and measurements data to Google Health, and edit or delete the data it adds."

Can apps write core body temperature data to the Google Health API?

Not according to Google's data-types table, read 2026-10-17: it lists only list, get, reconcile, rollup and dailyRollup for core-body-temperature, and no create, update or batchDelete operation.

How do you aggregate core-body-temperature data with the Google Health API?

With the rollup methods Google's table lists for it. rollUp (POST https://health.googleapis.com/v4/users/{usersId}/dataTypes/core-body-temperature/dataPoints:rollUp) returns RollupDataPoint.coreBodyTemperature, a CoreBodyTemperatureRollupValue with temperatureCelsiusAvg, temperatureCelsiusMax and temperatureCelsiusMin; dailyRollUp (POST https://health.googleapis.com/v4/users/{usersId}/dataTypes/core-body-temperature/dataPoints:dailyRollUp) returns DailyRollupDataPoint.coreBodyTemperature, a CoreBodyTemperatureRollupValue with temperatureCelsiusAvg, temperatureCelsiusMax and temperatureCelsiusMin. Each field is described on this page as the discovery document describes it.

What did the Google Health API core-body-temperature data type replace in the Fitbit Web API?

Google's Fitbit Web API migration table maps the Fitbit Web API's "Temperature (Core)" to core-body-temperature. The Fitbit Web API scopes Google maps to its scopes: blood_glucose, heartrate, oxygen_saturation, respiratory_rate, temperature and weight.

Other health metrics and measurements data types

All health metrics and measurements data types →

Sources checked

Google’s text is quoted for identification; each guide page’s footer reads: “Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License.”. Generated from Google’s pages by scripts/fetch-google-health-api.mjs, not typed by hand; Google’s documentation remains the authority.

← All Google Health API data types