Web Platform Baseline & Compatibility API
Pricing
from $1.00 / 1,000 feature checkeds
Web Platform Baseline & Compatibility API
Query live W3C/Chrome Web Platform Baseline status (Widely/Newly/Limited), browser ship versions across Chrome, Safari, Firefox & Edge, Web Platform Tests pass scores, and real-world usage telemetry for CSS, JS, and Web APIs—MCP-ready, zero keys.
Pricing
from $1.00 / 1,000 feature checkeds
Rating
0.0
(0)
Developer
RungLab
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
37 minutes ago
Last modified
Categories
Features
Share
Web Platform Baseline & Browser Compatibility API (WebStatus.dev)
Authoritative, real-time W3C / Chrome Web Platform Baseline & Browser Compatibility auditing API for AI coding agents, frontend architects, CI/CD policy gates, and browser-support compliance teams.
Queries the official WebStatus.dev v1 API (api.webstatus.dev) directly over HTTPS to return live Baseline status (widely / newly / limited), exact browser ship versions & release dates across Chrome, Chrome Android, Edge, Firefox, Firefox Android, Safari, and Safari iOS, Web Platform Tests (WPT) pass scores, real-world Chrome page-load usage telemetry, official W3C/WHATWG spec links, and actionable AI coding guidance — zero proxies, zero API keys, 128–256 MB RAM, MCP-ready.
Why Engineers & AI Coding Agents Use This Actor
- Stop Browser-Compatibility Hallucinations: AI coding agents frequently generate modern CSS or Web APIs (such as
anchor-positioningorview-transitions) without checking cross-browser support or fallbacks. Every record returnsbaselineStatus,policyCompliant,blockingBrowsers, and an actionableaiCodingGuidanceverdict. - Automated CI / Policy Gating (
widely/newly/none): SetpolicyTargetto"widely"(strict production default: 30+ months cross-browser interoperability),"newly"(modern evergreen browsers), or"none"(informational) to automatically flag non-compliant APIs and list exact blocking browsers. - Live Browser Ship Versions & Dates: Extracts exact ship versions and dates across all 7 Baseline core browser targets (
chrome,chrome_android,edge,firefox,firefox_android,safari,safari_ios). - Web Platform Tests (WPT) & Real-World Usage Telemetry: Surfaces per-browser stable & experimental WPT interoperability pass scores plus Chrome Platform Status daily page-load adoption percentages (
chromeUsagePct). - Structured WebStatus.dev Search + Deduplication: Combine explicit
featureIdswithsearchQuery(supports WebStatus.dev query syntax likebaseline_status:newly,group:css,anchor positioning) with automatic pagination and deduplication byfeatureId. - Zero-Config Start & Zero-Proxy Speed: Click Start immediately to audit
["grid", "popover", "container-queries", "view-transitions"]in ~1 second on 128–256 MB memory.
Input Configuration
| Parameter | Type | Default | Description |
|---|---|---|---|
featureIds | array<string> | ["grid", "popover", "container-queries", "view-transitions"] | WebStatus.dev feature IDs to audit. Defaults to ["grid", "popover", "container-queries", "view-transitions"] when omitted and searchQuery is empty. Pass [] with searchQuery to audit only search hits. |
searchQuery | string | "" | Optional WebStatus.dev search query (e.g., "baseline_status:newly", "popover", "anchor positioning", "group:css"). |
maxSearchResults | integer | 10 | Maximum features returned from searchQuery (1–100), with automatic page_token pagination. |
policyTarget | string | "widely" | Baseline compliance gate: "widely", "newly", or "none". |
compactMode | boolean | false | Return streamlined, token-efficient JSON optimized for Apify MCP and AI coding agents. |
timeoutSeconds | integer | 20 | Per-request HTTP timeout in seconds (3–120). |
Copy-Paste JSON Input (Default Showcase)
{"featureIds": ["grid", "popover", "container-queries", "view-transitions"],"policyTarget": "widely","compactMode": false}
Copy-Paste JSON Input (Search Only, MCP Compact Mode)
{"featureIds": [],"searchQuery": "baseline_status:newly","maxSearchResults": 10,"policyTarget": "newly","compactMode": true}
Example Output Record (popover under policyTarget: "widely")
{"featureId": "popover","name": "Popover","baselineStatus": "newly","baselineLowDate": "2025-01-27","baselineHighDate": null,"policyTarget": "widely","policyCompliant": false,"blockingBrowsers": [],"policyReason": "Fails 'widely' policy: feature is Baseline Newly Available since 2025-01-27 and has not yet reached the 30-month Widely Available threshold.","aiCodingGuidance": "POLICY BLOCKED FOR 'widely' TARGET (Baseline Newly Available since 2025-01-27): Shipped in Chrome 116+, Edge 116+, Firefox 125+, Safari 17+, Safari iOS 18.3+, but under 30 months old. Gate with feature detection (@supports / runtime check) or provide fallback unless targeting modern evergreen browsers.","chromeVersion": "116","edgeVersion": "116","firefoxVersion": "125","safariVersion": "17","safariIosVersion": "18.3","wptStableAvgPct": 84.2,"chromeUsagePct": 4.9,"primarySpecUrl": "https://html.spec.whatwg.org/multipage/popover.html","webStatusUrl": "https://webstatus.dev/features/popover"}
SDK & AI Agent Integration
Python (apify-client)
from apify_client import ApifyClientclient = ApifyClient("<YOUR_APIFY_TOKEN>")run = client.actor("YOUR_USERNAME/web-platform-baseline-api").call(run_input={"featureIds": ["grid", "popover", "container-queries", "view-transitions"],"policyTarget": "widely","compactMode": False,})for feat in client.dataset(run["defaultDatasetId"]).iterate_items():print(feat["featureId"], feat["baselineStatus"], feat["policyCompliant"], feat["aiCodingGuidance"])
Node.js / TypeScript (apify-client)
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: process.env.APIFY_TOKEN });const run = await client.actor('YOUR_USERNAME/web-platform-baseline-api').call({featureIds: [],searchQuery: 'anchor positioning',policyTarget: 'newly',compactMode: true,});const { items } = await client.dataset(run.defaultDatasetId).listItems();for (const feat of items) {console.log(`${feat.featureId} [${feat.baselineStatus}] compliant=${feat.policyCompliant}`);}
MCP Agent Configuration (Claude Code / Cursor / Windsurf via Apify MCP)
Expose this Actor as a live browser-compatibility & Baseline policy check tool inside your AI coding agent:
{"mcpServers": {"apify-web-baseline": {"url": "https://mcp.apify.com/?actors=YOUR_USERNAME/web-platform-baseline-api","headers": {"Authorization": "Bearer <YOUR_APIFY_TOKEN>"}}}}
Agent Tip: Pass
"compactMode": truewhen calling via MCP to keep payloads token-efficient while preservingbaselineStatus,policyCompliant,blockingBrowsers,aiCodingGuidance,browserVersions,wptStableAvgPct,chromeUsagePct, andprimarySpecUrl.
Pay-Per-Event (PPE) Pricing
| Event | Price | Description |
|---|---|---|
actor-start | $0.003 | Charged once per Actor run start. |
feature-checked | $0.001 | Charged once per audited Web Platform feature record pushed to the dataset. |
Runs respect your maximum PPE spending limit automatically and halt gracefully if reached, recording exact counts in the RUN_SUMMARY Key-Value Store record.
Authoritative Data Source
All data is fetched live over HTTPS from the official WebStatus.dev REST API (backed by W3C WebDX web-features, MDN browser-compat-data, Web Platform Tests wpt.fyi, and Chrome Platform Status) with zero scraping and zero proxies:
- Feature Lookup:
https://api.webstatus.dev/v1/features/{feature_id} - Feature Search & Pagination:
https://api.webstatus.dev/v1/features?q=...&page_size=...&page_token=...