# /nft/v3/{}/getSpamContracts stops working

Calls to /nft/v3/{id}/getSpamContracts on Alchemy API stopped working on September 30, 2026.

On September 30, 2026, Alchemy removed the /nft/v3/{id}/getSpamContracts endpoint as part of sunsetting redundant endpoints. Calls made to /nft/v3/{id}/getSpamContracts fail since that date.

## What to use instead

Call GET /nft/v3/{apiKey}/isSpamContract instead, or read the spam flags returned on getNFTsForOwner and getNFTsForContract.

- API: Alchemy API (eth-mainnet.g.alchemy.com)
- Kind: Endpoint removal
- Announced: August 18, 2026
- Takes effect: September 30, 2026
- Calls after that day: fail
- Calls it hits: `/nft/v3/{id}/getSpamContracts`
- Source: [Announcement](https://www.alchemy.com/docs/changelog)
- Verified: November 6, 2026, against Alchemy API's own pages
- Page: https://www.okapi.bot/providers/alchemy-api/breaking-changes/nft-v3-getspamcontracts-stops-working/

## Alchemy API's words

> To streamline and improve the NFT API, Alchemy is sunsetting a small set of redundant endpoints — both their V2 and V3 versions — on September 30, 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
