# PageAudit — full API reference > Generated from the catalog at https://pageaudit.online · build `29dc2143` > 1 endpoints · 1 structures · slice `/api/audits/:id/dependencies` > Short index: https://pageaudit.online/llms.txt · Spec: https://pageaudit.online/openapi.json · MCP: https://pageaudit.online/mcp · Errors: https://pageaudit.online/errors · Status: https://pageaudit.online/status > Check what search engines can read on a web page. > Retrieve evidence, suggested changes and saved reports. Start without a key. - [Also available on PayAPI Market](https://payapi.market/api/pageaudit) ## Free and paid services - [Free allowances and current prices](https://pageaudit.online/api/pricing) - [Payment methods and conditions](https://pageaudit.online/api/billing) - [First request and payment recovery](https://pageaudit.online/skill.md) ## How to read - Every endpoint lists path, auth, parameters, body, response structure, errors and a call that runs. - `Pagina` is a reference: the fields are under **Structures**, at the end, once. - `(optional)` on a field means it may be absent; `(may be null)` means it comes with a null value. - 4xx/5xx errors under `/api/*` use RFC 9457 (`application/problem+json`) with `type`, `title`, `status`, `detail`, `instance` and `code` (catalog at `/errors` and `/errors.md`). - If any route or tool fails or returns an unexpected error, report it via `POST /api/contact` with `{"tipo":"problema","categoria":"erro_api","contexto":"METHOD /api/...","mensagem":"status and error received"}` (requires an account API key or OAuth token). - Slice what you need: `https://pageaudit.online/llms-full.txt?prefix=/api/` returns only that branch. ## Authentication - `credito` — Credit token in `Authorization: Bearer cred_…` or `X-Credito`. For recovered x402 funds, use the wallet credential mmw_… in Bearer or X-Wallet-Token, issued through /api/auth/wallet/agent/start and /api/auth/wallet/agent/token. - `none` — Public, no credential. - `guest` — Guest token (`POST /api/guest`) in `X-Guest-Token: pa_…`, `Authorization: Bearer pa_…` or `?guest_token=pa_…`. Only a token this site issued is accepted. A signed-in account (cookie) also works and takes precedence; after the claim the token owns nothing. An agent without an account can send the wallet credential instead (`Authorization: Bearer mmw_…`, from `POST /api/auth/wallet/agent/start`): the wallet owns tabs and audits like a guest, as `x402:
`, and they move to the account it is linked to. - `session` — Global account: HttpOnly cookie `__Host-mm-auth`, set when you sign in on this site's `/conta/global` page. An ended session answers 401 `session_ended` (it never falls back to the guest). Writes need the same Origin and `X-CSRF-Token` from `/api/auth/bootstrap`. No bearer token is issued to humans. - `organization` — Signed-in account session plus `X-Organization-Id`. The shared account checks current membership and that PageAudit is enabled for the organization. Writes also need the same Origin and `X-CSRF-Token` from `/api/auth/bootstrap`. - `token` — Operator token in `Authorization: Bearer …` (`METRICS_TOKEN`). - `github_app` — Only GitHub: the delivery is signed with the PageAudit GitHub App's webhook secret in `X-Hub-Signature-256`. ## Endpoints ## Audit ### `GET /api/audits/:id/dependencies` Read external dependencies found in the saved HTML and browser tests. Free within the audit allowance. No extra fetch or charge. HTML and browser observations retain separate evidence. Source checks, history and expiry alerts are included in an active paid page-watch pass. Ordinary external links are listed but are not watched automatically. **Prepared results and when to use them** Joining page markup, browser network results, domain registration and DNS observations, then keeping their change history. Use the audit allowance and optional free lab test. Read this inventory without another collection or charge. Existing Starter, Pro and Agency watch passes include continuing dependency checks, before/after history and expiry alerts. Reuse the active pass; enabling this watch does not buy another one. Browser evidence covers its page load. Source gaps remain unknown. Domain expiry and NXDOMAIN do not prove takeover. Task-token savings have not been measured. - **URL:** `https://pageaudit.online/api/audits/:id/dependencies` - **Auth:** `guest` — Guest token (`POST /api/guest`) in `X-Guest-Token: pa_…`, `Authorization: Bearer pa_…` or `?guest_token=pa_…`. Only a token this site issued is accepted. A signed-in account (cookie) also works and takes precedence; after the claim the token owns nothing. An agent without an account can send the wallet credential instead (`Authorization: Bearer mmw_…`, from `POST /api/auth/wallet/agent/start`): the wallet owns tabs and audits like a guest, as `x402:
`, and they move to the account it is linked to. **Path parameters** - `id` (string, required) — Owned saved audit or tab ID. **Query** - `after` (string) — Opaque inventory cursor from inventory.next. - `events_after` (int) — Continue history after this event number. Default 0. **Response `200`** Structure: `DependencyInventory`. - `audit_id` (string) — Owned audit ID. - `page_target` (object) — The audited host whose own DNS/CNAME is also covered by a paid page watch. - `inventory` (object) — items, total and next. Each item names the host, relationship, discovery page, observation date and HTML/browser evidence. next continues the complete inventory. - `coverage` (string) — observed_references, no_external_reference or not_collected. A browser test observes only its page load; it does not exercise every user flow. - `monitoring` (object, may be null) — enabled, active, checked_at, next_check_at, sources, working, history and history_next. Sources retain their own coverage, source URL, dates and gaps. - `included_in_active_watch_plan` (bool, may be null) — True when current paid watch rights include the dependency checks. Null means rights could not be read; it is not permission. - `_links` (object) — Audit, monitor, domain and existing watch plans. **Errors** - `400` — Malformed request: missing parameter, wrong type or invalid JSON. - `401` — No credential, or an invalid one. See this endpoint's auth. - `404` — The resource does not exist (or is not yours; the API does not tell the two apart on purpose). - `503` — **Example** ```sh curl "https://pageaudit.online/api/audits/AUDIT_ID/dependencies" -H "X-Guest-Token: $PA" ``` ## Structures ### `DependencyInventory` - `audit_id` (string) — Owned audit ID. - `page_target` (object) — The audited host whose own DNS/CNAME is also covered by a paid page watch. - `inventory` (object) — items, total and next. Each item names the host, relationship, discovery page, observation date and HTML/browser evidence. next continues the complete inventory. - `coverage` (string) — observed_references, no_external_reference or not_collected. A browser test observes only its page load; it does not exercise every user flow. - `monitoring` (object, may be null) — enabled, active, checked_at, next_check_at, sources, working, history and history_next. Sources retain their own coverage, source URL, dates and gaps. - `included_in_active_watch_plan` (bool, may be null) — True when current paid watch rights include the dependency checks. Null means rights could not be read; it is not permission. - `_links` (object) — Audit, monitor, domain and existing watch plans.