{"id":13583071,"url":"https://github.com/microlinkhq/top-user-agents","last_synced_at":"2026-02-16T03:10:09.900Z","repository":{"id":39750210,"uuid":"241657529","full_name":"microlinkhq/top-user-agents","owner":"microlinkhq","description":"An always up-to-date list of the top 100 HTTP user-agents most used over the Internet.","archived":false,"fork":false,"pushed_at":"2026-02-09T01:17:26.000Z","size":528,"stargazers_count":315,"open_issues_count":0,"forks_count":21,"subscribers_count":4,"default_branch":"master","last_synced_at":"2026-02-09T07:46:43.927Z","etag":null,"topics":["user-agent","user-agent-string","user-agents"],"latest_commit_sha":null,"homepage":"https://microlink.io/user-agents","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/microlinkhq.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-02-19T15:57:19.000Z","updated_at":"2026-02-09T01:17:30.000Z","dependencies_parsed_at":"2023-12-28T10:40:56.406Z","dependency_job_id":"b15cb494-6717-4744-afb1-7e4cf436d93d","html_url":"https://github.com/microlinkhq/top-user-agents","commit_stats":{"total_commits":205,"total_committers":7,"mean_commits":"29.285714285714285","dds":0.08292682926829265,"last_synced_commit":"316f1a520f786a4101ebeea669ef5119bc042d44"},"previous_names":["microlinkhq/top-user-agents","kikobeats/top-user-agents"],"tags_count":169,"template":false,"template_full_name":null,"purl":"pkg:github/microlinkhq/top-user-agents","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microlinkhq%2Ftop-user-agents","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microlinkhq%2Ftop-user-agents/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microlinkhq%2Ftop-user-agents/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microlinkhq%2Ftop-user-agents/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/microlinkhq","download_url":"https://codeload.github.com/microlinkhq/top-user-agents/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microlinkhq%2Ftop-user-agents/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29499610,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T02:07:14.481Z","status":"online","status_checked_at":"2026-02-16T02:03:22.852Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["user-agent","user-agent-string","user-agents"],"created_at":"2024-08-01T15:03:14.413Z","updated_at":"2026-02-16T03:10:09.893Z","avatar_url":"https://github.com/microlinkhq.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/microlinkhq/cdn/raw/master/dist/logo/banner.png#gh-light-mode-only\" alt=\"microlink logo\"\u003e\n  \u003cimg src=\"https://github.com/microlinkhq/cdn/raw/master/dist/logo/banner-dark.png#gh-dark-mode-only\" alt=\"microlink logo\"\u003e\n\u003c/div\u003e\n\n# top-user-agents\n\n![Last version](https://img.shields.io/github/tag/microlinkhq/top-user-agents.svg?style=flat-square)\n[![NPM Status](https://img.shields.io/npm/dm/top-user-agents.svg?style=flat-square)](https://www.npmjs.org/package/top-user-agents)\n\n\u003e An always up-to-date list of the top 100 HTTP [user-agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent) strings most used over the Internet.\n\n## Highlights\n\n- **Always fresh**: Auto-updated weekly from real-world traffic data\n- **Battle-tested**: Based on [+300M monthly requests](https://analytics.microlink.io/) from [microlink.io](https://microlink.io)\n- **Flexible**: Get all user-agents, or filter by desktop/mobile\n- **Zero dependencies**: Lightweight and fast\n- **TypeScript ready**: Includes type definitions\n\n**Download**: [All](https://cdn.jsdelivr.net/gh/microlinkhq/top-user-agents@master/src/index.json) · [Desktop](https://cdn.jsdelivr.net/gh/microlinkhq/top-user-agents@master/src/desktop.json) · [Mobile](https://cdn.jsdelivr.net/gh/microlinkhq/top-user-agents@master/src/mobile.json)\n\n## Why top-user-agents?\n\nWhen performing HTTP requests that need to look like real browser traffic (web scraping, testing, automation), you need accurate and current user-agent strings.\n\n![User agent statistics showing browser distribution](stats.png)\n\nMost user-agent lists on the Internet are **outdated** or **unmaintained**. This list is different:\n\n- Collected from real traffic at [microlink.io](https://microlink.io) (+300M requests/month)\n- Automatically updated via CI/CD pipeline\n- Covers Chrome, Firefox, Safari, Edge, and more\n\n## Install\n\n```bash\nnpm install top-user-agents\n```\n\n## Usage\n\n### Get a random user-agent\n\n```js\nconst uniqueRandomArray = require('unique-random-array')\nconst userAgents = require('top-user-agents')\n\nconst randomUserAgent = uniqueRandomArray(userAgents)\n\nconsole.log(randomUserAgent())\n// =\u003e 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36'\n```\n\n### Filter by device type\n\n```js\n// Desktop browsers only\nconst desktopAgents = require('top-user-agents/desktop')\n\n// Mobile browsers only\nconst mobileAgents = require('top-user-agents/mobile')\n```\n\n### Use with fetch/HTTP requests\n\n```js\nconst userAgents = require('top-user-agents')\n\nconst response = await fetch('https://example.com', {\n  headers: {\n    'User-Agent': userAgents[0]\n  }\n})\n```\n\n## About Privacy\n\nThe information exposed to the user-agent only relies on coarse details.\n\nIn practice, anyone can put whatever they want in the user-agent string, and send it to the web server.\n\nBecause that, The user-agent cannot be sufficient condition to identify or reproduce the original request.\n\n## Related\n\n- [https-tls](https://github.com/Kikobeats/https-tls) – Setup TLS fingerprints to match user-agent strings.\n- [@microlink/ua](https://github.com/microlinkhq/ua) – Redis primitives for tracking and ranking user-agents.\n\n## License\n\n**top-user-agents** © [microlink.io](https://microlink.io), released under the [MIT](https://github.com/microlinkhq/top-user-agents/blob/master/LICENSE.md) License.\u003cbr\u003e\nAuthored and maintained by [Kiko Beats](https://kikobeats.com) with help from [contributors](https://github.com/microlinkhq/top-user-agents/contributors).\n\n\u003e [microlink.io](https://microlink.io) · GitHub [microlink.io](https://github.com/microlinkhq) · X [@microlinkhq](https://x.com/microlinkhq)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrolinkhq%2Ftop-user-agents","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicrolinkhq%2Ftop-user-agents","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrolinkhq%2Ftop-user-agents/lists"}