ForHosting KIT · Web Scraping & Monitoring

Extract links

Paste a page address and get every link on it, from internal pages and external sites to in-page anchors, email and phone links, each with its visible text and marked internal or external. You pay per page, with no subscription.

● StablePer request + per URL$0.002
Use it from WebAPIEmailTelegramApp soon

Run this on our servers with your account. Free tools run in your browser; this one bills your KIT balance per the price above.

One request, one page, every link it contains — internal, external, anchors and even mailto or tel links — sorted into a structured list you can act on immediately.

Internal and external links answer different questions

Links have been a signal that search engines weigh since the late 1990s, and the split between internal and external still separates two different concerns. Internal links describe how a site organizes itself: which pages it points to often and which ones it leaves isolated. External links describe who the site trusts or references, from sources to partners and affiliates. Because every link comes already marked as one or the other, you do not have to sort them by hand for each page you check, and you can see at a glance whether an important page receives enough links from the rest of the site.

Common checks you can run with the list

Before a campaign goes live, extract the external links from a landing page and confirm that every affiliate address is present and points where it should. During an internal linking audit, pull the links from a set of key pages to see whether the pages that matter most are well supported. Before committing to a full crawl, run the extraction on the homepage to gauge how many unique paths the crawl would need to cover. And to clean up, pass the external links to a separate check that flags dead domains and redirects.

Why the internal-versus-external split matters

Link structure has been a signal search engines weigh since the earliest PageRank-style algorithms of the late 1990s, and the internal-versus-external distinction still separates two very different concerns — internal links describe how a site organizes itself, external links describe who it trusts or references. Splitting them automatically in the response means you don't have to write that classification logic yourself for every page you check.

Internal linking audits

Pull every link from a set of key pages to check that important pages are receiving enough internal links to support their SEO weight.

Outbound link and affiliate checks

Extract external links from a page to verify affiliate URLs are present and pointing where they should before a campaign goes live.

Estimating crawl scope before committing

Run link extraction on a homepage first to gauge how many unique paths a full crawl of the site would likely need to cover.

Detecting broken or suspicious outbound links

Feed extracted external links into a separate check for dead domains or redirects to flag pages that need cleanup.

Is there a free way to extract links from a URL?

There's no free tier — free tiers get abused and slow everyone down. No subscription, no tokens, no invented credits, and a failed task is never charged.

Does it return internal and external links separately?

Yes, each link in the result is tagged as internal or external so you can filter or group them without extra logic on your side.

Does it include mailto and tel links?

Yes, anchor tags of every kind on the page are collected, including mailto and tel links alongside standard page URLs.

Does it tell me which links are broken?

Not by itself. It lists every link with its destination; to find dead domains or unexpected redirects, pass the external links to a separate check and flag the pages that need cleanup.

How can the link list help before a full site crawl?

Run it on the homepage first to gauge how many unique paths a full crawl of the site would likely need to cover, and then decide whether the larger job is worth starting.

Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.

POSThttps://api.kit.forhosting.com/web/links

Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.

curl -X POST https://api.kit.forhosting.com/web/links \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com"}'
{
  "url": "https://example.com"
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "web.links",
  "status": "queued",
  "_links": {
    "result": "/tasks/tsk_…/result"
  }
}

The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.

Per request$0.002

Published price — no tokens, no invented credits. A failed task is never charged.

timeout_sec30
max_crawl_pages25
HTTPCodeMeaning
401unauthorizedMissing or invalid API key.
402insufficient_balanceYour balance doesn't cover the task price.
404unknown_typeThat task type doesn't exist.
429rate_limitedToo many requests. Use the webhook instead of polling.

It's the smallest, cheapest endpoint in the web toolkit, built for the moments when you don't need content, just the wiring between pages.

A narrow job, done cheaply and often

Not every question needs a full crawl or a scrape of page content — sometimes you just need to know what a specific page links to, right now, without reading the rest of it. This endpoint answers exactly that, which is why it's priced as a flat, tiny per-request fee rather than the per-URL pricing that makes sense for content-heavy extraction.

What the request and response look like

A call to POST /web/links with a single URL returns a task_id immediately, then the page is fetched and every anchor tag on it is collected into a structured result — each link's href, its visible anchor text, and whether it points internally within the same domain or out to an external one. The finished result reaches you by signed webhook or a signed link valid for 24 hours, the same delivery pattern as every other task on the platform.

What you get back, precisely

As with the rest of the platform, a page that fails to load is retried automatically up to three times before returning a clear error, and you're never charged for a task that never completed. The response is a flat, structured array — no nested content, no rendered text beyond each link's anchor label — which keeps both the payload small and the price point genuinely negligible for checking hundreds of pages.

How it slots into a bigger workflow

Teams run this endpoint ahead of a broader crawl to estimate scope, alongside SEO audits to spot orphaned pages or excessive external linking, and inside link-checking pipelines that flag anchors pointing to domains no longer in good standing. Because the cost per call is small enough to run against every page on a site without a second thought, it's often the first tool reached for before deciding whether a heavier scrape or crawl is even warranted.

What does the link extraction API return?

A structured list of every link on the page, each with its URL, anchor text, and whether it's internal to the same domain or external.

How much does web.links cost?

$0.002 per request, a flat fee regardless of how many links the page contains, billed only when the task completes.

Does it follow the links it extracts?

No, this endpoint only reads the one page you submit; following links across a site is what the crawl endpoint is for.

How do I receive the results?

By signed webhook when the task finishes, or via a signed link valid for 24 hours if you prefer to retrieve it yourself.

Can I run this on many pages in bulk?

Yes, submit one request per URL; at $0.002 per request it stays inexpensive even when checked across hundreds of pages.

Read the full KIT documentation →