Skip to content

v0.3.1-alpha

Pre-release
Pre-release

Choose a tag to compare

@gerwyn-ng gerwyn-ng released this 20 Feb 10:47
· 17 commits to master since this release

What's New

  • 3 new Brand Radar endpoints: brand_radar_sov_history(), brand_radar_cited_domains(), brand_radar_cited_pages()
  • 52 endpoints total (was 49)

Example

from ahrefs import AhrefsClient

# Uses AHREFS_API_KEY environment variable
client = AhrefsClient()
data = client.brand_radar_cited_domains(
    select="domain,responses",
    data_source="chatgpt",
    brand="ahrefs",
    limit=5,
)
for item in data:
    print(f"{item.domain}: {item.responses} responses")
client.close()