Bright Data → stratless
Bright Data’s Web Scraper / Web Unlocker returns page content for tough targets. Scrape your set, then map it.
const KEY = process.env.STRATLESS_API_KEY
const BRIGHT = process.env.BRIGHTDATA_API_KEY
const set = [
{ name: 'Pinecone', url: 'https://pinecone.io' },
{ name: 'Qdrant', url: 'https://qdrant.tech' },
{ name: 'Weaviate', url: 'https://weaviate.io' },
]
// 1 — unlock + scrape each page to text
const scrape = (url) =>
fetch('https://api.brightdata.com/request', {
method: 'POST',
headers: { authorization: `Bearer ${BRIGHT}`, 'content-type': 'application/json' },
body: JSON.stringify({ zone: 'web_unlocker', url, format: 'raw' }),
}).then((r) => r.text())
const pages = await Promise.all(set.map((s) => scrape(s.url)))
// 2 — analyze the set → a competitive field map
const res = await fetch('https://api.stratless.com/v1/analyze', {
method: 'POST',
headers: { 'x-api-key': KEY, 'content-type': 'application/json' },
body: JSON.stringify({
texts: set.map((s, i) => ({ name: s.name, text: pages[i] })),
}),
})
const fieldMap = await res.json()
See The analyze API for the full response shape.