View as Markdown

API Documentation

Scan URLs from your own code. Requests authenticate with an API key, and results are grouped into six dimensions.

Quick Start

  1. Create an API key under Settings, API Keys. Your plan must include API access, which the Free plan does not.
  2. Send POST /api/v1/scans with a URL. The response holds a linkId.
  3. Read GET /api/v1/scans/:id until status is completed or failed, or receive the result through a webhook.

Base URL: https://sidex.id

Authentication

Send your API key as a bearer token on every request. Keys start with sidx_.

Header
Authorization: Bearer sidx_YOUR_API_KEY
ScopeAllows
read_onlyList and read scans
read_and_writeList, read, create, and delete scans

Rate Limits

RequestsLimit
/api/v1/scans and /api/v1/scans/:id60 per minute, per API key
/api/v1/bulk10 per minute, per API key

Responses carry X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset (Unix timestamp). Over the limit, the API returns 429 with a Retry-After header. Your plan's monthly and hourly scan quotas also return 429 when used up.

Response Format

Every response is JSON with status and msg. Results are in data, lists add total, and validation failures add errors.

A scan groups its results into six dimensions. A dimension your plan does not include is returned as null.

DimensionContainsPlans
securityVerdict, threat score, threat confidences, SSL, brand impersonationAll plans
trustSSL chain, domain WHOIS for the final and original domainAll plans
contentPage title, language, forms, gambling and adult contentStarter, Pro, Enterprise
businessCompany, business type, industryPro, Enterprise
insightAI summary, key findings, risk factors, recommendationsPro, Enterprise
technicalHTTP status, IPs, ASN, network requests, technologiesEnterprise

security.treatLevel is the verdict, and security.threatScore is the number behind it, from 0 (safest) to 1 (most dangerous). The dashboard shows the same score multiplied by 10.

treatLevelthreatScoreDashboard
safeBelow 0.20.0 to 1.9
warning0.2 to 0.592.0 to 5.9
danger0.6 and above6.0 to 10.0

Endpoints

Create Single Scan

POST /api/v1/scans

Queue one URL for scanning. The response returns right away, with the id to read the result from.

Required scope: read_and_write

ParameterTypeRequiredDescription
urlstringYesThe URL to scan. https:// is added if missing.
scanTypestringNo"quick" (default, URL and domain only) or "deep" (crawls the page)
timeoutnumberNoScan timeout in seconds. Default 30, maximum 60.
Request body
{
  "url": "https://example.com",
  "scanType": "deep",
  "timeout": 60
}
Response
{
  "msg": "Deep scan started successfully",
  "data": {
    "linkId": "65a1f0c2b3d4e5f6a7b8c9d0",
    "status": "pending",
    "scanType": "deep",
    "estimatedDuration": 60000
  },
  "status": 200
}
cURL
curl -X POST https://sidex.id/api/v1/scans \
  -H "Authorization: Bearer sidx_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com", "scanType": "deep", "timeout": 60}'

Create Bulk Scans

POST /api/v1/bulk

Queue up to 100 URLs in one request. Duplicate URLs are rejected.

Required scope: read_and_write

ParameterTypeRequiredDescription
urlsstring[]YesThe URLs to scan, 1 to 100 unique values.
scanTypestringNo"quick" (default, URL and domain only) or "deep" (crawls the page)
timeoutnumberNoScan timeout in seconds. Default 30, maximum 60.
Request body
{
  "urls": [
    "https://example.com",
    "https://example.org"
  ],
  "scanType": "quick"
}
Response
{
  "msg": "Quick scan started for 2 URL(s)",
  "data": {
    "totalRequested": 2,
    "totalQueued": 2,
    "scanType": "quick",
    "estimatedDuration": 30000,
    "links": [
      {
        "id": "65a1f0c2b3d4e5f6a7b8c9d0",
        "url": "https://example.com",
        "status": "pending"
      },
      {
        "id": "65a1f0c2b3d4e5f6a7b8c9d1",
        "url": "https://example.org",
        "status": "pending"
      }
    ]
  },
  "status": 200
}
cURL
curl -X POST https://sidex.id/api/v1/bulk \
  -H "Authorization: Bearer sidx_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"urls": ["https://example.com", "https://example.org"], "scanType": "quick"}'

List Scans

GET /api/v1/scans

Read your scans, newest first by default, as an array plus the total count.

