100 free credits. No credit card required. Get a key

Website URL map API

Every URL of a site we can find from its sitemaps (via robots.txt) and the page’s links, filtered by a search term.

GET /v1/web/mapBeta1 credit per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/web/map?url=https%3A%2F%2Fwww.python.org%2F&search=downloads",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 1 credit
{
"links": [
{
"url": "https://www.python.org/downloads/",
"title": "Downloads",
"source": "page"
},
{
"url": "https://www.python.org/downloads/source/",
"title": "Source code",
"source": "page"
},
"… 5 more"
],
"sitemaps": []
}

Parameters

NameTypeDescription
urlquery · requiredstringA public http(s) URL. Example: https://example.com/.
searchquerystring
limitqueryinteger
sitemapquery"include" | "skip" | "only"One of include, skip, only.
include_subdomainsquery"true" | "false"One of true, false.
ignore_query_parametersquery"true" | "false"One of true, false.
freshquery"true" | "false"One of true, false.
Status codes
StatusMeaning
200The URLs found.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404That host does not resolve or the page does not exist.
429Too many requests. Wait for Retry-After seconds.
503Web is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

Questions

How many URLs?

Up to 5,000 (limit).

Web is a trademark of its owner. We are not affiliated with or endorsed by it.