getanyapi 0.176.2__tar.gz → 0.177.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. {getanyapi-0.176.2 → getanyapi-0.177.0}/PKG-INFO +1 -1
  2. {getanyapi-0.176.2 → getanyapi-0.177.0}/pyproject.toml +1 -1
  3. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/__init__.py +1 -1
  4. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/ahrefs.py +24 -22
  5. {getanyapi-0.176.2 → getanyapi-0.177.0}/.gitignore +0 -0
  6. {getanyapi-0.176.2 → getanyapi-0.177.0}/README.md +0 -0
  7. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/_account.py +0 -0
  8. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/_async_client.py +0 -0
  9. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/_client.py +0 -0
  10. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/_errors.py +0 -0
  11. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/_idempotency.py +0 -0
  12. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/_pagination.py +0 -0
  13. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/_transport.py +0 -0
  14. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/discovery_types.py +0 -0
  15. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/__init__.py +0 -0
  16. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/airbnb.py +0 -0
  17. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/alibaba.py +0 -0
  18. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/aliexpress.py +0 -0
  19. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/amazon.py +0 -0
  20. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/appstore.py +0 -0
  21. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/asos.py +0 -0
  22. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/bestbuy.py +0 -0
  23. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/bing.py +0 -0
  24. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/bluesky.py +0 -0
  25. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/booking.py +0 -0
  26. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/brave.py +0 -0
  27. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/capterra.py +0 -0
  28. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/cards.py +0 -0
  29. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/chatgpt.py +0 -0
  30. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/coinmarketcap.py +0 -0
  31. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/company_enrichment.py +0 -0
  32. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/company_identify.py +0 -0
  33. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/company_search.py +0 -0
  34. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/congress.py +0 -0
  35. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/contact_enrichment.py +0 -0
  36. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/douyin.py +0 -0
  37. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/duckduckgo.py +0 -0
  38. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/ebay.py +0 -0
  39. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/email.py +0 -0
  40. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/email_finding.py +0 -0
  41. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/email_verification.py +0 -0
  42. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/etsy.py +0 -0
  43. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/facebook.py +0 -0
  44. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/fiverr.py +0 -0
  45. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/g2.py +0 -0
  46. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/gemini.py +0 -0
  47. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/github.py +0 -0
  48. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/glassdoor.py +0 -0
  49. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/google.py +0 -0
  50. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/google_ads.py +0 -0
  51. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/google_finance.py +0 -0
  52. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/google_flights.py +0 -0
  53. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/google_hotels.py +0 -0
  54. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/google_shopping.py +0 -0
  55. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/hackernews.py +0 -0
  56. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/ikea.py +0 -0
  57. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/indeed.py +0 -0
  58. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/instagram.py +0 -0
  59. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/job_search.py +0 -0
  60. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/levels.py +0 -0
  61. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/linkedin.py +0 -0
  62. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/linktree.py +0 -0
  63. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/maps.py +0 -0
  64. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/mercari.py +0 -0
  65. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/mobile_phone.py +0 -0
  66. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/naver.py +0 -0
  67. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/nextdoor.py +0 -0
  68. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/people_search.py +0 -0
  69. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/perplexity.py +0 -0
  70. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/person.py +0 -0
  71. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/person_enrichment.py +0 -0
  72. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/pexels.py +0 -0
  73. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/pinterest.py +0 -0
  74. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/playstore.py +0 -0
  75. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/polymarket.py +0 -0
  76. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/property_records.py +0 -0
  77. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/realtor.py +0 -0
  78. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/reddit.py +0 -0
  79. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/redfin.py +0 -0
  80. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/rednote.py +0 -0
  81. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/samsclub.py +0 -0
  82. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/sec.py +0 -0
  83. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/semrush.py +0 -0
  84. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/seo.py +0 -0
  85. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/shopify.py +0 -0
  86. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/similarweb.py +0 -0
  87. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/slickdeals.py +0 -0
  88. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/snapchat.py +0 -0
  89. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/social.py +0 -0
  90. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/spotify.py +0 -0
  91. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/substack.py +0 -0
  92. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/target.py +0 -0
  93. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/technographics.py +0 -0
  94. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/telegram.py +0 -0
  95. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/threads.py +0 -0
  96. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/tiktok.py +0 -0
  97. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/tiktok_shop.py +0 -0
  98. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/tripadvisor.py +0 -0
  99. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/trustpilot.py +0 -0
  100. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/truthsocial.py +0 -0
  101. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/twitter.py +0 -0
  102. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/unsplash.py +0 -0
  103. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/upwork.py +0 -0
  104. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/vrbo.py +0 -0
  105. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/walmart.py +0 -0
  106. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/web.py +0 -0
  107. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/weibo.py +0 -0
  108. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/yahoo_finance.py +0 -0
  109. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/yelp.py +0 -0
  110. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/youtube.py +0 -0
  111. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/zhihu.py +0 -0
  112. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/platforms/zillow.py +0 -0
  113. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/py.typed +0 -0
  114. {getanyapi-0.176.2 → getanyapi-0.177.0}/src/getanyapi/types.py +0 -0
  115. {getanyapi-0.176.2 → getanyapi-0.177.0}/tests/conftest.py +0 -0
  116. {getanyapi-0.176.2 → getanyapi-0.177.0}/tests/test_account.py +0 -0
  117. {getanyapi-0.176.2 → getanyapi-0.177.0}/tests/test_client.py +0 -0
  118. {getanyapi-0.176.2 → getanyapi-0.177.0}/tests/test_durable_requests.py +0 -0
  119. {getanyapi-0.176.2 → getanyapi-0.177.0}/tests/test_envelope.py +0 -0
  120. {getanyapi-0.176.2 → getanyapi-0.177.0}/tests/test_errors.py +0 -0
  121. {getanyapi-0.176.2 → getanyapi-0.177.0}/tests/test_fixture_roundtrip.py +0 -0
  122. {getanyapi-0.176.2 → getanyapi-0.177.0}/tests/test_fixture_sweep.py +0 -0
  123. {getanyapi-0.176.2 → getanyapi-0.177.0}/tests/test_not_found_reason.py +0 -0
  124. {getanyapi-0.176.2 → getanyapi-0.177.0}/tests/test_pagination.py +0 -0
  125. {getanyapi-0.176.2 → getanyapi-0.177.0}/tests/test_transport.py +0 -0
  126. {getanyapi-0.176.2 → getanyapi-0.177.0}/uv.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: getanyapi
