🆚 Beacon API vs. XMLHttpRequest

Type

Browser API
Browser API

About

The Beacon API is used to send asynchronous and non-blocking requests to a web server.

XMLHttpRequest (XHR) is a JavaScript API for sending HTTP and HTTPS requests and receiving data from web servers without reloading the current page.

It supports both synchronous and asynchronous communication, allows monitoring of upload and download progress, and can exchange data in formats such as text, XML, JSON, and binary content.

Read more…

Headquarters

Cambridge, Massachusetts, United States
Cambridge, Massachusetts, United States

Website

Categories

Browser APIs › Rank #4
Browser APIs › Rank #3

Popularity

Determined by the number of sites using each technology.

The XMLHttpRequest browser API is 1.6 times more popular than Beacon API.
Total websites

Market share

Browser APIs

Popularity by country

Determined by the number of sites detected from each country.

XMLHttpRequest is more popular in the United States, the United Kingdom, and Germany, while Beacon API is more popular in Israel, Argentina, and Guatemala.
United States
United Kingdom
Germany
Australia
Canada
India
Russia
Japan
France
Netherlands

Awards

Popularity by domain category

Determined by the number of sites in each category.

XMLHttpRequest is more popular among sites focused on online shopping, business, and fashion and beauty, while Beacon API is more commonly used on marketing and merchandising, real estate, and restaurants sites.
Online Shopping
Business
Fashion/Beauty
Marketing/Merchandising
Blogs/Wiki
Internet Services
Education/Reference
Entertainment
Health
Sports

Top sites

Top-ranked sites that use these technologies.

Name
Rank
View more ➝
Name
Rank
p**nhub.com
#26
View more ➝

See also

🗃️ About This Data