# MDN HTTP Observatory API

Category: [Security related services](https://free-web-services.com/web-services/web-development/security/)  
Page: https://free-web-services.com/web-services/web-development/security/mdn-http-observatory-api.html  
Documentation: https://developer.mozilla.org/en-US/observatory/docs/api

**Temporarily not available** (since November 2026).

The MDN HTTP Observatory, run by Mozilla, checks how well a website uses security headers and settings such as Content-Security-Policy, HSTS, cookies, redirects and subresource integrity. Send a POST request with a host name and get back a score, a grade and a link to the full report. Responses are JSON. Free, no key needed.

- API key: Not needed
- Pricing: Free, no key needed.
- From the browser: Yes (CORS)
- Formats: JSON
- Interface: REST
- Provider: developer.mozilla.org

Example request:

```sh
curl -X POST 'https://observatory-api.mdn.mozilla.net/api/v2/scan?host=example.com'
```

The JavaScript works in a web page as well as in Node.js 18 or newer.