3
- Version: 0.176.2
3
+ Version: 0.177.0
4
4
  Summary: Official typed Python SDK for AnyAPI: any API, one wallet, USD, no subscriptions.
5
5
  Project-URL: Homepage, https://getanyapi.com
6
6
  Project-URL: Documentation, https://getanyapi.com/docs
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "getanyapi"
7
- version = "0.176.2"
7
+ version = "0.177.0"
8
8
  description = "Official typed Python SDK for AnyAPI: any API, one wallet, USD, no subscriptions."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -55,7 +55,7 @@ from .types import (
55
55
  unwrap,
56
56
  )
57
57
 
58
- __version__ = "0.176.2"
58
+ __version__ = "0.177.0"
59
59
 
60
60
  __all__ = [
61
61
  # clients + top-level functions
@@ -91,13 +91,13 @@ class AhrefsTrafficInput(TypedDict, total=False):
91
91
  ignoreSources: NotRequired[list[str]]
92
92
  """Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the remaining sources. An id that does not serve this endpoint, or that is also in `source`, is rejected as invalid input with no charge; skipping every source is rejected the same way."""
93
93
  mode: NotRequired[Literal["exact", "subdomains", "prefix", "domain"]]
94
- """Analysis scope: subdomains covers the domain and its subdomains, domain covers the root domain only, prefix covers every page under the given path, exact matches only the given URL. Default: subdomains."""
94
+ """Analysis scope. Only subdomains, the whole website with its subdomains, is served now; a request for domain, prefix or exact is refused. A page URL is analyzed as its whole website. Default: subdomains."""
95
95
  preferLatencyUnderMs: NotRequired[int]
96
96
  """Optional; omit it and routing is unchanged, with the cheapest source serving. Prefer sources whose typical response time (median over the trailing 30 days, as published on this endpoint's lane health) is under this many milliseconds; among those, the cheapest serves. This can raise your price: when the cheapest source misses the target, a faster and dearer one serves, and you are quoted and charged its price. If no source is that fast the request is still served, by whichever source offers the best speed for its price - it is never refused for being slow. Sources we have not timed are tried last. This is a preference, not a guarantee: the median describes past requests and is not a ceiling on this one, and it excludes any wait this request itself asks for. On a paginated walk it applies to the first page only: later pages stay with the source that page chose, at the price it was quoted. Minimum: 1."""
97
97
  source: NotRequired[list[str]]
98
98
  """Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources that may serve. An id that does not serve this endpoint is rejected as invalid input with no charge; a listed source that is not serving right now is refused with no charge, so omit `source` to be served by another. On a paginated walk, later pages must include the source that served page one, or omit `source`."""
99
99
  url: Required[str]
100
- """The domain or page URL to analyze (e.g. ahrefs.com)."""
100
+ """The website to analyze (e.g. ahrefs.com). A page URL is analyzed as its whole website."""
101
101
 
102
102
 
103
103
  class AhrefsBacklinksData(BaseModel):
@@ -292,16 +292,14 @@ class AhrefsOverviewItem(BaseModel):
292
292
 
293
293
  class AhrefsTrafficData(BaseModel):
294
294
  items: list[AhrefsTrafficItem] = Field(
295
- description="Traffic overview records: the requested domain plus its monthly organic traffic, top ranking keywords, top pages, top countries, and traffic history. Populated whenever the provider has data for the entity."
295
+ description="Traffic overview records: the requested domain plus its monthly organic traffic, top ranking keywords, top countries, and traffic history."
296
296
  )
297
297
 
298
298
 
299
299
  class AhrefsTrafficItem(BaseModel):
300
300
  model_config = ConfigDict(extra="allow", populate_by_name=True)
301
301
 
302
- domain: str = Field(
303
- description="The domain or URL the metrics are scoped to. Populated whenever the provider has data for the entity."
304
- )
302
+ domain: str = Field(description="The domain or URL the metrics are scoped to.")
305
303
  mode: str | None = Field(
306
304
  default=None,
307
305
  description="Analysis scope used: subdomains, domain, prefix, or exact.",
@@ -309,7 +307,7 @@ class AhrefsTrafficItem(BaseModel):
309
307
  monthly_traffic: int | None = Field(
310
308
  default=None,
311
309
  alias="monthlyTraffic",
312
- description="Estimated monthly organic search visits.",
310
+ description="Estimated monthly organic search visits for the latest month.",
313
311
  )
314
312
  monthly_traffic_value_usd: float | None = Field(
315
313
  default=None,
@@ -324,17 +322,17 @@ class AhrefsTrafficItem(BaseModel):
324
322
  top_keywords: list[AhrefsTrafficTopKeyword] | None = Field(
325
323
  default=None,
326
324
  alias="topKeywords",
327
- description="The top organic keywords the domain already ranks for, up to five. Not ordered by traffic. For the full ranked-keyword list, use seo.ranked_keywords. Populated whenever the provider has data for the entity. Present whenever the upstream returns this record.",
325
+ description="The top organic keywords the domain already ranks for, up to five. Not ordered by traffic. For the full ranked-keyword list, use seo.ranked_keywords.",
328
326
  )
329
327
  top_pages: list[AhrefsTrafficTopPage] | None = Field(
330
328
  default=None,
331
329
  alias="topPages",
332
- description="The pages receiving the most organic traffic, up to five.",
330
+ description="The pages receiving the most organic traffic. Currently always null: Ahrefs no longer publishes top pages.",
333
331
  )
334
332
  traffic_history: list[AhrefsTrafficTrafficHistory] | None = Field(
335
333
  default=None,
336
334
  alias="trafficHistory",
337
- description="Monthly organic traffic estimates for recent months, oldest first.",
335
+ description="Monthly organic traffic estimates, oldest first, for as many months as Ahrefs publishes for the site.",
338
336
  )
339
337
 
340
338
 
@@ -490,13 +488,15 @@ class AhrefsNamespace:
490
488
  ) -> RunResult[AhrefsTrafficData]:
491
489
  """Ahrefs Traffic Overview
492
490
 
493
- Get the Ahrefs organic traffic overview for any domain or URL: monthly
494
- traffic estimate and value, the top 5 keywords it already ranks for with
495
- position and traffic, top pages, traffic by country, and a monthly traffic
496
- history - as normalized JSON. For a domain's full ranked-keyword list with
497
- search volume and difficulty, use seo.ranked_keywords.
491
+ Get the Ahrefs organic traffic overview for a website Ahrefs publishes
492
+ traffic for (its Top Websites list, mostly larger sites): monthly organic
493
+ traffic estimate and value, the top 5 keywords it ranks for with position
494
+ and traffic, traffic by country, and a monthly traffic history - as
495
+ normalized JSON. Other websites return not found. Top pages are not
496
+ available. For a domain's full ranked-keyword list with search volume and
497
+ difficulty, use seo.ranked_keywords.
498
498
 
499
- Price: $0.00006 per request plus $0.0054 per result (maximum $0.00546).
499
+ Price: $0.0012 per request plus $0.00456 per result (maximum $0.00576).
500
500
 
501
501
  Example:
502
502
  res = client.ahrefs.traffic(mode="subdomains", url="ahrefs.com")
@@ -607,13 +607,15 @@ class AsyncAhrefsNamespace:
607
607
  ) -> RunResult[AhrefsTrafficData]:
608
608
  """Ahrefs Traffic Overview
609
609
 
610
- Get the Ahrefs organic traffic overview for any domain or URL: monthly
611
- traffic estimate and value, the top 5 keywords it already ranks for with
612
- position and traffic, top pages, traffic by country, and a monthly traffic
613
- history - as normalized JSON. For a domain's full ranked-keyword list with
614
- search volume and difficulty, use seo.ranked_keywords.
610
+ Get the Ahrefs organic traffic overview for a website Ahrefs publishes
611
+ traffic for (its Top Websites list, mostly larger sites): monthly organic
612
+ traffic estimate and value, the top 5 keywords it ranks for with position
613
+ and traffic, traffic by country, and a monthly traffic history - as
614
+ normalized JSON. Other websites return not found. Top pages are not
615
+ available. For a domain's full ranked-keyword list with search volume and
616
+ difficulty, use seo.ranked_keywords.
615
617
 
616
- Price: $0.00006 per request plus $0.0054 per result (maximum $0.00546).
618
+ Price: $0.0012 per request plus $0.00456 per result (maximum $0.00576).
617
619
 
618
620
  Example:
619
621
  res = client.ahrefs.traffic(mode="subdomains", url="ahrefs.com")
File without changes
File without changes
File without changes