Browser Support (Can I use + browserslist) API
Browser support of ~550 web features with global and per-country usage, browserslist queries, CSS checks against your target and User-Agent tests.
Look up browser support for about 550 web platform features from the Can I use database: feature= (an id like css-container-queries, webp, dialog, or a name such as "container queries") returns the spec status, each browser's current support, the version full support starts from, prefix / flag notes, links and the share of users with full or partial support worldwide and in a country (region=VN, any ISO code, or continents alt-as, alt-eu…). versions=all adds the whole version-by-version table; search= finds feature ids.
query= runs a browserslist query (> 0.5% in VN, last 2 versions, not dead, defaults, baseline widely available, supports css-has…) and returns the browser versions and their coverage worldwide and in the region of the query. features= (comma-separated) or css= (a CSS snippet — container queries, :has(), nesting, grid, oklch(), view transitions and ~90 other features are detected) checks each feature against the target and lists the versions that fail, with a fallback hint. ua= tells whether a User-Agent is inside the target and, with features=, what that browser supports.
Data: Can I use by Alexis Deveria (CC BY 4.0) with usage shares from StatCounter GlobalStats (CC BY-SA 3.0), refreshed weekly; queries run on browserslist (MIT). Attribution is included in every answer. One region per query.
Markdown · OpenAPI · Postman · llms.txt
Parameters
| Name | In | Type | Required | Default | |
|---|---|---|---|---|---|
feature | query | string | no | Feature id or name (e.g. css-container-queries, webp, "flexbox gap"). | |
search | query | string | no | Find feature ids by keyword. | |
query | query | string | no | browserslist query (max 500 characters); target for features / css / ua (default defaults). | |
features | body|query | string | no | Comma-separated features to check against query (max 100). | |
css | body | string | no | CSS snippet: features used are detected and checked against query. | |
ua | query | string | no | User-Agent string to test against query. | |
region | query | string | no | Country code (VN, US…) or alt-as / alt-eu / alt-na / alt-sa / alt-af / alt-oc / alt-ww for usage shares. | |
browsers | query | string | no | Limit the feature table to these browser ids (chrome, safari, ios_saf, firefox, edge, samsung, and_chr…). | |
versions | query | string | no | all: include the support of every version. | |
action | query | string | no | Optional: feature, search, query, check, ua or browsers (list of browsers with current versions). Inferred from the parameters. |
Example
curl "https://apibox.io.vn/v1/caniuse?feature=css-container-queries®ion=VN&browsers=chrome,safari,ios_saf,firefox" \
-H "Authorization: Bearer YOUR_API_KEY"const res = await fetch('https://apibox.io.vn/v1/caniuse?feature=css-container-queries®ion=VN&browsers=chrome,safari,ios_saf,firefox', {
method: 'GET',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
},
});
const data = await res.json();
console.log(data);import requests
res = requests.get(
"https://apibox.io.vn/v1/caniuse?feature=css-container-queries®ion=VN&browsers=chrome,safari,ios_saf,firefox",
headers={"Authorization": "Bearer YOUR_API_KEY"},
timeout=30,
)
print(res.json())<?php
$ch = curl_init('https://apibox.io.vn/v1/caniuse?feature=css-container-queries®ion=VN&browsers=chrome,safari,ios_saf,firefox');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer YOUR_API_KEY'],
]);
$response = curl_exec($ch);
print_r(json_decode($response, true));Response
{
"id": "css-container-queries",
"title": "CSS Container Queries (Size)",
"description": "Size queries in Container Queries provide a way to query the size of a container, and conditionally apply CSS to the content of that container.",
"spec": "https://www.w3.org/TR/css-contain-3/",
"status": "wd",
"status_name": "W3C Working Draft",
"categories": [
"CSS"
],
"keywords": "container query,@container,container-name,container-type",
"url": "https://caniuse.com/css-container-queries",
"usage": {
"global": {
"full": 95.96,
"partial": 0.07,
"total": 96.03
},
"region": {
"code": "VN",
"name": "Vietnam",
"month": "2026-10",
"full": 90.82,
"partial": 0.33,
"total": 91.15
}
},
"browsers": [
{
"id": "firefox",
"name": "Firefox",
"type": "desktop",
"current_version": "160",
"current": "yes",
"supported_since": "110"
},
{
"id": "chrome",
"name": "Chrome",
"type": "desktop",
"current_version": "157",
"current": "yes",
"supported_since": "106"
},
{
"id": "safari",
"name": "Safari",
"type": "desktop",
"current_version": "27.2",
"current": "yes",
"supported_since": "16.0"
},
{
"id": "ios_saf",
"name": "Safari on iOS",
"type": "mobile",
"current_version": "27.0",
"current": "yes",
"supported_since": "16.0"
}
],
"links": [
{
"url": "https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Container_Queries",
"title": "MDN article"
},
"…"
],
"fallback": "Use media queries as the baseline and wrap container rules in @supports (container-type: inline-size).",
"meta": {
"data_updated": "2026-11-11",
"features": 554
},
"source": {
"data": "Can I use (https://caniuse.com) by Alexis Deveria, CC BY 4.0",
"usage": "Usage share: StatCounter GlobalStats (https://gs.statcounter.com) via caniuse, CC BY-SA 3.0",
"queries": "browserslist (MIT)"
}
}
Use cases
- Decide whether a CSS / JS feature is safe for your Vietnamese audience
- Fail a CI build when the stylesheet uses features outside the browserslist target
- Show supported-browser requirements in product docs or a help desk bot
- Check a customer's User-Agent against your supported browsers
FAQ
Where do the usage numbers come from?
From the Can I use data, which uses StatCounter GlobalStats shares per browser version, worldwide and per country, refreshed weekly.
Does it support "> 1% in VN" queries?
Yes. Country and continent clauses are resolved from the same data; one region per query.
How is CSS detected?
A static scan maps properties, values, at-rules and selectors to Can I use ids (e.g. @container → css-container-queries). It does not parse JavaScript.
Related APIs
UUID Generator
Generate up to 1,000 UUID v4, time-ordered UUID v7, ULID, Nano ID or random hex IDs per request. Secure randomness, optional uppercase.
⏱Cron Expression Parser
Validate a cron expression and get its next run times in any timezone, with a plain-English description. Supports 5, 6 and 7-field cron syntax.
🕒Time & Timezone Converter
Get the current time in any timezone, convert between timezones and Unix timestamps (seconds or ms), with UTC offset and weekday for up to 30 zones.