Skip to content
GET /api/v1/check-mixed-content

Mixed Content Checker

Scan an HTTPS page for mixed content (HTTP resources)

Parameters

name in type required description
url query string required HTTPS URL to scan for mixed content

Request

Send your key in the X-API-Key header. More languages and patterns live on the code examples page.

curl -s "https://apixies.io/api/v1/check-mixed-content?url=https%3A%2F%2Fexample.com" \
  -H "X-API-Key: YOUR_API_KEY"

Response

The result sits under data in the standard envelope. See the response format guide for errors and status codes.

returns

data.mixed_content
Each insecure resource with URL, type, tag, severity and line.
data.has_mixed_content
True when the page loads anything over plain HTTP.
data.summary
Active and passive counts, plus resources by type.
data.mixed_content_count
Number of insecure resources found.
data.total_resources
Total resources scanned on the page.
data.is_https
False when the page itself isn't served over HTTPS.
example response 200
{
    "status": "success",
    "http_code": 200,
    "code": "SUCCESS",
    "message": "Mixed content check completed",
    "data": {
        "url": "https://example.com",
        "is_https": true,
        "has_mixed_content": false,
        "total_resources": 45,
        "mixed_content_count": 0,
        "mixed_content": [],
        "summary": {
            "active_mixed_content": 0,
            "passive_mixed_content": 0,
            "resource_types": {
                "scripts": 12,
                "stylesheets": 5,
                "images": 20,
                "fonts": 3,
                "media": 2,
                "iframes": 1,
                "other": 2
            }
        }
    }
}

Authentication and limits

This endpoint needs an API key. Use the sandbox ("try it" above) to test it without registering. See the authentication guide for details.

Standard rate limits apply to this endpoint.

More documentation

Get a free API key

A temporary key takes one click and no signup. Register and you get 75 requests/day. Free tier is for development & small projects.

cookies

We use analytics cookies to see how the site gets used. Nothing loads until you accept. Privacy policy