# GET /api/v1/instance is deprecated

Mastodon API deprecated GET /api/v1/instance without giving a shutdown date yet.

The GET /api/v1/instance endpoint has been deprecated without a shutdown date. Calls made to this endpoint fail. The change applies to callers using this route to obtain general information about the server.

## What to use instead

Call GET /api/v2/instance instead.

- API: Mastodon API (mastodon.social)
- Kind: Version retirement
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `GET /api/v1/instance`
- Source: [Announcement](https://docs.joinmastodon.org/methods/instance/)
- Verified: November 6, 2026, against Mastodon API's own pages
- Page: https://www.okapi.bot/providers/mastodon-api/breaking-changes/get-api-v1-instance-is-deprecated/

## Mastodon API's words

> View server information (v1) deprecated GET /api/v1/instance HTTP / 1.1 Obtain general information about the server. See api/v2/instance instead.

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