XMLHttpRequest
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.2% of the browser API market share and is detected on 6.8% of all websites.
It appears on 11.3% of all websites in Canada, 10.6% in Russia, and 10.4% in the United States.
- π Website
- π Links
- </> Source code
π Rankings and Market Share
- Browser APIs
- Rank: 2
- Market share: 19.2%
π XMLHttpRequest Awards
- π₯ Most popular in the British Virgin Islands in the Browser APIs category.
- π₯ Most popular in Seychelles in the Browser APIs category.
- π₯ Second most popular in the United States in the Browser APIs category.
- π₯ Second most popular in the United Kingdom in the Browser APIs category.
- π₯ Second most popular in Germany in the Browser APIs category.
- π₯ Second most popular in Russia in the Browser APIs category.
- π₯ Second most popular in Canada in the Browser APIs category.
- π₯ Second most popular in Australia in the Browser APIs category.
- π₯ Second most popular in Korea in the Browser APIs category.
- π₯ Second most popular in Indonesia in the Browser APIs category.
β‘ Sites Using XMLHttpRequest
We have data on 273,293 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.
| # | Website | Rank | Country | Language |
|---|---|---|---|---|
| 1 | #1 | United States | English | |
| 2 | #16 | United States | English | |
| 3 | #34 | United States | English | |
| 4 | #56 | United States | English | |
| 5 | #67 | United States | English | |
| 6 | #81 | Brazil | Brazilian Portuguese | |
| 7 | #94 | United States | English | |
| 8 | #97 | Brazil | Brazilian Portuguese | |
| 9 | #116 | United States | English | |
| 10 | vercel.com |
#117 | United States | English |
| 11 | #119 | Russia | Russian | |
| 12 | #122 | United States | British English | |
| 13 | #130 | United States | American English | |
| 14 | #135 | Cyprus | English | |
| 15 | United States | English | ||
| 16 | #145 | China | English | |
| 17 | tilda.cc |
#150 | United Arab Emirates | English |
| 18 | #154 | Russia | English | |
| 19 | #169 | United States | English | |
| 20 | #181 | Indonesia |
π Usage Statistics
Most of the sites that use XMLHttpRequest:
- are located in the United States
- have content in English
- use the .com domain extension
- fall into the Online Shopping category.
Most of the sites using XMLHttpRequest are from the United States, the United Kingdom, and Germany.
- United States 29.8%
- United Kingdom 7.5%
- Germany 7.4%
- Russia 5.3%
- Canada 3.9%
- Australia 3.8%
- India 3%
- Japan 2.9%
- France 2.9%
- Other 33.5%
Most XMLHttpRequest users speak English, Russian, or German.
- English 68.2%
- Russian 5%
- German 4.1%
- Spanish 3.2%
- French 2.8%
- Japanese 2.2%
- Italian 1.5%
- Dutch 1.4%
- Portuguese 1.3%
- Other 10.3%
The XMLHttpRequest browser API is especially popular on .com top-level domains.
- .com 54%
- .ru 3.8%
- .org 3.4%
- .de 3.1%
- .co.uk 2.9%
- .com.au 2.3%
- .net 2.3%
- .it 1.2%
- .ca 1.1%
- Other 25.9%
The primary market segments for websites utilizing XMLHttpRequest include online shopping, business, and marketing and merchandising.
- Online Shopping 25.3%
- Business 12.1%
- Marketing/Merchandising 11.5%
- Fashion/Beauty 7%
- Blogs/Wiki 5.3%
- Education/Reference 3.2%
- Internet Services 3.1%
- Entertainment 3.1%
- Health 2.7%
- Other 26.7%
π΅οΈ Similar Technologies
These are some of the best XMLHttpRequest alternatives.
π Compare Alternatives
Compare XMLHttpRequest toβ¦
- π΅οΈ Similar APIs
- β Market leaders
- π‘ More alternatives
- π All options
π¬ 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
nytimes.com.
Is XMLHttpRequest used on government websites?
In total, we found XMLHttpRequest on 996 government sites in the United States.
Do academic institutions use XMLHttpRequest?
Yes, quite a few! Overall, we know of 225 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.
π See Also
- β¨ Related technologies
- πΌ All technologies from
W3C
ποΈ About This Data
- We evaluate the popularity of technologies based on the number of websites where we detect their usage.
- Technologies without a detectable web footprint, and those we do not track, are not reflected in the calculated market share.
- This report is based on the analysis of 4,048,128 websites.
- Statistics were last calculated on .
- For more details, see our methodology and disclaimer.
Wikipedia
