Censys Collections API

Endpoints related to the Collections product

GitHub OpenAPI

Operations 8

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v3/collections List saved collections · Censys List Collections #
Ask an LLM
“Which saved collections exist in my organization?”
“Can I filter my collections by status?”
Tell an agent
List all collections in organization {org}.
Show collections with status {statuses}.
POST /v3/collections Create a saved collection · Censys Create a Collection #
Ask an LLM
“How do I save a search as a reusable collection?”
“Can I name and describe a new collection?”
Tell an agent
Create a collection named {name} matching {query}.
Save {query} as collection {name} described as {description}.
DELETE /v3/collections/{collection_uid} Delete a saved collection · Censys Delete a Collection #
Ask an LLM
“How do I remove a saved collection?”
“Can I delete a collection I no longer need?”
Tell an agent destructive · confirm first
Delete collection {collection}.
Remove saved collection {collection} from organization {org}.
GET /v3/collections/{collection_uid} Get a saved collection · Censys Get a Collection #
Ask an LLM
“What query and status does a saved collection have?”
“Can I look up one collection by its UID?”
Tell an agent
Show collection {collection}.
Get the query and asset count of collection {collection}.
PUT /v3/collections/{collection_uid} Update a saved collection · Censys Update a Collection #
Ask an LLM
“Can I change the query behind an existing collection?”
“How do I rename a saved collection?”
Tell an agent
Update collection {collection} to query {query} and name {name}.
Rename existing collection {collection} to {name} with query {query}.
GET /v3/collections/{collection_uid}/events List a collection's event history · Censys Get a Collection's Events #
Ask an LLM
“What assets were added or removed from a collection over time?”
“Can I filter a collection's event history by change type?”
Tell an agent
Show the event history of collection {collection}.
List {types} events for collection {collection} between {start} and {end}.
POST /v3/collections/{collection_uid}/search/aggregate Aggregate a search within a collection · Censys Aggregate Results for a Search Query Within a Collection #
Ask an LLM
“How do I count how many assets match a field in a collection?”
“Can I split a collection's results into a set number of buckets?”
Tell an agent
Aggregate {field} across collection {collection} by {buckets} buckets.
Count {field} values in collection {collection} split into {buckets} buckets.
POST /v3/collections/{collection_uid}/search/query Search a collection's assets · Censys Run a Search Query Within a Collection #
Ask an LLM
“How do I find the hosts in a collection that match a Censys Query Language filter?”
“Can I return only certain fields from a collection search?”
Tell an agent
Search collection {collection} for {query}.
Find {query} in collection {collection} returning only {fields}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/censys:censys-collections-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

censys-collections-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    email: support@censys.com
    name: Censys Inc.
    url: https://censys.com
  title: Censys Platform Collections API
  version: 1.0.103
  description: Endpoints related to the Collections product
servers:
- description: The Censys Platform API
  url: https://api.platform.censys.io
tags:


# --- truncated at 32 KB (328 KB total) ---
# Full source: https://artifacts.apis.io/censys/openapi/censys-collections-api-openapi.yml