The latest version of the Contrails API is v2. This page goes over its available
methods.

## Service endpoint

The Contrails API has a service endpoint at `https://contrails.googleapis.com`.

## Available methods

| Methods ||
|---|---|
| `https://developers.google.com/contrails/reference/v2/grids/getGrids` | `GET /v2/grids` Get a grid of contrail forecasts. |
| `https://developers.google.com/contrails/reference/v2/regions/getRegions` | `GET /v2/regions` Get contrail forecasts as polygon regions. |
| `https://developers.google.com/contrails/reference/v2/detections/getDetections` | `GET /v2/detections` Get contrails detections as GeoJSON LineStrings. |
| `https://developers.google.com/contrails/reference/v2/detections/getDetectionsMasks` | `GET /v2/detections/masks` Get contrails detections masks in NetCDF4 format. |
| `https://developers.google.com/contrails/reference/v2/attributions/batchGetAttributions` | `GET /v2/{parent=attributions}:batchGet` (Access to this data only available upon request) Get multiple contrail attributions by flight information. |
| `https://developers.google.com/contrails/reference/v2/attributions/getAttributionMetrics` | `GET /v2/attributions:GetAttributionMetrics` Get aggregated contrail attribution metrics by bounds, timestamp, and attribution method. |