# The Legacy Search API is deprecated

Censys Search API deprecated /api/* without giving a shutdown date yet.

Censys has deprecated the Legacy Search API without a specific shutdown date, as part of a plan to decommission it in 2026. This change impacts calls to all /api/* endpoints on search.censys.io, which will eventually fail. The host data backend will be updated on March 31, 2026.

## What to use instead

Transition to the Censys Platform API, using global data under /v3/global/ with a Platform personal access token. Moving requires more than swapping an identifier: you must create a Censys Platform account, obtain a new token, and rewrite your queries to use CenQL instead of the Legacy Search syntax.

The Platform API needs a Censys Platform account, a new token and rewritten queries (CenQL instead of the Legacy Search syntax).

- API: Censys Search API (search.censys.io)
- Kind: Version retirement
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `/api/*`
- Source: [Announcement](https://docs.censys.com/changelog/upcoming-changes-to-legacy-search-data-and-apis)
- Verified: October 26, 2026, against Censys Search API's own pages
- Page: https://www.okapi.bot/providers/censys-search-api/breaking-changes/the-legacy-search-api-is-deprecated/

## Censys Search API's words

> As part of the plan to decommission Legacy Search (search.censys.io) in 2026, Censys will update its host data backend on March 31, 2026.

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
