# MDN Browser Compatibility Data Scraper: Web Feature Support (`parseforge/mdn-browser-compat-data-scraper`) Actor

Browser support for every web platform feature from MDN browser-compat-data: CSS, JavaScript, HTML, Web APIs, HTTP and more. Per browser version, status and spec links. No key.

- **URL**: https://apify.com/parseforge/mdn-browser-compat-data-scraper.md
- **Developed by:** [ParseForge](https://apify.com/parseforge) (community)
- **Categories:** Developer tools, Other, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.16 / 1,000 result rows

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

[![ParseForge](https://raw.githubusercontent.com/ParseForge/apify-assets/main/banner.jpg)](https://apify.com/parseforge?fpr=vmoqkp)

### MDN Browser Compatibility Data Scraper: Web Feature Support

**Which browser supports which CSS, JS, HTML or Web API feature, from the CC0 MDN compat dataset.** Browser support for every web platform feature from MDN browser-compat-data: CSS, JavaScript, HTML, Web APIs, HTTP and more. Per browser version, status and spec links. No key. Export to CSV, JSON, Excel or XML.

| Who uses it | What for |
|---|---|
| Developers and DevOps | Decide which CSS, JavaScript and Web API features are safe to ship for your browser targets. |
| Analysts and researchers | Build compatibility tables, lint rules or documentation without parsing a 20 MB file. |
| Data teams | Find deprecated and experimental features in a code base audit. |

### What it does

The Actor downloads the public dataset once per run, applies your filters and returns one flat row per record, ready to sort, filter and load anywhere.

- No login, no API key, no cookies.
- Polite requests: a clear User-Agent, a handful of requests per run, bounded retries.
- Every row carries `dataSource`, `dataLicense` and `sourceUrl` so the license travels with the data.
- Empty or invalid input finishes cleanly with zero rows and a clear message in the run status.

### Input

| Field | Type | Description |
|---|---|---|
| `category` | string | Part of the web platform to read: Web APIs, CSS, HTML, HTTP, JavaScript, MathML, SVG, WebAssembly, WebDriver or WebExtensions. |
| `query` | string | Keep only features whose dotted path contains this text, for example "grid", "fetch", "css.properties.container" or "Array.prototype". |
| `status` | string | Keep only standard, experimental or deprecated features. |
| `maxItems` | integer | Maximum rows to return. Free users get a 10 item preview. Default 100, maximum 1,000,000. |

#### Examples

**Support for CSS grid features**

```json
{
  "category": "css",
  "query": "grid",
  "maxItems": 50
}
```

**Deprecated Web APIs**

```json
{
  "category": "api",
  "status": "deprecated",
  "maxItems": 200
}
```

**The fetch API**

```json
{
  "category": "api",
  "query": "fetch",
  "maxItems": 20
}
```

### Output

One row per record. Example:

```json
{
  "path": "css.properties.grid",
  "category": "css",
  "status": "standard",
  "mdnUrl": "https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/grid",
  "support": {
    "chrome": "57",
    "firefox": "52",
    "safari": "10.1",
    "edge": "16"
  }
}
```

| Field | Meaning |
|---|---|
| `path` | Dotted feature path, for example css.properties.grid |
| `category` | Top level category |
| `mdnUrl` | MDN documentation page |
| `specUrls` | Specification links |
| `description` | Feature description when provided |
| `status` | standard, experimental, deprecated or non-standard |
| `isStandardTrack` | On the standards track |
| `isExperimental` | Marked experimental |
| `isDeprecated` | Marked deprecated |
| `support` | Object with the first supported version per browser (chrome, edge, firefox, safari, opera, mobile and WebView variants), or "no" / "unknown" |
| `tags` | web-features tags |
| `dataVersion` | Version of the @mdn/browser-compat-data package |
| `dataSource` | Data source name |
| `dataLicense` | Data license (CC0-1.0) |
| `sourceUrl` | Source URL |
| `scrapedAt` | ISO timestamp of the run |

### Data source, license and attribution

The data is the @mdn/browser-compat-data package, released under CC0 1.0 (public domain, see https://github.com/mdn/browser-compat-data/blob/main/LICENSE). The Actor downloads the published package file once per run from the jsDelivr CDN, which serves npm packages for free.

**Attribution.** Data: MDN browser-compat-data, CC0 1.0 (public domain). Source: https://github.com/mdn/browser-compat-data

### FAQ

**Do I need an API key?** No.

**What happens when nothing matches?** The run succeeds with 0 rows and a clear message. You are only charged the platform start fee, never for rows that were not delivered.

**What happens if the source blocks or fails?** The Actor retries a few times with pauses. If the source keeps refusing, the run fails with an honest message. It never tries to get around a block.

**How fresh is the data?** Every run reads the live source, so it is as fresh as the publisher makes it.

**Can I use it commercially?** The license above decides. Keep the attribution when you redistribute the data.

### Support

Questions or a missing field? Open an issue from the Actor page, or rate the Actor after your run: it helps a lot.

# Actor input Schema

## `category` (type: `string`):

Part of the web platform to read: Web APIs, CSS, HTML, HTTP, JavaScript, MathML, SVG, WebAssembly, WebDriver or WebExtensions.

## `query` (type: `string`):

Keep only features whose dotted path contains this text, for example "grid", "fetch", "css.properties.container" or "Array.prototype".

## `status` (type: `string`):

Keep only standard, experimental or deprecated features.

## `maxItems` (type: `integer`):

Maximum rows to return. Free users: limited to 10 items (preview). Paid users: optional, up to 1,000,000. Default 100.

## Actor input object example

```json
{
  "category": "css",
  "query": "grid",
  "status": "any",
  "maxItems": 10
}
```

# Actor output Schema

## `overview` (type: `string`):

Key fields

## `fullData` (type: `string`):

Complete dataset with all 16 fields

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "query": "grid",
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("parseforge/mdn-browser-compat-data-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "query": "grid",
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("parseforge/mdn-browser-compat-data-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "query": "grid",
  "maxItems": 10
}' |
apify call parseforge/mdn-browser-compat-data-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,parseforge/mdn-browser-compat-data-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/BtfCiyoX7T9sDj0f6/builds/M4Td2bwQTDiHn9rvh/openapi.json
