# Scrapfly Documentation

## Table of Contents

### Dashboard

- [Intro](https://scrapfly.io/docs)
- [Project](https://scrapfly.io/docs/project)
- [Account](https://scrapfly.io/docs/account)
- [Workspace & Team](https://scrapfly.io/docs/workspace-and-team)
- [Billing](https://scrapfly.io/docs/billing)

### Products

#### MCP Server

- [Getting Started](https://scrapfly.io/docs/mcp/getting-started)
- [Tools & API Spec](https://scrapfly.io/docs/mcp/tools)
- [Authentication](https://scrapfly.io/docs/mcp/authentication)
- [Examples & Use Cases](https://scrapfly.io/docs/mcp/examples)
- [FAQ](https://scrapfly.io/docs/mcp/faq)
##### Integrations

- [Overview](https://scrapfly.io/docs/mcp/integrations)
- [Claude Desktop](https://scrapfly.io/docs/mcp/integrations/claude-desktop)
- [Claude Code](https://scrapfly.io/docs/mcp/integrations/claude-code)
- [ChatGPT](https://scrapfly.io/docs/mcp/integrations/chatgpt)
- [Cursor](https://scrapfly.io/docs/mcp/integrations/cursor)
- [Cline](https://scrapfly.io/docs/mcp/integrations/cline)
- [Windsurf](https://scrapfly.io/docs/mcp/integrations/windsurf)
- [Zed](https://scrapfly.io/docs/mcp/integrations/zed)
- [Roo Code](https://scrapfly.io/docs/mcp/integrations/roo-code)
- [VS Code](https://scrapfly.io/docs/mcp/integrations/vscode)
- [LangChain](https://scrapfly.io/docs/mcp/integrations/langchain)
- [LlamaIndex](https://scrapfly.io/docs/mcp/integrations/llamaindex)
- [CrewAI](https://scrapfly.io/docs/mcp/integrations/crewai)
- [OpenAI](https://scrapfly.io/docs/mcp/integrations/openai)
- [n8n](https://scrapfly.io/docs/mcp/integrations/n8n)
- [Make](https://scrapfly.io/docs/mcp/integrations/make)
- [Zapier](https://scrapfly.io/docs/mcp/integrations/zapier)
- [Vapi AI](https://scrapfly.io/docs/mcp/integrations/vapi)
- [Agent Builder](https://scrapfly.io/docs/mcp/integrations/agent-builder)
- [Custom Client](https://scrapfly.io/docs/mcp/integrations/custom-client)


#### Web Scraping API

- [Getting Started](https://scrapfly.io/docs/scrape-api/getting-started)
- [API Specification]()
- [Monitoring](https://scrapfly.io/docs/monitoring)
- [Customize Request](https://scrapfly.io/docs/scrape-api/custom)
- [Debug](https://scrapfly.io/docs/scrape-api/debug)
- [Unblocker (formerly ASP)](https://scrapfly.io/docs/scrape-api/unblocker)
- [Proxy](https://scrapfly.io/docs/scrape-api/proxy)
- [Proxy Mode](https://scrapfly.io/docs/scrape-api/proxy-mode)
- [Proxy Mode - Screaming Frog](https://scrapfly.io/docs/scrape-api/proxy-mode/screaming-frog)
- [Proxy Mode - Apify](https://scrapfly.io/docs/scrape-api/proxy-mode/apify)
- [(Auto) Data Extraction](https://scrapfly.io/docs/scrape-api/extraction)
- [Javascript Rendering](https://scrapfly.io/docs/scrape-api/javascript-rendering)
- [Javascript Scenario](https://scrapfly.io/docs/scrape-api/javascript-scenario)
- [SSL](https://scrapfly.io/docs/scrape-api/ssl)
- [DNS](https://scrapfly.io/docs/scrape-api/dns)
- [Cache](https://scrapfly.io/docs/scrape-api/cache)
- [Batch (Multi-URL Scraping)](https://scrapfly.io/docs/scrape-api/batch)
- [Session](https://scrapfly.io/docs/scrape-api/session)
- [Webhook](https://scrapfly.io/docs/scrape-api/webhook)
- [Schedule](https://scrapfly.io/docs/scrape-api/schedule)
- [Screenshot](https://scrapfly.io/docs/scrape-api/screenshot)
- [Errors](https://scrapfly.io/docs/scrape-api/errors)
- [Timeout](https://scrapfly.io/docs/scrape-api/understand-timeout)
- [Throttling](https://scrapfly.io/docs/throttling)
- [Troubleshoot](https://scrapfly.io/docs/scrape-api/troubleshoot)
- [Billing](https://scrapfly.io/docs/scrape-api/billing)
- [FAQ](https://scrapfly.io/docs/scrape-api/faq)

#### Crawler API

- [Getting Started](https://scrapfly.io/docs/crawler-api/getting-started)
- [API Specification]()
- [Retrieving Results](https://scrapfly.io/docs/crawler-api/results)
- [WARC Format](https://scrapfly.io/docs/crawler-api/warc-format)
- [Data Extraction](https://scrapfly.io/docs/crawler-api/extraction-rules)
- [Search](https://scrapfly.io/docs/crawler-api/search)
- [Prompt & Extract](https://scrapfly.io/docs/crawler-api/prompt)
- [Auto Refresh](https://scrapfly.io/docs/crawler-api/refresh)
- [Webhook](https://scrapfly.io/docs/crawler-api/webhook)
- [Schedule](https://scrapfly.io/docs/crawler-api/schedule)
- [Billing](https://scrapfly.io/docs/crawler-api/billing)
- [Errors](https://scrapfly.io/docs/crawler-api/errors)
- [Troubleshoot](https://scrapfly.io/docs/crawler-api/troubleshoot)
- [FAQ](https://scrapfly.io/docs/crawler-api/faq)

#### Screenshot API

- [Getting Started](https://scrapfly.io/docs/screenshot-api/getting-started)
- [API Specification]()
- [Accessibility Testing](https://scrapfly.io/docs/screenshot-api/accessibility)
- [Webhook](https://scrapfly.io/docs/screenshot-api/webhook)
- [Schedule](https://scrapfly.io/docs/screenshot-api/schedule)
- [Billing](https://scrapfly.io/docs/screenshot-api/billing)
- [Errors](https://scrapfly.io/docs/screenshot-api/errors)

#### Extraction API

- [Getting Started](https://scrapfly.io/docs/extraction-api/getting-started)
- [API Specification]()
- [Rules Template](https://scrapfly.io/docs/extraction-api/rules-and-template)
- [LLM Extraction](https://scrapfly.io/docs/extraction-api/llm-prompt)
- [AI Auto Extraction](https://scrapfly.io/docs/extraction-api/automatic-ai)
- [Webhook](https://scrapfly.io/docs/extraction-api/webhook)
- [Billing](https://scrapfly.io/docs/extraction-api/billing)
- [Errors](https://scrapfly.io/docs/extraction-api/errors)
- [FAQ](https://scrapfly.io/docs/extraction-api/faq)

#### Data API


#### Proxy Saver

- [Getting Started](https://scrapfly.io/docs/proxy-saver/getting-started)
- [Fingerprints](https://scrapfly.io/docs/proxy-saver/fingerprints)
- [Optimizations](https://scrapfly.io/docs/proxy-saver/optimizations)
- [SSL Certificates](https://scrapfly.io/docs/proxy-saver/certificates)
- [Protocols](https://scrapfly.io/docs/proxy-saver/protocols)
- [Pacfile](https://scrapfly.io/docs/proxy-saver/pacfile)
- [Secure Credentials](https://scrapfly.io/docs/proxy-saver/security)
- [Billing](https://scrapfly.io/docs/proxy-saver/billing)

#### Cloud Browser API

- [Getting Started](https://scrapfly.io/docs/cloud-browser-api/getting-started)
- [Proxy & Geo-Targeting](https://scrapfly.io/docs/cloud-browser-api/proxy)
- [Unblock API](https://scrapfly.io/docs/cloud-browser-api/unblock)
- [Captcha Solver](https://scrapfly.io/docs/cloud-browser-api/captcha-solver)
- [File Downloads](https://scrapfly.io/docs/cloud-browser-api/file-downloads)
- [Session Resume](https://scrapfly.io/docs/cloud-browser-api/session-resume)
- [Human-in-the-Loop](https://scrapfly.io/docs/cloud-browser-api/human-in-the-loop)
- [Debug Mode](https://scrapfly.io/docs/cloud-browser-api/debug-mode)
- [Browser Extensions](https://scrapfly.io/docs/cloud-browser-api/extensions)
- [Credential Vault](https://scrapfly.io/docs/cloud-browser-api/credential-vault)
- [Native Browser MCP](https://scrapfly.io/docs/cloud-browser-api/mcp)
- [DevTools Protocol](https://scrapfly.io/docs/cloud-browser-api/cdp-reference)
##### Integrations

- [Puppeteer](https://scrapfly.io/docs/cloud-browser-api/puppeteer)
- [Playwright](https://scrapfly.io/docs/cloud-browser-api/playwright)
- [Selenium](https://scrapfly.io/docs/cloud-browser-api/selenium)
- [Vercel Agent Browser](https://scrapfly.io/docs/cloud-browser-api/agent-browser)
- [Browser Use](https://scrapfly.io/docs/cloud-browser-api/browser-use)
- [Stagehand](https://scrapfly.io/docs/cloud-browser-api/stagehand)
- [1Password](https://scrapfly.io/docs/cloud-browser-api/1password)

- [Billing](https://scrapfly.io/docs/cloud-browser-api/billing)
- [Errors](https://scrapfly.io/docs/cloud-browser-api/errors)


### Tools

- [Antibot Detector](https://scrapfly.io/docs/tools/antibot-detector)

### SDK

- [Golang](https://scrapfly.io/docs/sdk/golang)
- [PHP](https://scrapfly.io/docs/sdk/php)
- [Python](https://scrapfly.io/docs/sdk/python)
- [Rust](https://scrapfly.io/docs/sdk/rust)
- [TypeScript](https://scrapfly.io/docs/sdk/typescript)
- [Scrapy](https://scrapfly.io/docs/sdk/scrapy)

### Integrations

- [Getting Started](https://scrapfly.io/docs/integration/getting-started)
- [LangChain](https://scrapfly.io/docs/integration/langchain)
- [LlamaIndex](https://scrapfly.io/docs/integration/llamaindex)
- [CrewAI](https://scrapfly.io/docs/integration/crewai)
- [Zapier](https://scrapfly.io/docs/integration/zapier)
- [Make](https://scrapfly.io/docs/integration/make)
- [n8n](https://scrapfly.io/docs/integration/n8n)

### Academy

- [Overview](https://scrapfly.io/academy)
- [Web Scraping Overview](https://scrapfly.io/academy/scraping-overview)
- [Tools](https://scrapfly.io/academy/tools-overview)
- [Reverse Engineering](https://scrapfly.io/academy/reverse-engineering)
- [Static Scraping](https://scrapfly.io/academy/static-scraping)
- [HTML Parsing](https://scrapfly.io/academy/html-parsing)
- [Dynamic Scraping](https://scrapfly.io/academy/dynamic-scraping)
- [Hidden API Scraping](https://scrapfly.io/academy/hidden-api-scraping)
- [Headless Browsers](https://scrapfly.io/academy/headless-browsers)
- [Hidden Web Data](https://scrapfly.io/academy/hidden-web-data)
- [JSON Parsing](https://scrapfly.io/academy/json-parsing)
- [Data Processing](https://scrapfly.io/academy/data-processing)
- [Scaling](https://scrapfly.io/academy/scaling)
- [Walkthrough Summary](https://scrapfly.io/academy/walkthrough-summary)
- [Scraper Blocking](https://scrapfly.io/academy/scraper-blocking)
- [Proxies](https://scrapfly.io/academy/proxies)

---

# SSL

 [SSL](https://scrapfly.io/docs/scrape-api/getting-started#api_param_ssl) feature is very straightforward - it collects information about the SSL certificate of the scraped page. It can be a useful tool for monitoring certificate changes, expiration dates and validity.

> Note that enabling SSL may slow down scraping speed.

 SSL details can also be found in the monitoring dashboard logs under the `SSL` tab:

 sll details on the monitoring logs page

## Usage

 To use SSL feature the [SSL](https://scrapfly.io/docs/scrape-api/getting-started#api_param_ssl) parameter can be enabled on any Scrapfly scrape request. This will include SSL details in the `result.ssl` field:

 [Curl](#player-f13407) [HTTP](#http-f13407)

```
curl -G \
--request "GET" \
--url "https://api.scrapfly.io/scrape" \
--data-urlencode 'ssl=true' \
--data-urlencode 'key=__API_KEY__' \
--data-urlencode 'url=https://web-scraping.dev/'
```

```
https://api.scrapfly.io/scrape?ssl=true&key=&url=https%3A%2F%2Fweb-scraping.dev%2F
```

### Example Of Response

```
...
"result": {
    ...,
    "ssl": {
        "certs": [
            {
                "algorithm": "ecdsa-with-SHA384",
                "extensions": {
                    "authorityInfoAccess": "caIssuers:http://ye2.i.lencr.org/",
                    "authorityKeyIdentifier": "keyid:B9:59:F2:8E:CF:22:F0:86:D3:37:48:FF:76:14:18:BA:82:D8:55:87",
                    "basicConstraints": "CA:FALSE",
                    "cRLDistributionPoints": "URI:http://ye2.c.lencr.org/8.crl",
                    "certificatePolicies": "2.23.140.1.2.1",
                    "extendedKeyUsage": "serverAuth",
                    "keyUsage": "digital_signature",
                    "signedCertificateTimestampList": "log_id:44:C2:BD:0C:E9:14:0E:64:A5:C9:4A:01:93:0A:5A:A1:BB:35:97:0E:00:EE:11:16:89:68:2A:1C:44:D7:B5:66 timestamp:2026-10-27T13:27:20.384Z, log_id:A2:81:00:18:73:4E:17:6E:1D:47:E0:95:40:F3:81:BA:54:66:97:CD:63:A8:43:50:71:6E:B8:09:4E:DA:F1:0D timestamp:2026-10-27T13:27:21.088Z",
                    "subjectAltName": "DNS:*.web-scraping.dev, DNS:web-scraping.dev",
                    "subjectKeyIdentifier": "F4:01:0F:37:4E:12:69:21:78:E6:3D:2D:77:D1:C4:FB:DB:18:29:99"
                },
                "issuer": {
                    "C": "US",
                    "CN": "YE2",
                    "O": "Let's Encrypt"
                },
                "public_key": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEfZKiTh8tuF348MT03bnfzD1M0LPD\nzKhqzVTIuVxHQlt38DyR3vk+mjEIwJCxr37Tfmimdk2IXO1kqYVFnc6egQ==\n-----END PUBLIC KEY-----\n",
                "serial_number": "557775193006618146912485265434523051753479",
                "subject": {
                    "CN": "*.web-scraping.dev"
                },
                "subject_name_hash": 3846366259,
                "validity_period": {
                    "not_valid_after": "2027-01-25 12:28:49",
                    "not_valid_before": "2026-10-27 12:28:50"
                },
                "version": "2"
            },
            {
                "algorithm": "ecdsa-with-SHA384",
                "extensions": {
                    "authorityInfoAccess": "caIssuers:http://ye.i.lencr.org/",
                    "authorityKeyIdentifier": "keyid:A3:C8:26:5A:8E:A1:4C:D0:35:63:FC:9B:23:C8:3A:AE:56:F3:4F:56",
                    "basicConstraints": "CA:TRUE, pathlen:0",
                    "cRLDistributionPoints": "URI:http://ye.c.lencr.org/",
                    "certificatePolicies": "2.23.140.1.2.1",
                    "extendedKeyUsage": "serverAuth",
                    "keyUsage": "digital_signature, key_cert_sign, crl_sign",
                    "subjectKeyIdentifier": "B9:59:F2:8E:CF:22:F0:86:D3:37:48:FF:76:14:18:BA:82:D8:55:87"
                },
                "issuer": {
                    "C": "US",
                    "CN": "Root YE",
                    "O": "ISRG"
                },
                "public_key": "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEcZq0M5HWxBC9zKl7d3SULbWHOO2sZHQ0\nx7neUz6jNs+bkg+XJpNFqx5Vl755b6gS6ogd+JJbsSG5jMgIqt/2A+nvNP71dufS\nvF0CHYxV5aGDmtJiFO9X+x0NPT72A5cP\n-----END PUBLIC KEY-----\n",
                "serial_number": "103615881233243919450438579527522644245",
                "subject": {
                    "C": "US",
                    "CN": "YE2",
                    "O": "Let's Encrypt"
                },
                "subject_name_hash": 1920894520,
                "validity_period": {
                    "not_valid_after": "2028-09-02 23:59:59",
                    "not_valid_before": "2025-09-03 00:00:00"
                },
                "version": "2"
            },
            {
                "algorithm": "ecdsa-with-SHA384",
                "extensions": {
                    "authorityInfoAccess": "caIssuers:http://x2.i.lencr.org/",
                    "authorityKeyIdentifier": "keyid:7C:42:96:AE:DE:4B:48:3B:FA:92:F8:9E:8C:CF:6D:8B:A9:72:37:95",
                    "basicConstraints": "CA:TRUE",
                    "cRLDistributionPoints": "URI:http://x2.c.lencr.org/",
                    "certificatePolicies": "2.23.140.1.2.1",
                    "extendedKeyUsage": "serverAuth",
                    "keyUsage": "key_cert_sign, crl_sign",
                    "subjectKeyIdentifier": "A3:C8:26:5A:8E:A1:4C:D0:35:63:FC:9B:23:C8:3A:AE:56:F3:4F:56"
                },
                "issuer": {
                    "C": "US",
                    "CN": "ISRG Root X2",
                    "O": "Internet Security Research Group"
                },
                "public_key": "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEPBL/q+GtxWpxsGj7CB0jd/Cf3HsM0kk5\nj+VM62LS+TC5E3ztGESFMfXsTtfIWNaw9iEg+3/DM6rFN3Zv7hkk3L0gPThjLAX1\nTnNqwNXIZI0StU23Py5IaHmLNbzuPvsZ\n-----END PUBLIC KEY-----\n",
                "serial_number": "179619193732476545641173103431506703674",
                "subject": {
                    "C": "US",
                    "CN": "Root YE",
                    "O": "ISRG"
                },
                "subject_name_hash": 2396544742,
                "validity_period": {
                    "not_valid_after": "2032-09-02 23:59:59",
                    "not_valid_before": "2026-05-13 00:00:00"
                },
                "version": "2"
            },
            {
                "algorithm": "sha256WithRSAEncryption",
                "extensions": {
                    "authorityInfoAccess": "caIssuers:http://x1.i.lencr.org/",
                    "authorityKeyIdentifier": "keyid:79:B4:59:E6:7B:B6:E5:E4:01:73:80:08:88:C8:1A:58:F6:E9:9B:6E",
                    "basicConstraints": "CA:TRUE",
                    "cRLDistributionPoints": "URI:http://x1.c.lencr.org/",
                    "certificatePolicies": "2.23.140.1.2.1",
                    "extendedKeyUsage": "serverAuth, clientAuth",
                    "keyUsage": "key_cert_sign, crl_sign",
                    "subjectKeyIdentifier": "7C:42:96:AE:DE:4B:48:3B:FA:92:F8:9E:8C:CF:6D:8B:A9:72:37:95"
                },
                "issuer": {
                    "C": "US",
                    "CN": "ISRG Root X1",
                    "O": "Internet Security Research Group"
                },
                "public_key": "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEzZvVn4CDCuwJSvMWSj5cz3es3mcFDR0H\nttwW+1qLFNvicWDEukWVEYmO6gbf9yoWHKS5xcUy4APgHoIYOIvXRdgKam7mAHf7\nAlF9ItgKbppbd9/w+kHsOdx1ymgHDB/q\n-----END PUBLIC KEY-----\n",
                "serial_number": "144299725964134815114551462777128548813",
                "subject": {
                    "C": "US",
                    "CN": "ISRG Root X2",
                    "O": "Internet Security Research Group"
                },
                "subject_name_hash": 194757682,
                "validity_period": {
                    "not_valid_after": "2032-09-02 23:59:59",
                    "not_valid_before": "2026-05-13 00:00:00"
                },
                "version": "2"
            }
        ],
        "metadata": {
            "access": [
                "caIssuers"
            ],
            "cn": "*.web-scraping.dev",
            "expire": "2027-01-25 12:28:49",
            "issuer": "YE2",
            "san": [
                {
                    "name": "*.web-scraping.dev",
                    "type": "DNS"
                },
                {
                    "name": "web-scraping.dev",
                    "type": "DNS"
                }
            ],
            "usage": [
                "digital_signature",
                "serverAuth"
            ],
            "validity": true
        },
        "notice": [],
        "protocol": {
            "cipher": "TLS_AES_128_GCM_SHA256",
            "protocol": "TLSv1.3"
        }
    },
    ...
}
...

```

## Fields

 `result.ssl` holds four fields, all in the example response above:

- `certs` - the certificates the site sent, the leaf certificate first. Each one holds:
    - `validity_period` - `not_valid_before` and `not_valid_after`, in UTC, as `YYYY-MM-DD HH:MM:SS`.
    - `version` - the version field of the certificate, as a string. `"2"` is X.509 version 3.
    - `serial_number` - the serial number, as a decimal string.
    - `subject_name_hash` - OpenSSL's hash of the subject name, as an integer.
    - `algorithm` - the signature algorithm, for example `ecdsa-with-SHA384`.
    - `issuer` and `subject` - the attributes of each name, under OpenSSL's short names such as `C`, `ST`, `L`, `O`, `OU` and `CN`.
    - `extensions` - one line of text per extension, under the name of the extension (its dotted OID when it has no name), described below.
    - `public_key` - the public key of the certificate, as PEM.
- `protocol` - `cipher`, the cipher suite of the connection, and `protocol`, its TLS version, for example `TLS_AES_128_GCM_SHA256` and `TLSv1.3`.
- `metadata` - the checks of the leaf certificate:
    - `validity` - `true` when the leaf certificate is valid today and its chain ends in a root the scraper holds. Otherwise `false`, and `notice` gives the reason.
    - `expire` - the end of the validity period of the leaf certificate, in UTC.
    - `cn` and `issuer` - the common name of the leaf certificate and of its issuer.
    - `san` - the subject alternative names, each as `type` (`DNS` or `IP`) and `name`.
    - `usage` - the key usages and extended key usages of the leaf certificate.
    - `access` - the methods of its authority information access extension, such as `caIssuers`.
- `notice` - what the checks found, described in the next section.

### Extensions

 Each extension is one line of text, with its values separated by commas:

- `subjectKeyIdentifier` - uppercase hex pairs joined by colons.
- `authorityKeyIdentifier` - `keyid:` and the hex identifier, then `issuer:` and `serial:` when the certificate names them.
- `keyUsage` - the names of the usages it sets, such as `digital_signature` and `key_cert_sign`.
- `extendedKeyUsage` - the purposes it allows, such as `serverAuth` and `clientAuth`.
- `basicConstraints` - `CA:TRUE` or `CA:FALSE`, then `pathlen:` and the length when the certificate sets one.
- `subjectAltName` - each name with its kind in front, such as `DNS:`, `IP Address:`, `email:` and `URI:`. Other kinds read `DirName:` and the distinguished name, `Registered ID:` and the dotted OID, and `othername:` followed by the OID and the hex of the value.
- `authorityInfoAccess` - each method and its address, such as `OCSP:http://...` and `caIssuers:http://...`.
- `cRLDistributionPoints` - the names of each distribution point, such as `URI:http://...`.
- `certificatePolicies` - the policy identifiers, as dotted OIDs.
- `signedCertificateTimestampList` - one `log_id:` and `timestamp:` pair per timestamp: the hex identifier of the log, and the time in UTC to the millisecond.
- Other extensions with a defined structure are written as their fields: `issuerAltName` like `subjectAltName`, `nameConstraints` as `permitted:` and `excluded:` names, `policyConstraints`, `inhibitAnyPolicy`, `privateKeyUsagePeriod` (`notBefore:` and `notAfter:`) and the TLS feature names. An extension the engine has no description for is the hex of its value, under its dotted OID when it has no name.

## Notices

 Each item of `result.ssl.notice` reports something about the certificate chain the site sent. It holds a `severity`, `warning` or `error`, and a `message`. An empty list means there is nothing to report. The `SSL` tab of the monitoring log shows every notice with its severity.

```
"notice": [
    {
        "severity": "warning",
        "message": "The leaf certificate has the serial number 0, which RFC 5280 disallows"
    },
    {
        "severity": "error",
        "message": "Certificate 3 of the chain could not be read"
    }
]

```

- `error` - the checks of the leaf certificate failed: its validity period does not include today (`Your certificate has expired`, also reported for a certificate that is not valid yet), or its chain does not end in a root the scraper holds (a self-signed certificate, a private certificate authority, an intermediate certificate the site did not send). The message is the reason OpenSSL gives, for example `self-signed certificate in certificate chain` or `unable to get local issuer certificate`. `metadata.validity` is then `false`.
- `warning` - the certificate is reported, but something about it is unusual or missing. A serial number of 0 or below, which RFC 5280 disallows, is reported as the site sent it in `serial_number`. A certificate that could only be partly read comes with an empty `subject` and `issuer` (then `metadata.cn` and `metadata.issuer` are `null`), or with an empty `extensions` and a `null` `algorithm`. A warning does not change `metadata.validity`.
- `error` - a certificate that could not be read at all (`Certificate 3 of the chain could not be read`) is named by its place in the chain, the leaf being the first, and is left out of `certs`. When the leaf is the one that could not be read, `metadata` is empty; otherwise `metadata.validity` keeps the verdict of the leaf checks.

> `certs` can be shorter than the chain, so its first item is the leaf certificate only when no notice says the leaf could not be read. The checks of the leaf certificate are in `metadata` (`expire`, `validity`, `cn`, `issuer`, `san`, `usage` and `access`), which is empty when the leaf could not be read or when its checks did not run. Read the expiry date of the site's certificate from `metadata.expire`.

## Pricing

 No additional fee is applied on usage.
