Use /v1/analyze to get page type, primary CTA, technologies, headings, links, word count, and an optional visual snapshot — all from one browser session.
curl "https://snapapi.tech/v1/analyze?url=https://example.com" \
-H "x-api-key: YOUR_KEY" | jq '{page_type, primary_cta, technologies, word_count}'import requests
response = requests.get(
"https://snapapi.tech/v1/analyze",
params={"url": "https://example.com"},
headers={"x-api-key": "YOUR_KEY"}
).json()
print(response["page_type"]) # "landing"
print(response["primary_cta"]["text"]) # "Get started"
print(response["technologies"]) # ["react", "stripe"]
print(response["word_count"]) # 1200const res = await fetch(
"https://snapapi.tech/v1/analyze?url=https://example.com",
{ headers: { "x-api-key": "YOUR_KEY" } }
);
const data = await res.json();
console.log(data.page_type); // "landing"
console.log(data.primary_cta.text); // "Get started"
console.log(data.technologies); // ["react", "stripe"]
console.log(data.word_count); // 1200