# Get link data

**Publié le** : 2026-05-08
**Catégorie** : SEO & Analytics

## `GET /integrations/google/links`

**Get link data**

Returns external and internal link analysis from Google Search Console.

Required permissions: `analytics.gsc`

### Responses

| Status | Description |
| --- | --- |
| `200` | Successful response |
| `401` | Unauthorized — invalid or missing API token |
| `403` | Forbidden — insufficient permissions |


### Examples

```bash
curl "https://api.lynkow.com/v1/integrations/google/links?period=30d" \
  -H "Authorization: Bearer $API_TOKEN"
```

### Response Example

```json
{
  "data": {
    "externalLinks": [
      {
        "targetUrl": "https://www.example.com/blog/getting-started",
        "count": 42
      },
      {
        "targetUrl": "https://www.example.com/",
        "count": 28
      }
    ],
    "internalLinks": [
      {
        "targetUrl": "https://www.example.com/blog",
        "count": 156
      },
      {
        "targetUrl": "https://www.example.com/about",
        "count": 89
      }
    ]
  }
}
```

---