Docs · Reference
Page Links Extractor
GET /v1/url/links1 credit / requestcache 60 minEvery link on a web page as an absolute URL with its anchor text, internal/external type and rel flags (nofollow, sponsored, ugc), plus totals and the external domains linked most. Email, phone, JavaScript and same-page anchor links are counted separately. Linked pages are not fetched. Respects robots.txt by default. Failed fetches are not charged.
Query parameters
urlstring · required | Public http(s) URL of the page whose links to list. |
limitinteger | Maximum number of links to return (counts cover all links). Default: 500 |
respect_robotsboolean | Refuse URLs disallowed by the site's robots.txt. Default: true |
max_ageinteger | Accept a cached answer up to this many seconds old, billed at 50%. |
Response data fields
Example
curl "https://api.gridlode.com/v1/url/links?url=https%3A%2F%2Fwww.python.org%2F&limit=50" \
-H "Authorization: Bearer $GRIDLODE_KEY"Try it without code on the Page Links Extractor API page.