Censys
Internet-exposed hosts, services, certificates and websites
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- Personal access token (PAT)SecretRequired
- Organization IDOptional
Where to find them
- This uses the Censys Platform API (the old Search API v2, with API ID and secret, is deprecated).
- At platform.censys.io click your user icon (top right) → “API Access”.
- Click “Create New Token”, give it a name and copy the token.
- With an organization plan (Starter, Search or Core), also copy its ID and ask an administrator for the “API Access” role. Queries use credits (a host, web property or certificate record uses one; a search, five); the free account has 100 per month and only allows looking up records.
Tools (2)
Censys API request
CENSYS_SEND_REQUESTAuthenticated call to the Censys API (https://api.platform.censys.io/v3). Any endpoint of the API is allowed. Examples: GET /global/asset/host/{ip}, GET /global/asset/webproperty/{host}:{port}, GET /global/asset/certificate/{sha256}, POST /global/search/query {"query": "host.services.port: 3389 and host.location.country_code: US", "page_size": 25}, POST /global/search/aggregate {"query": …, "field": "host.services.port"}, GET /accounts/organizations/{id}/credits (free).
Required scopes
No scopes required
Input
Censys API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically. Host information
CENSYS_GET_HOSTServices of an IP (port, protocol, software, CVEs, threats and labels), ASN, location, operating system and DNS names. Uses 1 credit.
Required scopes
No scopes required
Input
Host information input Name Type Description iprequiredstringIP address, e.g. 8.8.8.8 datestringState at a past date (RFC 3339), e.g. 2026-01-01T00:00:00Z

