Legion Labs logoLegion Labs

$ legion actor bulk-check-http-status-codes

Bulk check HTTP status codes of URLs

A short list of URLs is enough to see which addresses still answer 200 and which have gone missing, which is the usual first step of a link audit.

Run this example on Apify

Open the url-status-checker actor in the Apify Store

Price: $0.10 per 1,000 checked URLs. A request that failed or was blocked is not charged. Actor start is $0.00005.

Input for this example

{
  "urls": [
    "https://example.com",
    "https://www.python.org/",
    "https://github.com/legion-factory-nonexistent-page-404",
    "https://www.wikipedia.org/"
  ]
}

Sample output

originalUrlstatusCodefinalUrlredirectCount
https://example.com200https://example.com/0
https://www.python.org/200https://www.python.org/0
https://github.com/legion-factory-nonexistent-page-404404https://github.com/legion-factory-nonexistent-page-4040

Sample from a real run of this example. Personal names and email addresses on this page are redacted.

What this example does not do

This is an HTTP-only check, not a JavaScript renderer. A request that fails to connect is not billed. It does not spider a whole site.

Related examples

Check redirect chains after a site migration

All Apify actors · All products