XMLHttpRequest

W3C, Cambridge, Massachusetts, United States

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.

Unlike the newer Fetch API, XMLHttpRequest uses an event-based programming model instead of promises and includes native support for request timeouts and progress events.

According to our data, XMLHttpRequest is the second most popular browser API on the web.
It has 19% of the browser API market share and is detected on 6.5% of all websites.

πŸ“Š Rankings and Market Share

πŸ† XMLHttpRequest Awards

⚑ Sites Using XMLHttpRequest

We have data on 235,841 websites that use the XMLHttpRequest browser API. Here is a list of some of the top ranked ones.

The highest rated site using XMLHttpRequest is google.com.

#WebsiteRankCountryLanguage
1 google.com #1 United States English
2 bing.com #14 United States English
3 netflix.com #19 United States English
4 p**nhub.com #26 United States English
5 twitch.tv #42 United States English
6 wyze.com #49 United States English
7 nytimes.com #50 United States English
8 cnn.com #67 United States English
9 globo.com #74 Brazil Brazilian Portuguese
10 wordpress.com #83 United States English
11 aliexpress.us #85 China English
12 etsy.com #93 United States American English
13 dailymotion.com #115 France American English
14 uber.com #117 United States English
15 amazon.de #122 United States English
16 mail.ru #123 Russia Russian
17 uol.com.br #135 Brazil Brazilian Portuguese
18 behance.net #139 United States American English
19 maps.google.com United States English
20 merriam-webster.com #143 English

πŸ“ˆ Usage Statistics

Most of the sites that use XMLHttpRequest:

Most of the sites using XMLHttpRequest are from the United States, Germany, and the United Kingdom.

  • United States 26.6%
  • Germany 8.2%
  • United Kingdom 7.4%
  • Russia 5.4%
  • Canada 3.9%
  • Australia 3.7%
  • India 3.4%
  • France 3.2%
  • Japan 2.8%
  • Other 35.4%

Most XMLHttpRequest users speak English, Russian, or German.

  • English 68.4%
  • Russian 4.8%
  • German 4.1%
  • Spanish 3.2%
  • French 2.8%
  • Japanese 2%
  • Italian 1.5%
  • Dutch 1.4%
  • Portuguese 1.3%
  • Other 10.5%

The XMLHttpRequest browser API is especially popular on .com top-level domains.

  • .com 53.9%
  • .ru 3.7%
  • .org 3.5%
  • .de 3.1%
  • .co.uk 2.7%
  • .net 2.4%
  • .com.au 2.2%
  • .it 1.2%
  • .nl 1.1%
  • Other 26.2%

The primary market segments for websites utilizing XMLHttpRequest include online shopping, business, and marketing and merchandising.

  • Online Shopping 24.7%
  • Business 12%
  • Marketing/Merchandising 11.4%
  • Fashion/Beauty 7%
  • Blogs/Wiki 5.5%
  • Internet Services 3.3%
  • Education/Reference 3.3%
  • Entertainment 3.2%
  • Health 2.7%
  • Other 26.9%

πŸ•΅οΈ Similar Technologies

These are some of the best XMLHttpRequest alternatives.

RankName
3
Fetch
Cambridge, Massachusetts, United States

A modern JavaScript API for requesting network resources and exchanging data between web applications and servers.

4
Beacon API
Cambridge, Massachusetts, United States

Used to send asynchronous and non-blocking requests to a web server.

6
WebSocket
Fremont, California, United States

A communication protocol that enables persistent, full-duplex data exchange between a client and a server over a single TCP connection.

12
WebRTC
Cambridge, Massachusetts, United States

A set of APIs and protocols originally developed by Google that enables real-time audio, video, and peer-to-peer data communication in web browsers and mobile applications.

Axios
Salt Lake City, Utah, United States

A promise-based HTTP client for making HTTP requests from browsers and Node.js applications.

FreeOpen source

πŸ†š Compare Alternatives

Compare XMLHttpRequest to…

πŸ’¬ Frequently Asked Questions

What is the company behind XMLHttpRequest?

XMLHttpRequest is owned by World Wide Web Consortium, Inc., headquartered in Cambridge, Massachusetts, United States.

Which country uses XMLHttpRequest the most?

The majority of XMLHttpRequest users are from the United States.

Who uses XMLHttpRequest?

According to our data, XMLHttpRequest is used on thousands of sites, including google.com, bing.com, and netflix.com.

Is XMLHttpRequest used on government websites?

In total, we found XMLHttpRequest on 910 government sites in the United States.

Do academic institutions use XMLHttpRequest?

Yes, quite a few! Overall, we know of 208 academic websites in the United States that use XMLHttpRequest.

How does XMLHttpRequest compare to its competitors?

XMLHttpRequest is one of the most popular browser APIs, second only to Web Storage.

What are the alternatives to XMLHttpRequest?

Alternatives and possible competitors to XMLHttpRequest may include Fetch, WebSocket, and Axios.

πŸ‘‰ See Also

πŸ—ƒοΈ About This Data