Ahrefs User Agents API

The User Agents API from Ahrefs — 10 operation(s) for user agents.

GitHub OpenAPI

Operations 10

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /browsers List browsers used to visit a site · Browsers #
Ask an LLM
“Which browsers drive the most visitors to my site?”
“Can I filter browsers by source channel?”
Tell an agent
List browsers for project {project_id}.
Show browsers in project {project_id} matching {where}.
GET /browsers-chart Chart browser usage over time · Browsers Chart #
Ask an LLM
“How has browser usage changed over time?”
“Can I chart only certain browsers on a daily chart?”
Tell an agent
Chart browser usage for project {project_id} at {granularity}.
Chart browsers {browser_to_chart} in project {project_id} from {from} to {to}.
GET /browser-versions List browser versions used to visit a site · Browser Versions #
Ask an LLM
“Which browser versions are most popular on my site?”
“Can I sort browser versions by pageviews?”
Tell an agent
List browser versions for project {project_id}.
Show browser versions in project {project_id} matching {where}.
GET /browser-versions-chart Chart browser versions over time · Browser Versions Chart #
Ask an LLM
“How has usage of specific browser versions changed over time?”
“Can I chart browser versions at weekly granularity?”
Tell an agent
Chart browser versions for project {project_id} at {granularity}.
Chart browser versions {browser_version_to_chart} in project {project_id} from {from} to {to}.
GET /devices List devices used to visit a site · Devices #
Ask an LLM
“Which devices visit my site most often?”
“Can I filter devices by source channel?”
Tell an agent
List devices for project {project_id}.
Show devices in project {project_id} matching {where}.
GET /devices-chart Chart device usage over time · Devices Chart #
Ask an LLM
“How has device usage changed over time?”
“Can I chart only certain devices on a monthly chart?”
Tell an agent
Chart device usage for project {project_id} at {granularity}.
Chart devices {devices_to_chart} in project {project_id} from {from} to {to}.
GET /operating-systems List operating systems used to visit a site · Operating Systems #
Ask an LLM
“Which operating systems visit my site most often?”
“Can I filter operating systems by source channel?”
Tell an agent
List operating systems for project {project_id}.
Show operating systems in project {project_id} matching {where}.
GET /operating-systems-chart Chart operating system usage over time · Operating Systems Chart #
Ask an LLM
“How has operating system usage changed over time?”
“Can I chart only certain operating systems on a daily chart?”
Tell an agent
Chart operating system usage for project {project_id} at {granularity}.
Chart operating systems {os_to_chart} in project {project_id} from {from} to {to}.
GET /operating-systems-versions List operating system versions used to visit a site · Operating Systems Versions #
Ask an LLM
“Which operating system versions are most popular on my site?”
“Can I sort operating system versions by pageviews?”
Tell an agent
List operating system versions for project {project_id}.
Show operating system versions in project {project_id} matching {where}.
GET /operating-systems-versions-chart Chart operating system versions over time · Operating Systems Versions Chart #
Ask an LLM
“How has usage of specific operating system versions changed over time?”
“Can I chart operating system versions at weekly granularity?”
Tell an agent
Chart operating system versions for project {project_id} at {granularity}.
Chart operating system versions {os_versions_to_chart} in project {project_id} from {from} to {to}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/ahrefs:ahrefs-user-agents-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

ahrefs-user-agents-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Web Analytics User Agents API
  description: Web_analytics.
  termsOfService: https://ahrefs.com/terms
  contact:
    name: Ahrefs
    url: https://ahrefs.com/
    email: support@ahrefs.com
  version: 3.0.0
servers:
- url: https://api.ahrefs.com/v3/web-analytics
  description: Ahrefs Web Analytics
security:
- http:
  - read
tags:


# --- truncated at 32 KB (69 KB total) ---
# Full source: https://artifacts.apis.io/ahrefs/openapi/ahrefs-user-agents-api-openapi.yml