# Fetch All Grid Reports for Location

```http
GET https://api.synup.com/api/v4/locations/{locationId}/grid-reports
```

This API generates a new rank grid report to analyze business rankings for specified keywords across a grid specified by the user using grid distance and the number of grid coordinates to be analyzed.
**Behavior:**
- Returns a list of reports generated for the given location.
- Includes report IDs, keywords analyzed, and timestamps.
- Can be used to track ranking trends over time.

Source: https://developer.synup.com/api/grid-rank/fetch-all-grid-reports-for-location

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `locationId` | string | required | Location ID should be provided in Base64 encoded format. Must be in the format Location:<Location ID> |

## Example request

```bash
curl -X GET 'https://api.synup.com/api/v4/locations/:locationId/grid-reports' \
  -H 'Authorization: API YOUR_API_KEY' \
  -H 'Content-Type: application/json'
```

## Responses

| Status | Description |
| --- | --- |
| `200` | Grid rank reports retrieved successfully |
| `400` | Bad Request - Invalid location ID format |
| `401` | Unauthorized - Valid API key required |
| `403` | Forbidden - Insufficient permissions |
| `404` | Location not found |
