🆚 Fetch vs. XMLHttpRequest

Compare technologies based on real-world usage data *

Type

Browser API
Browser API

About

Fetch is a modern XMLHttpRequest alternative for fetching network resources.

XMLHttpRequest (XHR) is a JavaScript API to create HTTP requests.

Headquarters

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

Website

Categories

Browser APIs › Rank #3
Browser APIs › Rank #2

Popularity

Determined by the number of sites using each technology.

The XMLHttpRequest browser API is 1.3 times more popular than Fetch.
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, Germany, and the United Kingdom, while Fetch is more popular in India, Brazil, and Spain.
United States
Germany
United Kingdom
India
Canada
Russia
Australia
France
Japan
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 marketing and merchandising, while Fetch is more commonly used on Internet services, general news, and travel sites.
Online Shopping
Business
Marketing/Merchandising
Fashion/Beauty
Blogs/Wiki
Internet Services
Education/Reference
Entertainment
General News
Travel

Top sites

Top-ranked sites that use these technologies.

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

See also

* According to recent studies, many of online reviews are fake.
When making your decision, it is better to rely on data that cannot be falsified.
Our service evaluates the popularity of technologies by the number of websites using them.

Statistics were last calculated on .
For details, see our methodology and disclaimer.