Live Link & Citation Verifier for AI Agents avatar

Live Link & Citation Verifier for AI Agents

Pricing

from $1.50 / 1,000 verify urls

Go to Apify Store
Live Link & Citation Verifier for AI Agents

Live Link & Citation Verifier for AI Agents

Check whether URLs are live, redirected, broken or blocked, verify that quoted lines actually appear on the page, and confirm PyPI/npm packages exist. Stops agents acting on hallucinated links, citations or libraries. $0.0015 per URL, $0.003 per citation, $0.0005 per package.

Pricing

from $1.50 / 1,000 verify urls

Rating

0.0

(0)

Developer

Chris Day

Chris Day

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

2 days ago

Last modified

Features

Limited permissionsSingle-tenantServer interface

Share

Give this Actor a list of URLs, a Markdown draft, a set of {url, quote} citations, and/or PyPI/npm package names. It returns a structured report that tells you whether each link is actually live, whether a quoted line really appears on the cited page, and whether a library exists on the public registry — before a language model acts on a hallucinated source.

It does not search the web and it does not call a language model. Checks are deterministic HTTP lookups with SSRF protections.

When an AI agent should use this

Use geeky_goth_gamer/live-link-citation-verifier when:

  • You are about to cite or hand a user a URL and need to know if it is live, redirected, gone, or just blocking bots.
  • You have a drafted paragraph with links and want every URL checked in one call.
  • You must verify that a quoted sentence actually appears on the live page (and get the page's real excerpt if the quote is slightly wrong).
  • You are about to install or import a package and need to know it exists on PyPI or npm (including a specific version).

Don't use it for:

  • Finding sources: it does not search; pass the URLs or package names you already have.
  • Rendering JavaScript-only pages or taking screenshots.
  • Paraphrase or factual QA beyond “is this exact/near quote on this page?”.

Example input:

{
"urls": ["https://example.com/"],
"citations": [
{
"url": "https://example.com/",
"quote": "This domain is for use in documentation examples without needing permission."
}
],
"packages": [
{"ecosystem": "pypi", "name": "requests"}
]
}

Output: A summary plus per-item rows: each URL has status (live, redirected, broken, blocked_or_paywalled, timeout, ssrf_blocked, invalid_url), httpStatus, finalUrl, redirectChain, pageTitle, metaDescription, canonicalUrl, dates and latencyMs. Each citation has matchType (exact, fuzzy, not_found), similarity, matchedExcerpt and contextSnippet. Each package has exists, latestVersion, requestedVersionExists, deprecated and registryUrl.

Cost: $0.0015 per URL checked, $0.003 per quote verified, $0.0005 per package lookup. Invalid input is not billed. Apify also charges the standard $0.00005 Actor-start fee on ordinary runs.

Call it from an agent:

  • Apify MCP server: add https://mcp.apify.com/?tools=geeky_goth_gamer/live-link-citation-verifier to your MCP client; the tool is geeky_goth_gamer--live-link-citation-verifier. Or use call-actor with "actor": "geeky_goth_gamer/live-link-citation-verifier".
  • Standby HTTP: POST https://geeky-goth-gamer--live-link-citation-verifier.apify.actor/verify with Authorization: Bearer YOUR_TOKEN and the input JSON. Use POST /verify-draft with { "text": "..." } to extract and check every link in a draft. GET /health is a liveness check.
  • Python: ApifyClient(token).actor("geeky_goth_gamer/live-link-citation-verifier").call(run_input=...), then read client.dataset(run["defaultDatasetId"]).list_items().items.
  • HTTP run: POST https://api.apify.com/v2/acts/geeky_goth_gamer~live-link-citation-verifier/run-sync-get-dataset-items?token=YOUR_TOKEN with the input JSON as the body.

Why this exists

Agents invent URLs, slightly misquote sources, and sometimes recommend software packages that were never published. A 404 and a Cloudflare challenge look the same if you only treat “not 200” as dead, so this Actor distinguishes real dead pages (404/410/DNS failure → broken) from bot-blocks, rate limits and paywalls (403/429/challenge pages → blocked_or_paywalled). For citations it normalises curly/straight quotes and dashes, then returns either an exact match or a fuzzy matchedExcerpt so the agent can fix the wording instead of dropping a good source.

Input

Pass any combination of the following.

FieldDefaultNotes
urls(empty)Up to 50 public http(s) URLs. Duplicates removed.
text(empty)A draft; http(s) URLs (including Markdown links) are extracted, trailing punctuation stripped, then checked.
citations(empty){url, quote} or {url, quotes: [...]}. Up to 40 quotes.
packages(empty){ecosystem: "pypi"|"npm", name, version?}. Up to 40. Names are strictly validated.
timeoutSeconds15Per URL / registry lookup.
maxFileSizeMb2Responses are truncated after this size.
fuzzyThreshold0.75Minimum similarity for a fuzzy quote match.
concurrency8Parallel fetches (max 16).

Output

The default dataset starts with one envelope (status, summary, urls, citations, packages) and then one row per check (kind: url, citation or package).

URL status values:

  • live — the URL returned a success status with no redirect
  • redirected — success after following redirects (finalUrl and redirectChain are set)
  • broken — 404, 410, DNS or network failure, or another unsuccessful response that is not a bot-block
  • blocked_or_paywalled — 401/402/403/429, or a Cloudflare-style challenge page
  • timeout — the download exceeded timeoutSeconds
  • ssrf_blocked — private, loopback, link-local, metadata or otherwise disallowed target
  • invalid_url — not a usable http(s) URL

Citation matchType: exact (normalised substring), fuzzy (high overlap, with matchedExcerpt and contextSnippet from the live page), or not_found.

Standby / Server mode

When started through Apify's server interface (APIFY_META_ORIGIN=STANDBY), the Actor listens on ACTOR_WEB_SERVER_PORT and handles:

  • GET /health — liveness
  • POST /verify — same input as a normal run, JSON response
  • POST /verify-draft — requires text; extracts and checks links (optional citations / packages also accepted)
  • Any request carrying the x-apify-container-server-readiness-probe header is answered immediately with HTTP 200 and body ok

Pricing

EventPriceWhen it is charged
verify-url (primary)US$0.0015One URL liveness/metadata check (from urls or extracted from text).
verify-citationUS$0.003One quote checked against a live page.
verify-packageUS$0.0005One PyPI or npm registry lookup.
apify-actor-startUS$0.00005 (Apify default)Once when a standard run starts.

Failed input (the Actor refused the request) is not billed. Your maximum cost per run is respected.

Safety

URL fetches are SSRF-safe: only http/https on standard ports, every redirect hop is re-validated, and private, loopback, link-local, CGNAT and cloud-metadata addresses are blocked. Downloads are size- and time-capped. Package names are validated so they cannot be used for path injection against the registry URLs. The helper connects to already-checked IPs, IPv4 first (Apify containers often have no IPv6 route).

Limitations

  • JavaScript-rendered or bot-walled pages may look empty or blocked_or_paywalled even when a browser can open them.
  • A soft (HTTP 200) paywall without clear challenge signals may still be reported as live.
  • Fuzzy matches are deterministic lexical overlap, not a language-model paraphrase check.
  • Registry checks hit PyPI and npm only, not other ecosystems.