🕵️‍♀️NFT scam detection

Checking proposed NFTs for the possibility of scams

v------------------------------ Note: Expand the endpoint info by clicking this arrow

Checking proposed NFTs for the possibility of scams

POST https://api.solcheck.xyz/solana/Prod/solana/v0/mainnet/token/check

Headers

NameTypeDescription

x-api-key*

String

SolCheck API Key

Request Body

NameTypeDescription

token_id*

String

Solana NFT token address

// Response for scam NFTs
{
    "result": "SUSPECTED_MALICIOUS",
    "malicious_type": "PHISHING",
    "token_address": "2hQZuDm1y4HPiphKnEgJNsGWa4B4M5VhMdAbXNPABgfw"
}

// Response for good NFTs
{
    "result": "CHECKS_PASSED",
    "token_address": "2hQZuDm1y4HPiphKnEgJNsGWa4B4M5VhMdAbXNPABgfw"
}

Request:

The request includes two objects which are further documented below.

x-api-key (required)

SolCheck API Key which should be passed in headers

token_address (required)

Solana NFT token address for checking

Response:

The successful API response includes several fields that are further documented below. Please see the 200: OK section above for a full example response.

result

An enum value specifying SolCheck model estimation for NFT

Possible values:

  • SUSPECTED_MALICIOUS -> NFT with a high risk of scams

  • CHECKS_PASSED -> NFT has passed all our inspections

Example:

"result" : "SUSPECTED_MALICIOUS"

malicious_type

If the NFT is classified as malicious then we return the type of threat to which the NFT potentially belongs.

Possible values of malicious_type field:

  • PHISHING -> NFT which may contain external link redirecting on phishing website

  • FAKE -> NFT which arts looks the same as popular collections on Solana

  • STOLEN -> NFT which were stolen by hackers

Example:

"malicious_type": "PHISHING"

token_address

Provided NFT token address

Query examples:

Scam NFT query example:

curl -X POST https://api.solcheck.xyz/Prod/solana/v0/mainnet/token/check \
    -H 'x-api-key: <API_KEY>' \
    -d 2hQZuDm1y4HPiphKnEgJNsGWa4B4M5VhMdAbXNPABgfw

Response example for phishing NFT:

{
    "result": "SUSPECTED_MALICIOUS", 
    "malicious_type": "PHISHING",
    "token_address": "2hQZuDm1y4HPiphKnEgJNsGWa4B4M5VhMdAbXNPABgfw"
}

Good NFT query example:

curl -X POST https://api.solcheck.xyz/Prod/solana/v0/mainnet/token/check \
    -H 'x-api-key: <API_KEY>' \
    -d EtNfhjfpP8N71YVFFRvMn9iFzDG1PKaSwKUcBH6LzJVR

Response example for good NFT:

{
    "result": "CHECKS_PASSED", 
    "token_address": "EtNfhjfpP8N71YVFFRvMn9iFzDG1PKaSwKUcBH6LzJVR"
}    

Last updated