Install the SDK
Set your API key
Get a secret API key from the dashboard. Set it in the terminal where you will run the example:Scrape a webpage
Save this asscrape.mjs:
scrape.mjs
Run the example in TypeScript
Run the example in TypeScript
Save the same example as
scrape.mts. Install tsx as a development dependency, then run it:Check the result
The example prints the page content as Markdown. Look for theExample Domain heading; the remaining text and formatting may vary.
Expected heading
Retrieve brand data
Replace the request and finalconsole.log with this lookup. It prints the matched company name.
Next steps
Scrape a webpage
Choose which page content to include.
Retrieve brand data
Look up profiles with other company identifiers.