/v2 module path.
Install the SDK
In a new project directory, initialize a module. Skip this command if the project already has ago.mod:
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 asmain.go:
main.go
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
Inmain, replace the Markdown request, error check, and print statement with this lookup:
packages/param import if you no longer use it. The example prints the matched company name.
The older unversioned Go module, last checked at v1.5.0, uses a legacy Brand request. Upgrade the dependency and imports to /v2 to use the unified POST /brand/retrieve endpoint, or make a direct HTTP request.
Next steps
Scrape a webpage
Choose which page content to include.
Retrieve brand data
Look up profiles with other company identifiers.