Required scope: read_only or read_and_write

ParameterTypeRequiredDescription
pagenumberNoPage number. Default 1.
perPagenumberNoResults per page. Default 20, maximum 100.
qstringNoSearch by URL or domain.
statusstringNopending, scanning, completed, or failed.
treatLevelstringNosafe, warning, or danger.
dateFromstringNoOnly scans created on or after this date.
dateTostringNoOnly scans created on or before this date.
sortBystringNocreatedAt (default), domain, status, treatLevel, or threatScore.
sortOrderstringNoasc or desc (default).
Response
{
  "msg": "Success",
  "data": [
    {
      "id": "65a1f0c2b3d4e5f6a7b8c9d0",
      "url": "https://www.example.com/",
      "domain": "example.com",
      "originalUrl": "https://example.com",
      "originalDomain": "example.com",
      "status": "completed",
      "scanType": "deep",
      "timeout": false,
      "redirectChain": [
        "https://example.com",
        "https://www.example.com/"
      ],
      "hasScreenshot": true,
      "redirectHops": [
        {
          "url": "https://example.com",
          "domain": "example.com",
          "status": 301,
          "via": "start",
          "ip": "93.184.216.34",
          "country": "United States of America",
          "asnOrg": "Edgecast Inc."
        },
        {
          "url": "https://www.example.com/",
          "domain": "example.com",
          "status": 200,
          "via": "redirect",
          "ip": "93.184.216.34",
          "country": "United States of America",
          "asnOrg": "Edgecast Inc."
        }
      ],
      "security": {
        "treatLevel": "safe",
        "threatScore": 0.05,
        "threats": {
          "phishing": 0,
          "malware": 0,
          "scam": 0,
          "deceptiveContent": 0,
          "adult": 0,
          "gambling": 0
        },
        "ssl": {
          "valid": true,
          "issuer": "Let's Encrypt",
          "issueDate": "2026-09-01T00:00:00.000Z",
          "expireDate": "2026-11-30T00:00:00.000Z",
          "ageInDays": 62
        },
        "brandImpersonation": {
          "detected": false,
          "brand": null,
          "confidence": 0
        },
        "riskFactors": [],
        "suspiciousKeywords": []
      },
      "business": {
        "category": "technology",
        "companyName": "Example Inc.",
        "companyDomain": "example.com",
        "companyCountry": "US",
        "businessType": "technology",
        "industryClassification": "Software"
      },
      "technical": {
        "httpStatusCode": 200,
        "contentType": "text/html; charset=UTF-8",
        "ipAddresses": [
          "93.184.216.34"
        ],
        "cspHeaders": [],
        "ipCountry": "US",
        "ipCountryName": "United States of America",
        "asn": "15133",
        "asnOrg": "Edgecast Inc.",
        "network": {
          "requests": 12,
          "httpsRequests": 12,
          "ips": [
            {
              "ip": "93.184.216.34",
              "requests": 12,
              "redirects": 1,
              "country": "US",
              "countryName": "United States of America",
              "region": "California",
              "city": "Los Angeles",
              "asn": "15133",
              "asnOrg": "Edgecast Inc."
            }
          ],
          "hosts": [
            {
              "host": "www.example.com",
              "parent": null,
              "requests": 12
            }
          ],
          "redirects": []
        },
        "technologies": [
          {
            "name": "Nginx",
            "category": "Web server",
            "version": null
          }
        ]
      },
      "content": {
        "pageTitle": "Example Domain",
        "metaDescription": "This domain is for use in documentation examples.",
        "language": "en",
        "forms": {
          "hasLoginForm": false,
          "requestsPersonalInfo": false,
          "requestedInfoTypes": []
        },
        "gambling": {
          "related": false,
          "type": [],
          "confidence": 0
        },
        "adult": {
          "related": false,
          "type": [],
          "confidence": 0
        },
        "suspiciousExternalDomains": []
      },
      "trust": {
        "ssl": {
          "valid": true,
          "issuer": "Let's Encrypt",
          "intermediateCas": [
            "R13 (Let's Encrypt)"
          ],
          "rootCa": "ISRG Root X1 (Internet Security Research Group)",
          "issueDate": "2026-09-01T00:00:00.000Z",
          "expireDate": "2026-11-30T00:00:00.000Z",
          "ageInDays": 62
        },
        "domain": {
          "registeredAt": "1995-08-14T00:00:00.000Z",
          "expireDate": "2027-08-13T00:00:00.000Z",
          "ageInDays": 11404,
          "registrar": "RESERVED-Internet Assigned Numbers Authority",
          "registrantCountry": null,
          "status": [
            "client transfer prohibited"
          ],
          "nameservers": [
            "a.iana-servers.net",
            "b.iana-servers.net"
          ],
          "abuseEmail": null
        },
        "originalDomain": {
          "registeredAt": "1995-08-14T00:00:00.000Z",
          "expireDate": "2027-08-13T00:00:00.000Z",
          "ageInDays": 11404,
          "registrar": "RESERVED-Internet Assigned Numbers Authority",
          "registrantCountry": null,
          "status": [
            "client transfer prohibited"
          ],
          "nameservers": [
            "a.iana-servers.net",
            "b.iana-servers.net"
          ],
          "abuseEmail": null
        }
      },
      "insight": {
        "summary": "Reserved documentation domain with no malicious content.",
        "keyFindings": [
          "Domain is reserved for documentation"
        ],
        "riskFactors": [],
        "positiveIndicators": [
          "Valid SSL certificate",
          "Domain older than 5 years"
        ],
        "recommendations": [
          "No action needed"
        ]
      },
      "errorMessage": null,
      "retryCount": 0,
      "createdAt": "2026-11-02T03:48:52.023Z",
      "updatedAt": "2026-11-02T03:49:05.673Z",
      "startedAt": "2026-11-02T03:48:54.519Z",
      "completedAt": "2026-11-02T03:49:05.673Z"
    }
  ],
  "total": 1,
  "status": 200
}
cURL
curl "https://sidex.id/api/v1/scans?perPage=20&status=completed&treatLevel=danger" \
  -H "Authorization: Bearer sidx_YOUR_API_KEY"

