> [!NOTE]
> **Note:** This data is only available upon request. To request access, fill out our [access request form](https://docs.google.com/forms/d/e/1FAIpQLSek8yGxFweWcLdPP7tWl6zvHsrS3m-I-5cPJWNamEBhPh8FGA/viewform).

Attributed contrail segments for a specific list of flights.

## Data format

Requests for attributed contrails contains data with the following structure:

| JSON representation |
|---|
| ``` { "attributions": [ { object (`https://developers.google.com/contrails/reference/v2/attributions/overview#attribution`) } ] } ``` |

| Fields ||
|---|---|
| `attributions[]` | ``object (`https://developers.google.com/contrails/reference/v2/attributions/overview#attribution`)`` A list of attributions one for each resource name specified in the `BatchGetAttributionsRequest.names`. The order of attributions in this list will match the order of names in the `BatchGetAttributionsRequest`. If a flight was not found, the corresponding Attribution message in the response will only have the `name` field populated, while `flightDetails` and `contrail` will be empty. |

### Attribution

Represents an aggregated contrail event for a specific flight summarizing all
attributed contrail segments (e.g., total kilometers and energy).

| JSON representation |
|---|
| ``` { "name": string, "flightDetails": { object (`https://developers.google.com/contrails/reference/v2/attributions/overview#flightdetails`) }, "contrail": { object (`https://developers.google.com/contrails/reference/v2/attributions/overview#contrailattributes`) }, "segments": [ { object (`https://developers.google.com/contrails/reference/v2/attributions/overview#segmentattribution`) } ], "visualizationUrl": string } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. The resource name of the flight. **Format:** carriers/{carrier}/flightNumbers/{flightNumber}/departureDates/{departure_date}/departureAirports/{departure_airport} **Components:** - `{carrier}`: 2-character IATA carrier code (e.g., `"AA"`, `"UA"`). - `{flightNumber}`: 1-4 digit flight number (e.g., `"123"`). - `{departure_date}`: Flight departure date according to the local time of the origin airport in `YYYY-MM-DD` format (available from 2024 onwards). - `{departure_airport}`: 3-letter IATA airport code (e.g., `"JFK"`, `"LHR"`). |
| `flightDetails` | ``object (`https://developers.google.com/contrails/reference/v2/attributions/overview#flightdetails`)`` The detail information for this flight. |
| `contrail` | ``object (`https://developers.google.com/contrails/reference/v2/attributions/overview#contrailattributes`)`` Aggregated contrail attributes for the entire flight. This sums up the contrail attributes from all attributed segments. **State interpretation (within a found flight):** - **If present:** Contrail analysis was performed. The fields inside `ContrailAttributes` indicate the results (e.g., `lengthMeters > 0` means contrails were attributed). If an empty `ContrailAttributes` message is present, it means that analysis was performed but both `lengthMeters` and energy forcing evaluated to zero. - **If absent:** Contrail analysis could NOT be performed for this flight. - This is typically due to insufficient input data (e.g., missing weather data or flight path uncertainty). - This does NOT mean no contrails were formed, only that a determination couldn't be made. <br /> > [!TIP] > **Tip:** In some programming languages, you can use a generated `has_contrail()` method to check for the presence of this field before accessing its members. <br /> |
| `segments[]` | ``object (`https://developers.google.com/contrails/reference/v2/attributions/overview#segmentattribution`)`` Per-segment contrail attributions. Each entry represents a distinct time interval of the flight to which contrail(s) were attributed. |
| `visualizationUrl` | `string` Output only. Link to an interactive visualization of this flight's contrail attribution on the ContrailWatch page of ContrailExplorer. It shows the flight path matched to contrails detected by satellites. Only populated for found flights when using the `https://developers.google.com/contrails/reference/v2/attributions/batchGetAttributions#AttributionView.ENUM_VALUES.ATTRIBUTION_VIEW_OBSERVATION` view. |

### FlightDetails

Defines the full set of flight information returned in the response.

| JSON representation |
|---|
| ``` { "carrier": string, "flightNumber": integer, "departureTime": string, "icao24": string, "originAirport": string, "destinationAirport": string, "callSign": string, "analyzedFlightDistanceMeters": integer } ``` |

| Fields ||
|---|---|
| `carrier` | `string` IATA carrier code of the flight (e.g. "AA"). |
| `flightNumber` | `integer` Flight number of the flight (e.g. "123"). |
| `departureTime` | `string` Departure date in the origin airport's timezone in YYYYMMDD format. |
| `icao24` | `string` ICAO 24-bit aircraft address |
| `originAirport` | `string` IATA origin airport code. |
| `destinationAirport` | `string` IATA destination airport code. |
| `callSign` | `string` Callsign of the aircraft. This field preferentially contains the callsign used in Air Traffic Control (ATC) communications. If the specific ATC callsign is not available or is the same as the standard flight designator, this field holds the standard flight designator (typically a combination of airline code and flight number for commercial flights). |
| `analyzedFlightDistanceMeters` | `integer` Distance of the flight analyzed, in meters. |

### ContrailAttributes

Represents the contrail attributes for a flight or flight segment.

| JSON representation |
|---|
| ``` { "lengthMeters": integer, "effectiveEnergyForcingJoules": string } ``` |

| Fields ||
|---|---|
| `lengthMeters` | `integer` The length, in meters, of the subset(s) of the flight path to which contrails were attributed. This is calculated as the great circle distance between the flight waypoints. |
| `effectiveEnergyForcingJoules` | `string (https://developers.google.com/discovery/v1/type-format format)` Total effective contrail energy forcing, in joules. This is derived by extracting effective radiative forcing from 4D gridded CoCiP forecast outputs and linearly interpolating them. This methodology is subject to change. |

### SegmentAttribution

Represents contrail attribution for a specific time segment of a flight.

| JSON representation |
|---|
| ``` { "startTime": string, "endTime": string, "contrail": { object (`https://developers.google.com/contrails/reference/v2/attributions/overview#contrailattributes`) }, "detectionEvidences": [ { object (`https://developers.google.com/contrails/reference/v2/attributions/overview#contraildetectionevidence`) } ], "attributionMethod": enum (`https://developers.google.com/contrails/reference/v2/attributions/overview#attributionmethod`), "longGapInterpolation": boolean, "waypointAttributions": [ { object (`https://developers.google.com/contrails/reference/v2/attributions/overview#waypointattribution`) } ] } ``` |

| Fields ||
|---|---|
| `startTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Start time of the flight segment to which contrails are attributed. This timestamp is in UTC epoch seconds. |
| `endTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` End time of the flight segment to which contrails are attributed. This timestamp is in UTC epoch seconds. |
| `contrail` | ``object (`https://developers.google.com/contrails/reference/v2/attributions/overview#contrailattributes`)`` Contrail attributes for this specific segment. |
| `detectionEvidences[]` | ``object (`https://developers.google.com/contrails/reference/v2/attributions/overview#contraildetectionevidence`)`` Individual satellite contrail detections that provide evidence for the attribution to this flight segment. |
| `attributionMethod` | ``enum (`https://developers.google.com/contrails/reference/v2/attributions/overview#attributionmethod`)`` Output only. The method used for attributing contrails to this segment (e.g., CoCiP model or direct observation). |
| `longGapInterpolation` | `boolean` Output only. True if the segment flight path was generated by interpolating over a long ADS-B data gap (\>5 minutes). |
| `waypointAttributions[]` | ``object (`https://developers.google.com/contrails/reference/v2/attributions/overview#waypointattribution`)`` Output only. Per-waypoint contrail attributes mapped across this segment. |

### ContrailDetectionEvidence

Details of a single satellite observation of a contrail.

| JSON representation |
|---|
| ``` { "observationTime": string, "observedLengthMeters": integer, "dataSource": enum (`https://developers.google.com/contrails/reference/v2/attributions/overview#datasource`) } ``` |

| Fields ||
|---|---|
| `observationTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Time when the satellite image was taken in which the contrail was detected. This is typically the start time of the scan. This timestamp is in UTC epoch seconds. |
| `observedLengthMeters` | `integer` The observed end-to-end length of the linear contrail feature in meters, as detected in the satellite image specified by `observationTime`. This length can differ from the `lengthMeters` in `SegmentAttribution.contrail` because: - The contrail may have evolved (e.g., spread, lengthened, etc.) in the atmosphere between formation and observation. - The attribution algorithm was only able to confidently attribute a portion of this contrail to this flight. |
| `dataSource` | ``enum (`https://developers.google.com/contrails/reference/v2/attributions/overview#datasource`)`` Output only. The source of the satellite data used for this detection. |

### DataSource

The source of the satellite data used for contrail detection. Additional values
may be added in the future.

Among the available satellite data outputs, GOES East- and Himawari-based
attributions have production-level quality, while MTG-based attributions are
still in the Beta phase and actively undergoing quality improvements.

| Enums ||
|---|---|
| `DATA_SOURCE_UNSPECIFIED` | Unspecified data source. |
| `GOES_EAST_FULL_DISK` | Data from GOES-East full disk scans. |
| `GOES_WEST_FULL_DISK` | Data from GOES-West full disk scans. |
| `MTG_000_FULL_DISK` | Data from MTG-000 full disk scans. |
| `HIMAWARI_FULL_DISK` | Data from Himawari full disk scans. |

Contrails API satellite imagery is based on:

- [NOAA GOES data](https://console.cloud.google.com/marketplace/product/noaa-public/goes) 2019--2026
- [EUMETSAT Meteosat FCI data](https://data.eumetsat.int/product/EO:EUM:DAT:0662) 2024--2026, and
- [JAMSTEC DIAS (Himawari data)](https://console.cloud.google.com/marketplace/product/bigquery-public-data/himawari) 2025--2026

### WaypointAttribution

Represents contrail attributes for a specific waypoint in a flight segment.

| JSON representation |
|---|
| ``` { "time": string, "contrailAttributes": { object (`https://developers.google.com/contrails/reference/v2/attributions/overview#contrailattributes`) } } ``` |

| Fields ||
|---|---|
| `time` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` The time at the waypoint in UTC epoch seconds. |
| `contrailAttributes` | ``object (`https://developers.google.com/contrails/reference/v2/attributions/overview#contrailattributes`)`` The contrail attributes mapped at this specific waypoint. |

### AttributionMethod

Defines the specific procedure or methodology used to make the attribution.

| Enums ||
|---|---|
| `ATTRIBUTION_METHOD_OBSERVATION` | Attribution derived strictly by matching against satellite contrail detections. |
| `ATTRIBUTION_METHOD_COCIP` | Attributions relying strictly on physics-driven CoCiP modeling. |
| `ATTRIBUTION_METHOD_OBSERVATION_ENHANCED_COCIP` | Hybrid attribution combining CoCiP model forecasts adjusted by satellite detections. - **With Detections:** If `detectionEvidences` is present, the contrail was predicted and confirmed by observation, receiving enhanced warming weight. - **Without Detections:** If `detectionEvidences` is missing, the contrail was predicted but not observed, so the calculated warming is discounted. |
| `ATTRIBUTION_METHOD_UNSPECIFIED` | Unspecified method. |

## Notes

Each `DataSource` uses different bounds for processing observational-based
views:

![Satellite coverage bounding boxes (flat mercator view)](https://developers.google.com/static/contrails/images/attribution_bounds.png)

## License

The data exposed by the ContrailWatch Attributions API is licensed under [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/).