# The created_before query parameter is deprecated

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

- API: OpenCorporates API (api.opencorporates.com)
- Kind: Endpoint removal
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `GET /v0.4/companies/search`, `query parameter created_before`
- Source: [Announcement](https://api.opencorporates.com/documentation/API-Reference)
- Page: https://www.okapi.bot/providers/opencorporates-api/breaking-changes/the-created-before-query-parameter-is-deprecated/

## What to use instead

Use the created_at date filter (created_at=:YYYY-MM-DD for "before").

## OpenCorporates API's words

> Deprecated Restrict to companies added to OpenCorporates before the given date
