# GET /works stops working

Calls to GET /works* on DataCite REST API stopped working on July 1, 2026.

On July 1, 2026, the DataCite REST API removed legacy endpoints due to low usage. Requests to GET /works* fail since that date. Any calls targeting these endpoints are no longer supported.

## What to use instead

Use the Version 2 endpoint /dois instead, replacing /works/{id} with /dois/{id}. Updating to this endpoint requires handling a different response structure.

- API: DataCite REST API (api.datacite.org)
- Kind: Endpoint removal
- Takes effect: July 1, 2026
- Calls after that day: fail
- Calls it hits: `GET /works*`
- Source: [Announcement](https://support.datacite.org/docs/datacite-rest-api-legacy-endpoints-deprecation)
- Verified: November 6, 2026, against DataCite REST API's own pages
- Page: https://www.okapi.bot/providers/datacite-rest-api/breaking-changes/get-works-stops-working/

## DataCite REST API's words

> Due to the low usage of Version 1 and the improved functionality of the widely-adopted Version 2 successor, Version 1 endpoints will be deprecated on 1 July 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
