Censys Platform API
Censys Platform API
Censys Platform returns JSON records for public-facing hosts, web properties and certificates, with fields such as IP, services, ports, software, TLS, DNS, routing and scan time. A free account and Personal Access Token are required; the Free API tier is limited to asset lookup endpoints.
Required Attribution:
Required for non-paying users: cite the Censys service and link to https://censys.com/ wherever Censys data is used.
Coverage
Censys continually scans the public IPv4 space and discovers in-use IPv6 addresses; its dataset contains more than 3 billion services, and high-value service data has an average age of about 16 hours. Free users receive basic data only, no host history, lookup-only API access, 100 monthly credits and five free API or UI actions per day.
Verdict
This is defensive internet-exposure data for enriching an IP, certificate or web property with observed services and infrastructure context. Scan observations can be stale, incomplete or wrong, and the Free tier omits vulnerability, threat, history and advanced protocol data. Free use is non-commercial, requires attribution, and cannot power a trading or other internal business workflow without a paid licence. Treat discovered systems as observations only and do not connect to listed hosts.
Get the free weekly email
Free weekly email of newly verified free data. Unsubscribe by emailing us.
By entering your email and clicking Subscribe, you agree to receive the Signal Lab weekly email from Quantum Data Technologies Ltd., 3200-650 West Georgia Street, Vancouver, BC V6B 4P7, Canada (signal-lab@qdt.ai). You can unsubscribe at any time: reply "unsubscribe" to any email or write to signal-lab@qdt.ai. See our Privacy Policy.
Use in your agent
Load a Censys host lookup into pandas and Parquet. Checked against the provider's documentation on Nov 1, 2026.
Access
- Create a free Censys account and Personal Access Token; store it in CENSYS_PAT.
- The Free tier supports host, web property and certificate lookup endpoints, not search.
Request
curl -H "Authorization: Bearer $CENSYS_PAT" -H 'Accept: application/vnd.censys.api.v3.host.v1+json' 'https://api.platform.censys.io/v3/global/asset/host/8.8.8.8'Format
JSON host resource containing IP, location, autonomous-system, WHOIS and observed service objects; available fields depend on the account tier.
Load into pandas and Parquet
Needs Python 3 with requests, pandas and pyarrow.
"""Censys Free host lookup -> pandas -> Parquet. Requires CENSYS_PAT."""
import os
import requests
import pandas as pd
URL = "https://api.platform.censys.io/v3/global/asset/host/8.8.8.8"
headers = {
"Authorization": f"Bearer {os.environ['CENSYS_PAT']}",
"Accept": "application/vnd.censys.api.v3.host.v1+json",
}
r = requests.get(URL, headers=headers, timeout=30)
r.raise_for_status()
resource = r.json()["result"]["resource"]
df = pd.json_normalize([resource], sep=".")
df.to_parquet("censys_host_8_8_8_8.parquet", index=False)
print(len(df), "host", df.loc[0, "ip"], "columns", len(df.columns))Not run: it needs a free API key.
Limits
- Free users receive 100 credits per month and five free Platform API or UI actions per day.
- The Free API tier provides asset lookup endpoints only and allows one concurrent action.
- Account-specific request limits are displayed on the Personal Access Tokens page.
Quirks
- The current Platform API uses a bearer Personal Access Token, not the legacy API ID and secret authentication.
- Free users cannot use the search endpoint even though search examples appear elsewhere in the API reference.
- Service scan_time is an observation timestamp; a missing service is not proof that it is closed.
Terms and attribution
- Free-tier data is non-commercial and requires Censys attribution with a link.
- Do not redistribute Censys data as a stand-alone database or embed it in a third-party product without the required enterprise rights.
Sources
- https://docs.censys.com/reference/get-started.md: “Censys Free users only have access to host, web property, and certificate lookup (get a host, retrieve multiple hosts, get a certificate, retrieve multiple certificates, get a web property, and retrieve multiple web properties) endpoints.”
- https://docs.censys.com/docs/platform-credits-free-starter.md: “Every Censys Free user receives 100 credits per month at no cost.”
- https://docs.censys.com/docs/internet-scanning.md: “Every day, the age of each of the over 3 billion services in our data set is checked.”
- https://censys.com/terms-of-service/: “Non-paying Customers must cite the Service and link to the Site wherever Censys Data is used”
Information and education only. Not financial, investment, legal or tax advice. Listings can be inaccurate, incomplete or out of date and are provided "as is". Free tiers, limits and licenses belong to each provider and can change, so check the provider's own terms before you rely on them. Terms & Disclaimer