Discover all internal and external hyperlinks, anchor texts, and domain frequency breakdowns.
Inspect all outgoing hyperlinks on any webpage. Filter internal vs external links, identify broken references, inspect anchor texts, and view domain distribution charts.
Because this endpoint utilizes full headless Chromium rendering, dynamic JavaScript and single-page apps (SPAs) are executed completely before conversion:
Chromium initializes, fetches the URL, executes client JavaScript, resolves DOM mutations, and generates output.
Returned instantly from Valkey/Redis cache with header X-Lender-Cache: HIT (15-minute TTL).
curl -X POST https://api.headless-lender.com/api/v1/links \
-H "Content-Type: application/json" \
-d '{
"url": "https://news.ycombinator.com",
"maxLinks": 100,
"includeExternal": true
}'No Authorization header required. Simply send a JSON POST request. Perfect for quick prototypes, small scripts, and low-volume scraping.
Sign up in 10s with no credit card required. Unlocks 1,000 free monthly requests, 600 browser minutes (10 hours), 120 req/min burst limits, and cache-bypass controls.
| Access Mode | Monthly Quota | Cloud Browser Time | Burst Limit | Credit Card | Action |
|---|---|---|---|---|---|
| Public Anonymous | Daily IP Allowance | 5-min trial sandbox | 10 req/min | None | Instant (No Setup) |
| Free Account (Highest Quota) | 1,000 Req / Month | 600 Mins (10 Hours) | 120 req/min | Zero ($0 forever) | Claim Free Key → |
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| url | string | required | — | Target webpage URL to extract links from. |
| maxLinks | number | optional | 150 | Maximum number of links to return. |
| sameDomainOnly | boolean | optional | false | Return only internal links on the same origin domain. |
| includeExternal | boolean | optional | true | Include external third-party links. |
{
"url": "https://news.ycombinator.com",
"totalLinks": 85,
"internalCount": 42,
"externalCount": 43,
"domainStats": {
"news.ycombinator.com": 42,
"github.com": 12,
"nytimes.com": 4,
"blog.cloudflare.com": 3
},
"links": [
{
"href": "https://github.com/trending",
"text": "GitHub Trending",
"isExternal": true,
"domain": "github.com"
},
{
"href": "https://news.ycombinator.com/newest",
"text": "new",
"isExternal": false,
"domain": "news.ycombinator.com"
}
],
"durationMs": 220
}