> 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 link issues

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

Lists the broken links and mixed-content resources found on one website. Only issues that are still open are returned: resolved ones (the crawler no longer finds them) are excluded whatever the filters.

`filter[site]` is required, so the list is always for one website; a website out of your reach answers 404, and an id that is not a website answers 422. Each issue tells you the `target_url`, its `category` (`broken_link` or `mixed_content`), its `severity` (`error`, `warning` or `info`), the HTTP status the link answered (null when it never answered), how many pages of the website still link to it (`pages_count`) and, when muted, `ignored_at`.

Your role must be allowed to read Broken Links Checker issues; without it the request answers 404. See "Summarize broken link issues" for the aggregated counts and "Ignore or restore broken link issues" to mute or restore issues.

Reference: https://api.docs.modulards.com/modular-ds-public-api/broken-links-checker/issues/list-broken-link-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 list is always for one website.
- `filter[status_code][]` (string, optional) — HTTP status codes, for example 404 or 500. Repeat the parameter for several. A link that never answered has no code and matches no value.
- `filter[category][]` (string, optional) — `broken_link` or `mixed_content`. Repeat the parameter for several.
- `filter[severity][]` (string, optional) — `error`, `warning` or `info`. Repeat the parameter for several.
- `filter[ignored]` (string, optional) — `1` returns only muted issues; `0` only the ones still counting. Omit it for both.
- `filter[location]` (string, optional) — `internal` or `external`.
- `filter[s]` (string, optional) — Free-text search over the target URL.
- `filter[pages]` (string, optional) — Only the issues still attached to this page id.
- `sort` (string, optional) — `created_at`, `last_checked_at`, `status_code` or `severity`; prefix with `-` for descending. Default: `-created_at`. `severity` follows the real order (info, warning, error), not the alphabet: `-severity` lists errors first.
- `page[number]` (string, optional) — Page number, starting at 1. Default 1.
- `page[size]` (string, optional) — Items per page, 1 to 50. Default 15.

## Response

### 200

200 - Broken Links issues

- `data` (list of ApiPublicV1SiteBrokenLinkIssuesGetResponsesContentApplicationJsonSchemaDataItems, optional)
- `jsonapi` (ApiPublicV1SiteBrokenLinkIssuesGetResponsesContentApplicationJsonSchemaJsonapi, optional)
- `links` (ApiPublicV1SiteBrokenLinkIssuesGetResponsesContentApplicationJsonSchemaLinks, optional)
- `meta` (ApiPublicV1SiteBrokenLinkIssuesGetResponsesContentApplicationJsonSchemaMeta, optional)

## Errors

### 422 Unprocessable Entity Error

422 - filter[site] missing

- `errors` (list of ApiPublicV1SiteBrokenLinkIssuesGetResponsesContentApplicationJsonSchemaErrorsItems, optional)
- `jsonapi` (ApiPublicV1SiteBrokenLinkIssuesGetResponsesContentApplicationJsonSchemaJsonapi, optional)

## Types

### ApiPublicV1SiteBrokenLinkIssuesGetResponsesContentApplicationJsonSchemaDataItems

- `attributes` (ApiPublicV1SiteBrokenLinkIssuesGetResponsesContentApplicationJsonSchemaDataItemsAttributes, optional)
- `id` (string, optional)
- `type` (string, optional)

### ApiPublicV1SiteBrokenLinkIssuesGetResponsesContentApplicationJsonSchemaJsonapi

- `version` (string, optional)

### ApiPublicV1SiteBrokenLinkIssuesGetResponsesContentApplicationJsonSchemaLinks

- `first` (string, optional)
- `last` (string, optional)
- `next` (any, optional, nullable)
- `prev` (any, optional, nullable)

### ApiPublicV1SiteBrokenLinkIssuesGetResponsesContentApplicationJsonSchemaMeta

- `current_page` (double, optional)
- `from` (double, optional)
- `last_page` (double, optional)
- `per_page` (double, optional)
- `to` (double, optional)
- `total` (double, optional)

### ApiPublicV1SiteBrokenLinkIssuesGetResponsesContentApplicationJsonSchemaErrorsItems

- `detail` (string, optional)
- `source` (ApiPublicV1SiteBrokenLinkIssuesGetResponsesContentApplicationJsonSchemaErrorsItemsSource, optional)
- `status` (string, optional)
- `title` (string, optional)

### ApiPublicV1SiteBrokenLinkIssuesGetResponsesContentApplicationJsonSchemaDataItemsAttributes

- `anchor_text` (string, optional, nullable) — Text of the link that points to the address.
- `category` (enum, optional) — broken_link for a link that does not answer, mixed_content for an insecure resource on a secure page.
  - Allowed values: `broken_link`, `mixed_content`
- `created_at` (string, optional)
- `element_type` (string, optional, nullable) — HTML element that points to the address.
- `http_status_code` (integer, optional, nullable) — HTTP status the address answered; null when it never answered.
- `ignored_at` (datetime, optional, nullable) — When the finding was muted; null while it counts.
- `is_internal` (boolean, optional, nullable) — Whether the address belongs to the website itself.
- `last_checked_at` (datetime, optional, nullable) — When the address was last checked.
- `pages_count` (integer, optional) — How many pages of the website still link to the address.
- `severity` (enum, optional) — How serious the finding is.
  - Allowed values: `error`, `warning`, `info`
- `target_url` (string, optional) — Address that failed.
- `updated_at` (string, optional)

### ApiPublicV1SiteBrokenLinkIssuesGetResponsesContentApplicationJsonSchemaErrorsItemsSource

- `parameter` (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()
```