# Find missing images, scripts and stylesheets on a page

**Use case:** 

Check the images, scripts and stylesheets a landing page loads as well as its links, and keep only the ones that fail to load.

## Input

```json
{
  "queries": [
    "https://crawler-test.com/"
  ],
  "mode": "pages",
  "maxPages": 50,
  "onlyBroken": true,
  "checkExternal": true,
  "checkAssets": true,
  "maxItems": 100
}
```

## Output

```json
{
  "url": {
    "label": "URL",
    "format": "string"
  },
  "final_url": {
    "label": "Final URL",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "number"
  },
  "status_text": {
    "label": "Status Text",
    "format": "string"
  },
  "classification": {
    "label": "Classification",
    "format": "string"
  },
  "is_broken": {
    "label": "Broken",
    "format": "boolean"
  },
  "source_url": {
    "label": "Source URL",
    "format": "string"
  },
  "anchor_text": {
    "label": "Anchor Text",
    "format": "string"
  },
  "element": {
    "label": "Element",
    "format": "string"
  },
  "all_sources": {
    "label": "All Source Pages",
    "format": "array"
  },
  "method": {
    "label": "Method",
    "format": "string"
  },
  "redirect_count": {
    "label": "Redirect Count",
    "format": "integer"
  }
}
```

## About this Actor

This example demonstrates how to use [Broken Link Checker: Find Dead Links Site-Wide](https://apify.com/pradio/broken-link.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/pradio/broken-link.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/pradio/broken-link.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
