From 9448cbcd567ad0116db3447f5f2e62e8c20ff2ae Mon Sep 17 00:00:00 2001 From: alchemy-bot <80712764+alchemy-bot@users.noreply.github.com> Date: Fri, 21 Aug 2026 16:54:32 +0000 Subject: [PATCH] [docs-agent] Remove reportSpam V3 endpoint from NFT API docs Removes all documentation references to the `reportSpam` NFT V3 endpoint (previously rendered at /docs/reference/nft-api-endpoints/nft-api-endpoints/nft-spam-endpoints/report-spam-v-3). * src/openapi/nft/nft.yaml: delete the /v3/{apiKey}/reportSpam operation block (operationId reportSpam-v3). * content/api-reference/data/nft-api/nft-api-endpoints.mdx: drop the reportSpam row from the NFT Spam Endpoints table. * content/api-reference/pricing-resources/pricing/compute-unit-costs.mdx: drop the reportSpam CU row inside the cu:auto product="nft" block. Companion chain-config PR removes the endpoint from Daikon's topconfig so the daily regeneration doesn't restore this row. * content/redirects.yml: repoint the existing V2 report-spam redirect at the NFT endpoints overview (was pointing at the now-removed V3 page); add a new redirect for the V3 URL itself. Follows the DOCS-196 pattern. Refs DOCS-201 Requested-by: @oskarciupider-alchemy --- .../data/nft-api/nft-api-endpoints.mdx | 1 - .../pricing/compute-unit-costs.mdx | 1 - content/redirects.yml | 5 ++- src/openapi/nft/nft.yaml | 33 ------------------- 4 files changed, 4 insertions(+), 36 deletions(-) diff --git a/content/api-reference/data/nft-api/nft-api-endpoints.mdx b/content/api-reference/data/nft-api/nft-api-endpoints.mdx index d702f1de1..d623f1e97 100644 --- a/content/api-reference/data/nft-api/nft-api-endpoints.mdx +++ b/content/api-reference/data/nft-api/nft-api-endpoints.mdx @@ -37,7 +37,6 @@ slug: reference/nft-api-endpoints | **Endpoint** | **What to use it for** | | -------------------------------------------------- | ------------------------------------------------------------ | | [isSpamContract](/docs/reference/nft-api-endpoints/nft-api-endpoints/nft-spam-endpoints/is-spam-contract-v-3) | Returns whether a specific contract is marked as spam or not | -| [reportSpam](/docs/reference/nft-api-endpoints/nft-api-endpoints/nft-spam-endpoints/report-spam-v-3) | Report a contract if you think its spam | # NFT Sales Endpoints diff --git a/content/api-reference/pricing-resources/pricing/compute-unit-costs.mdx b/content/api-reference/pricing-resources/pricing/compute-unit-costs.mdx index 19edbdc15..6a6c82d1a 100644 --- a/content/api-reference/pricing-resources/pricing/compute-unit-costs.mdx +++ b/content/api-reference/pricing-resources/pricing/compute-unit-costs.mdx @@ -351,7 +351,6 @@ We want builders to be able to use as much of the NFT API as they need without w {/* cu:auto product="nft" */} | Method | CU | Throughput CU | | ------------------------ | --- | ------------- | -| reportSpam | 0 | 10 | | refreshNftMetadata | 40 | 10 | | computeRarity | 80 | 10 | | getFloorPrice | 80 | 10 | diff --git a/content/redirects.yml b/content/redirects.yml index 9403fdf39..f3714e490 100644 --- a/content/redirects.yml +++ b/content/redirects.yml @@ -110,7 +110,7 @@ redirects: permanent: true - source: /docs/reference/nft-api-endpoints/nft-api-endpoints/nft-api-v-2-methods-older-version/report-spam - destination: /docs/reference/nft-api-endpoints/nft-api-endpoints/nft-spam-endpoints/report-spam-v-3 + destination: /docs/reference/nft-api-endpoints permanent: true # NFT API method deprecations (see 2026-08-18 changelog) @@ -141,6 +141,9 @@ redirects: - source: /docs/reference/nft-api-endpoints/nft-api-endpoints/nft-sales-endpoints/get-nft-sales-v-3 destination: /docs/reference/nft-api-endpoints permanent: true + - source: /docs/reference/nft-api-endpoints/nft-api-endpoints/nft-spam-endpoints/report-spam-v-3 + destination: /docs/reference/nft-api-endpoints + permanent: true # ========================================= Portfolio API Redirects ========================================= - source: /docs/reference/get-tokens-by-address diff --git a/src/openapi/nft/nft.yaml b/src/openapi/nft/nft.yaml index f04e45619..e01b9bb77 100644 --- a/src/openapi/nft/nft.yaml +++ b/src/openapi/nft/nft.yaml @@ -495,39 +495,6 @@ paths: withMetadata: $ref: "#/components/examples/withMetadataGetContractsForOwner_response" operationId: getContractsForOwner-v3 - "/v3/{apiKey}/reportSpam": - get: - summary: Report Spam Address - description: | - Reports a specific address to the API if it is suspected to be spam. - - Spam NFT functionality is available on Mainnet for the following chains: Base, Arbitrum, Optimism, Ethereum, Polygon, Worldchain, Avax, BNB, Gnosis, Zksync, Unichain, and Blast. More to come soon! - tags: ["NFT Spam Endpoints"] - parameters: - - $ref: "#/components/parameters/apiKey" - - name: address - description: String - The address to check for spam status. - in: query - schema: - type: string - default: "0x495f947276749ce646f68ac8c248420045cb7b5e" - required: true - - name: isSpam - in: query - required: true - schema: - type: boolean - description: "Whether the address is spam." - default: true - responses: - "200": - description: "Returns a confirmation message if the address was successfully reported as spam." - content: - application/json: - schema: - type: string - description: 'String - "Address was successfully reported as spam" if calling the API was successful.' - operationId: reportSpam-v3 "/v3/{apiKey}/refreshNftMetadata": post: summary: Refresh NFT Metadata