latestOpenAPI 3.1.02026-08-22154287463.4 KB

858365328f92

Site Configs

Look up a Site Config

Returns current global knowledge without resolving DNS, creating an analysis, or updating Site Config data.

post/site-configs/lookup

Request body

allowed_proxy_countriesstring[]

ISO 3166 country codes Kernel may use when returning a proxy configuration. When omitted, Kernel uses its default country selection.

urlstring uri required

Public HTTP(S) URL to look up.

Example request

{
  "allowed_proxy_countries": [
    "US"
  ]
}

Response

Current recommendation, or a null recommendation when no eligible knowledge exists.

Example response

{
  "recommendation": {
    "browser": {
      "viewport": {
        "height": 800,
        "refresh_rate": 60,
        "width": 1280
      }
    },
    "proxy": {
      "create": {
        "config": {
          "country": "US"
        }
      }
    }
  }
}