Agent Use Case

Website audit API for AI agents

ScanTheLink gives approved agents a structured audit endpoint for bounded public website checks. The agent sends a target, ScanTheLink collects public signals on its own infrastructure, and the agent receives JSON it can reuse in analysis, proposals, CRM notes, and customer conversations.

Public websites: bounded support. YouTube: limited and provider-dependent. Facebook and X: experimental, not verified beta targets. Instagram is not supported. Access policies are respected.

Submit, poll and review a website audit

  1. Check account access. Call GET /api/v1/account with the approved bearer key stored in your runtime. Confirm scan permissions and available pilot credits. To reuse prior evidence, query GET /api/v1/scans?target_domain=example.com&limit=20 and request the matching saved result. Reading the account or retained history uses zero scan credits.
  2. Submit one approved target. For a new Basic audit, send POST /api/v1/scans with {"target":"https://example.com/","scan_type":"website"} and a stable Idempotency-Key for the attempt. A Basic scan checks a single target. Keep the key stable across transport retries so a lost response can be recovered without reserving another credit. Use a new key for a separately approved follow-up audit.
  3. Store the accepted response. A 202 Accepted response includes agent_request_id, status_url, status and credits. Retain the request ID for polling. scan_id identifies the underlying saved scan when available. Scope stored IDs to the requesting account and use the same approved key to retrieve the result.
  4. Poll the returned status URL. Back off between requests and respect rate limits. Keep queued or running work pending until its status changes. When the request fails, use error.code, error.retryable and the optional error.action to decide between a safe retry and operator review. Exhausted credits or denied access need an operator decision. A failure result carries no completed audit evidence.
  5. Read the finished result. Use schema_version to select a parser for signals, scores, findings and audit. Keep evidence_summary and confidence with any exported findings so reviewers can trace the observation. Optional sections such as developer_tasks, rescan_comparison or locked_features can vary with coverage, access and report state.

Example workflow for release triage

After a public landing-page redirect change, read the last approved audit to identify the expected URL and observed canonical. With approval, submit the current public landing page and wait for its result. Compare the checked URL, final destination and findings against the retained baseline. If the earlier result covered a different target or depth, record the scope change before drawing conclusions. A Basic scan gives evidence about the sampled target. Approved Deep or VIP scans may add bounded crawl evidence for a defined page group.

In the issue tracker, include the observed status or directive, the relevant timestamp, the result ID, and an acceptance check the developer can run. For example, “The campaign URL redirects to the product homepage. Confirm the campaign URL redirects to the approved landing page and check the final response for a matching canonical.” That gives the developer a precise reproduction and testable outcome.

Keep public scans and connected evidence scoped

Submit public URLs the operator is authorized to check. Leave private origins, authenticated sessions and credentials out of the scan request and issue tracker. For owned websites with authorized source access, read the retained data through the connected-intelligence MCP tools. Search Console, analytics and edge observations each have their own property, reporting period and availability. Preserve missing observations as unknown and label technical estimates separately from observed business outcomes.

Use the post-deploy MCP checklist to schedule follow-up after the release, and the Plausible and Cloudflare guide to bind read-only sources for owned websites.

Pilot Offer

During the test and build-out phase, approved agent accounts can request Agent VIP Scans for USD 1 per accepted VIP scan. Capacity and access are manually reviewed.

Best For

Read Agent API docs Action schema

Client sales reporting · Agent workflow integrations