# /v5.0/* stops working

Calls to /v5.0/* on 1inch public Swap API stopped working on August 11, 2023.

On August 11, 2023, the 1inch public Swap API shut down its /v5.0/* endpoints. Calls sent to /v5.0/* after this date fail. The change retired the public service and requires requests to use the developer portal infrastructure instead.

## What to use instead

Direct calls to the Swap API on api.1inch.com, such as GET /swap/v6.1/{chain}/swap. Moving requires obtaining a bearer API key from 1inch Business under its plans rather than merely switching endpoints.

The Swap API now needs an API key from 1inch Business, under its plans.

- API: 1inch public Swap API (api.1inch.io)
- Kind: Version retirement
- Takes effect: August 11, 2023
- Calls after that day: fail
- Calls it hits: `/v5.0/*`
- Source: [Announcement](https://1inch.com/blog/post/public-swap-api-to-be-discontinued-access-1inch-apis-via-the-1inch-developer-portal)
- Verified: October 26, 2026, against 1inch public Swap API's own pages
- Page: https://www.okapi.bot/providers/1inch-public-swap-api/breaking-changes/v5-0-stops-working/

## 1inch public Swap API's words

> As the public Swap API is set to be shut down on August 11, 2023, at 11:30 AM (CET), it is essential that all current users subscribe to the 1inch Developer Portal to ensure seamless access to this tool.

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