Get Scan Details

GET /api/v1/scans/:id

Read one scan. Poll this until status is completed or failed, or use webhooks instead.

Required scope: read_only or read_and_write

ParameterTypeRequiredDescription
idstringYesThe scan id, the linkId from creation.
Response
{
  "msg": "Success",
  "data": {
    "id": "65a1f0c2b3d4e5f6a7b8c9d0",
    "url": "https://www.example.com/",
    "domain": "example.com",
    "originalUrl": "https://example.com",
    "originalDomain": "example.com",
    "status": "completed",
    "scanType": "deep",
    "timeout": false,
    "redirectChain": [
      "https://example.com",
      "https://www.example.com/"
    ],
    "hasScreenshot": true,
    "redirectHops": [
      {
        "url": "https://example.com",
        "domain": "example.com",
        "status": 301,
        "via": "start",
        "ip": "93.184.216.34",
        "country": "United States of America",
        "asnOrg": "Edgecast Inc."
      },
      {
        "url": "https://www.example.com/",
        "domain": "example.com",
        "status": 200,
        "via": "redirect",
        "ip": "93.184.216.34",
        "country": "United States of America",
        "asnOrg": "Edgecast Inc."
      }
    ],
    "security": {
      "treatLevel": "safe",
      "threatScore": 0.05,
      "threats": {
        "phishing": 0,
        "malware": 0,
        "scam": 0,
        "deceptiveContent": 0,
        "adult": 0,
        "gambling": 0
      },
      "ssl": {
        "valid": true,
        "issuer": "Let's Encrypt",
        "issueDate": "2026-09-01T00:00:00.000Z",
        "expireDate": "2026-11-30T00:00:00.000Z",
        "ageInDays": 62
      },
      "brandImpersonation": {
        "detected": false,
        "brand": null,
        "confidence": 0
      },
      "riskFactors": [],
      "suspiciousKeywords": []
    },
    "business": {
      "category": "technology",
      "companyName": "Example Inc.",
      "companyDomain": "example.com",
      "companyCountry": "US",
      "businessType": "technology",
      "industryClassification": "Software"
    },
    "technical": {
      "httpStatusCode": 200,
      "contentType": "text/html; charset=UTF-8",
      "ipAddresses": [
        "93.184.216.34"
      ],
      "cspHeaders": [],
      "ipCountry": "US",
      "ipCountryName": "United States of America",
      "asn": "15133",
      "asnOrg": "Edgecast Inc.",
      "network": {
        "requests": 12,
        "httpsRequests": 12,
        "ips": [
          {
            "ip": "93.184.216.34",
            "requests": 12,
            "redirects": 1,
            "country": "US",
            "countryName": "United States of America",
            "region": "California",
            "city": "Los Angeles",
            "asn": "15133",
            "asnOrg": "Edgecast Inc."
          }
        ],
        "hosts": [
          {
            "host": "www.example.com",
            "parent": null,
            "requests": 12
          }
        ],
        "redirects": []
      },
      "technologies": [
        {
          "name": "Nginx",
          "category": "Web server",
          "version": null
        }
      ]
    },
    "content": {
      "pageTitle": "Example Domain",
      "metaDescription": "This domain is for use in documentation examples.",
      "language": "en",
      "forms": {
        "hasLoginForm": false,
        "requestsPersonalInfo": false,
        "requestedInfoTypes": []
      },
      "gambling": {
        "related": false,
        "type": [],
        "confidence": 0
      },
      "adult": {
        "related": false,
        "type": [],
        "confidence": 0
      },
      "suspiciousExternalDomains": []
    },
    "trust": {
      "ssl": {
        "valid": true,
        "issuer": "Let's Encrypt",
        "intermediateCas": [
          "R13 (Let's Encrypt)"
        ],
        "rootCa": "ISRG Root X1 (Internet Security Research Group)",
        "issueDate": "2026-09-01T00:00:00.000Z",
        "expireDate": "2026-11-30T00:00:00.000Z",
        "ageInDays": 62
      },
      "domain": {
        "registeredAt": "1995-08-14T00:00:00.000Z",
        "expireDate": "2027-08-13T00:00:00.000Z",
        "ageInDays": 11404,
        "registrar": "RESERVED-Internet Assigned Numbers Authority",
        "registrantCountry": null,
        "status": [
          "client transfer prohibited"
        ],
        "nameservers": [
          "a.iana-servers.net",
          "b.iana-servers.net"
        ],
        "abuseEmail": null
      },
      "originalDomain": {
        "registeredAt": "1995-08-14T00:00:00.000Z",
        "expireDate": "2027-08-13T00:00:00.000Z",
        "ageInDays": 11404,
        "registrar": "RESERVED-Internet Assigned Numbers Authority",
        "registrantCountry": null,
        "status": [
          "client transfer prohibited"
        ],
        "nameservers": [
          "a.iana-servers.net",
          "b.iana-servers.net"
        ],
        "abuseEmail": null
      }
    },
    "insight": {
      "summary": "Reserved documentation domain with no malicious content.",
      "keyFindings": [
        "Domain is reserved for documentation"
      ],
      "riskFactors": [],
      "positiveIndicators": [
        "Valid SSL certificate",
        "Domain older than 5 years"
      ],
      "recommendations": [
        "No action needed"
      ]
    },
    "errorMessage": null,
    "retryCount": 0,
    "createdAt": "2026-11-02T03:48:52.023Z",
    "updatedAt": "2026-11-02T03:49:05.673Z",
    "startedAt": "2026-11-02T03:48:54.519Z",
    "completedAt": "2026-11-02T03:49:05.673Z"
  },
  "status": 200
}
cURL
curl https://sidex.id/api/v1/scans/65a1f0c2b3d4e5f6a7b8c9d0 \
  -H "Authorization: Bearer sidx_YOUR_API_KEY"

Delete Scan

DELETE /api/v1/scans/:id

Delete a scan that is still pending. Any other status returns 400.

Required scope: read_and_write

ParameterTypeRequiredDescription
idstringYesThe scan id.
Response
{
  "msg": "Scan deleted successfully",
  "data": {
    "linkId": "65a1f0c2b3d4e5f6a7b8c9d0"
  },
  "status": 200
}
cURL
curl -X DELETE https://sidex.id/api/v1/scans/65a1f0c2b3d4e5f6a7b8c9d0 \
  -H "Authorization: Bearer sidx_YOUR_API_KEY"

HTTP Status Codes

StatusMeaning
200Request successful
400The request cannot be applied, such as deleting a scan that is not pending
401Missing, invalid, revoked, inactive, or expired API key
403Your plan or the key's scope does not allow this
404Scan not found
422Validation failed, see errors
429Rate limit or scan quota exceeded
500Internal server error