Output
A clean list of URLs
Every URL comes back in one flat list, so you can decide what to scrape before you spend credits on it.

/map
Get the full list of links on any website in one call — in seconds. See what’s there before you pull the content.
curl -X POST "https://apix.pline.ai/v1/map" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com", "limit": 5000}'import os
import requests
API_URL = "https://apix.pline.ai/v1/map"
API_KEY = os.environ.get("PLINE_API_KEY", "YOUR_API_KEY")
payload = {"url": "https://example.com", "limit": 5000}
headers = {"X-API-Key": API_KEY, "Content-Type": "application/json"}
response = requests.post(API_URL, headers=headers, json=payload)
print("Status:", response.status_code)
if not response.ok:
print("Response body:")
print(response.text)
else:
print(response.json())const API_URL = "https://apix.pline.ai/v1/map";
const API_KEY = process.env.PLINE_API_KEY || "YOUR_API_KEY";
const response = await fetch(API_URL, {
method: "POST",
headers: {
"X-API-Key": API_KEY,
"Content-Type": "application/json",
},
body: JSON.stringify({
url: "https://example.com",
limit: 5000,
}),
});
console.log("Status:", response.status);
if (!response.ok) {
console.log("Response body:");
console.log(await response.text());
} else {
console.log(JSON.stringify(await response.json(), null, 2));
}Output
Every URL comes back in one flat list, so you can decide what to scrape before you spend credits on it.

Fast by design
/map reads the site's sitemap first, so results come back fast. You can configure it to include or exclude the sitemap.

Map, then scrape
Map a site, keep the URLs that matter, then send them to batch scrape. No credits wasted on pages you'll never use

Use cases
Plan a scrape before you spend
See how big a site is and which sections matter before you scrape a single page.
Spot new pages
Map a site on a schedule and compare lists to catch new products, posts or job listings.
Give agents a site index
Hand an AI agent the full list of URLs so it can pick the right page to read.
Works with
FAQs