# Query report results in JSON (/docs/v3/bulk-download/query-bulk-report)



The query endpoint allows us to get the data in JSON format.

### Get Data in JSON Format Examples [#get-data-in-json-format-examples]

These examples are available:

1. [**Example 1 (GET)**](/docs/examples/bulk-download/get-json-example1) - Get data as json sort by structure start date DESC
2. [**Example 2 (GET)**](/docs/examples/bulk-download/get-json-example2) - Get data as json sort by detection date ASC
3. [**Example 3 (GET)**](/docs/examples/bulk-download/get-json-example3) - Get data as json sort by label
4. [**Example 4 (GET)**](/docs/examples/bulk-download/get-json-example4) - Get data as json sort by label confidence
5. [**Example 5 (GET)**](/docs/examples/bulk-download/get-json-example5) - Get data as json sort by structure start date DESC and only structure id field
6. [**Example 6 (GET)**](/docs/examples/bulk-download/get-json-example6) - Get data as json sort by structure end date ASC and only 3 fields

### Get Data in JSON Format - Specifications [#get-data-in-json-format---specifications]

`GET https://gateway.api.globalfishingwatch.org/v3/bulk-reports/:id/query`

<OpenAPIPage
  document="apiv3"
  operations="[
  {
    path: '/api/v3/bulk-reports/{id}/query',
    method: 'get',
  },
]"
  hasHead="false"
/>

### Get Data in JSON Format - Response fields [#get-data-in-json-format---response-fields]

Since this is the same dataset [Fixed infrastructure detections from Sentinel-1 and Sentinel-2](https://globalfishingwatch.org/data-download/datasets/public-fixed-infrastructure:v1.1) from our Data Download Portal, you can find the definitions of each field [there](https://globalfishingwatch.org/data-download/datasets/public-fixed-infrastructure:v1.1)

Returns a paginated list of detections from the Fixed Infrastructure dataset.

| Name                   | Type   | Required | Restrictions              | Description                                                |
| ---------------------- | ------ | -------- | ------------------------- | ---------------------------------------------------------- |
| `detection_id`         | string | false    | -                         | Unique ID of the satellite detection                       |
| `detection_date`       | string | false    | date (YYYY-MM-DD)         | Date of the detection                                      |
| `structure_id`         | string | true     | -                         | Unique ID that groups all detections of the same structure |
| `lon`                  | number | true     | float                     | Longitude of the detection                                 |
| `lat`                  | number | true     | float                     | Latitude of the detection                                  |
| `structure_start_date` | string | false    | date (YYYY-MM-DD)         | First detection date of the structure                      |
| `structure_end_date`   | string | false    | date (YYYY-MM-DD) or null | Last detection date of the structure                       |
| `label`                | string | false    | `oil`, `wind`, `unknown`  | Predicted type of offshore structure                       |
| `label_confidence`     | string | false    | `low`, `medium`, `high`   | Classification confidence of the label                     |
