Website Security Grade API

Web security grade for each website you list: Mozilla Observatory letter grade and score, how many header and configuration tests passed or failed, scan time, and optionally HSTS preload list status.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usRecords, 9 fieldsv1.0

Data from observatory-api.mdn.mozilla.net

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Hosts
Website hostnames to grade, such as github.com. Web addresses are reduced to the hostname. One per line, or separated by commas.
Example: github.com
Include hsts preloadoptional
Also look up each host on the HSTS preload list.

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/website-security-grade/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/website-security-grade/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"hosts":["github.com"]},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

hostslistrequired
Website hostnames to grade, such as github.com. Web addresses are reduced to the hostname.
example: github.com
include_hsts_preloadyes/no
Also look up each host on the HSTS preload list.
default: falseexample: true

What's in each record

9 fields.

Basics

  • Host

    Hostname that was graded.

    Example github.com

  • Grade

    Letter grade from A+ to F.

    Example A+

  • Score

    Numeric score (can exceed 100 with bonus points).

    Example 115

  • Tests passed

    Number of tests passed.

    Example 11

  • Tests failed

    Number of tests failed.

    Example 1

  • Status code

    HTTP status the site answered with during the scan.

    Example 200

  • Hsts preload status

    HSTS preload list status; only when include_hsts_preload is on.

    Example preloaded

Dates

  • Scanned

    When the scan was made (UTC).

    Example Dec 6, 2026

Technical detailsField names and types for developers

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
hosttextHost3 of 3
gradetextGrade3 of 3
scorenumberScore3 of 3
tests_passednumberTests passed3 of 3
tests_failednumberTests failed3 of 3
status_codenumberStatus code3 of 3
scanned_atdate and timeScanned3 of 3
hsts_preload_statustextHsts preload status3 of 3
details_urllinkDetails link3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordHostGradeScoreTests passedTests failedStatus codeHsts preload statusScannedDetails link
1github.comA+115111200preloadedDec 6, 2026developer.mozilla.org/en-US/observatory/analyze?host=github.com
2mozilla.orgB+80111200unknownDec 6, 2026developer.mozilla.org/en-US/observatory/analyze?host=mozilla.org
3wikipedia.orgC5093200preloadedDec 6, 2026developer.mozilla.org/en-US/observatory/analyze?host=wikipedia.org

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • Grades web security headers and configuration (such as HTTPS redirects, CSP, cookies and HSTS) only; it is not a full security audit or vulnerability scan.
  • Mozilla caches scan results per host, so a repeat run soon after a change may return the earlier scan; check scanned_at.
  • Hosts must be public website hostnames (no paths, IP addresses or localhost). Hosts that cannot be scanned are skipped.
  • At most 200 hosts per run, read one at a time at about one scan every 1.5 seconds, so 200 hosts take around 10 minutes.
  • HSTS preload status comes from hstspreload.org (preloaded, pending, unknown) and is empty when you do not ask for it.
  • Data comes from the public Mozilla Observatory and hstspreload.org services. Not affiliated with or endorsed by Mozilla.

Version history

A run uses the live version unless the request names another one with version.