> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://api.docs.modulards.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://api.docs.modulards.com/_mcp/server.

# List Broken Links issues

GET https://api.modulards.com/api/public/v1/site-broken-link-issues

Lists the broken-link and mixed-content findings stored for one website, as a JSON:API collection of type `site-broken-link-issues` with the usual `links` / `meta` pagination. Only findings still open are returned - resolved ones (the crawler no longer finds them) are excluded regardless of filters.

`filter[site]` is required: the listing is always scoped to one website, resolved before the policy check so a website out of reach reads as not found.

Each entry carries `target_url`, `category` (`broken_link` / `mixed_content`), `severity` (`error` / `warning` / `info`), `http_status_code` (null when the link never answered), `is_internal`, `anchor_text`, `element_type`, `pages_count` (how many pages of the website still link to it), `last_checked_at`, `ignored_at`, `created_at` and `updated_at`.

Websites of other organizations - and members without the read permission - answer 404; an unknown filter answers 400 and an invalid value 422. A read-only token is enough. This endpoint replaces the earlier `GET /sites/{site}/broken-links` - the website moves from the route into the required `filter[site]`. See "Broken Links issues stats" for the aggregated counts and "Bulk ignore Broken Links issues" to mute or restore findings.

Reference: https://api.docs.modulards.com/modular-ds-public-api/broken-links-issues/list-broken-links-issues

## Authentication

- `Authorization` header (bearer token, required) — Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.

## Request

### Query parameters

- `filter[site]` (string, optional) — Required. Exact website id - the listing is always scoped to one website
- `filter[status_code][]` (string, optional) — HTTP status codes, e.g. 404, 500 (repeatable). Nullable column: a link that never answered has no code and matches no value
- `filter[category][]` (string, optional) — broken_link | mixed_content (repeatable)
- `filter[severity][]` (string, optional) — error | warning | info (repeatable)
- `filter[ignored]` (string, optional) — 1|0 - 1 = only muted findings, 0 = only the ones still counting; omit for both
- `filter[location]` (string, optional) — internal | external
- `filter[s]` (string, optional) — Free-text search over target_url
- `filter[pages]` (string, optional) — Only the findings still attached to this site-broken-link-pages id
- `sort` (string, optional) — created_at, last_checked_at, status_code, severity; prefix with - to invert. Default: -created_at. severity follows the real severity order (info, warning, error), not alphabetical - -severity lists errors first
- `page[number]` (string, optional) — Page number
- `page[size]` (string, optional) — Max 50

## Response

### 200

200 - Broken Links issues

- `data` (list of object, optional)
  - `attributes` (object, optional)
    - `anchor_text` (string, optional, nullable)
    - `category` (string, optional)
    - `created_at` (string, optional)
    - `element_type` (string, optional)
    - `http_status_code` (double, optional, nullable)
    - `ignored_at` (any, optional, nullable)
    - `is_internal` (boolean, optional)
    - `last_checked_at` (string, optional)
    - `pages_count` (double, optional)
    - `severity` (string, optional)
    - `target_url` (string, optional)
    - `updated_at` (string, optional)
  - `id` (string, optional)
  - `type` (string, optional)
- `jsonapi` (object, optional)
  - `version` (string, optional)
- `links` (object, optional)
  - `first` (string, optional)
  - `last` (string, optional)
  - `next` (any, optional, nullable)
  - `prev` (any, optional, nullable)
- `meta` (object, optional)
  - `current_page` (double, optional)
  - `from` (double, optional)
  - `last_page` (double, optional)
  - `per_page` (double, optional)
  - `to` (double, optional)
  - `total` (double, optional)

## Errors

### 404 Not Found Error

404 - Website out of reach

- `errors` (list of object, optional)
  - `detail` (string, optional)
  - `source` (object, optional)
    - `parameter` (string, optional)
  - `status` (string, optional)
  - `title` (string, optional)
- `jsonapi` (object, optional)
  - `version` (string, optional)

### 422 Unprocessable Entity Error

422 - filter[site] missing

- `errors` (list of object, optional)
  - `detail` (string, optional)
  - `source` (object, optional)
    - `parameter` (string, optional)
  - `status` (string, optional)
  - `title` (string, optional)
- `jsonapi` (object, optional)
  - `version` (string, optional)

## Examples

**Response**

```json
{
  "data": [
    {
      "attributes": {
        "anchor_text": "Read more",
        "category": "broken_link",
        "created_at": "2026-09-10T03:12:00.000000Z",
        "element_type": "a",
        "http_status_code": 404,
        "ignored_at": null,
        "is_internal": true,
        "last_checked_at": "2026-09-16T09:14:00.000000Z",
        "pages_count": 3,
        "severity": "error",
        "target_url": "https://example.com/old-page",
        "updated_at": "2026-09-16T09:14:00.000000Z"
      },
      "id": "701",
      "type": "site-broken-link-issues"
    },
    {
      "attributes": {
        "anchor_text": null,
        "category": "mixed_content",
        "created_at": "2026-09-10T03:12:00.000000Z",
        "element_type": "img",
        "http_status_code": null,
        "ignored_at": null,
        "is_internal": false,
        "last_checked_at": "2026-09-16T09:14:00.000000Z",
        "pages_count": 1,
        "severity": "warning",
        "target_url": "http://cdn.example.net/logo.png",
        "updated_at": "2026-09-16T09:14:00.000000Z"
      },
      "id": "702",
      "type": "site-broken-link-issues"
    }
  ],
  "jsonapi": {
    "version": "1.1"
  },
  "links": {
    "first": "{{base_url}}/api/public/v1/site-broken-link-issues?filter%5Bsite%5D=12345&page%5Bnumber%5D=1",
    "last": "{{base_url}}/api/public/v1/site-broken-link-issues?filter%5Bsite%5D=12345&page%5Bnumber%5D=1",
    "next": null,
    "prev": null
  },
  "meta": {
    "current_page": 1,
    "from": 1,
    "last_page": 1,
    "per_page": 15,
    "to": 2,
    "total": 2
  }
}
```

**SDK Code**

```python 200 - Broken Links issues
import requests

url = "https://api.modulards.com/api/public/v1/site-broken-link-issues"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript 200 - Broken Links issues
const url = 'https://api.modulards.com/api/public/v1/site-broken-link-issues';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go 200 - Broken Links issues
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.modulards.com/api/public/v1/site-broken-link-issues"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby 200 - Broken Links issues
require 'uri'
require 'net/http'

url = URI("https://api.modulards.com/api/public/v1/site-broken-link-issues")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java 200 - Broken Links issues
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.modulards.com/api/public/v1/site-broken-link-issues")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php 200 - Broken Links issues
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.modulards.com/api/public/v1/site-broken-link-issues', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp 200 - Broken Links issues
using RestSharp;

var client = new RestClient("https://api.modulards.com/api/public/v1/site-broken-link-issues");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift 200 - Broken Links issues
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.modulards.com/api/public/v1/site-broken-link-issues")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```