# The exclude_inactive query parameter is deprecated

OpenCorporates API deprecated GET /v0.4/companies/search, query parameter exclude_inactive without giving a shutdown date yet.

The exclude_inactive query parameter for the GET /v0.4/companies/search endpoint has been deprecated without a shutdown date. This change affects calls to the companies search endpoint that supply this parameter. Once fully removed, requests using exclude_inactive will fail.

## What to use instead

Use the inactive parameter instead, passing inactive=false.

- API: OpenCorporates API (api.opencorporates.com)
- Kind: Parameter removal
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `GET /v0.4/companies/search`, `query parameter exclude_inactive`
- Source: [Announcement](https://api.opencorporates.com/documentation/API-Reference)
- Verified: November 6, 2026, against OpenCorporates API's own pages
- Page: https://www.okapi.bot/providers/opencorporates-api/breaking-changes/the-exclude-inactive-query-parameter-is-deprecated/

## OpenCorporates API's words

> Restrict to companies that are active/inactive. Deprecated in favour of new inactive functionality.

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