QuickScan API V1

Documentation of the QuickScan API

GET https://api.solidityscan.com/api/v1/quickscan/{platform_id}/{chain_id}/{contract_address}

SolidityScan Public API [Example]

Example Request

curl --location --request GET 'https://api.solidityscan.com/api/v1/quickscan/1/1/0x4ee38aa8d7449a177119e983610D73e9ace932dA' \
--header 'Authorization: Token {{token}}'

Example Response

{
  "scan_report": {
    "contract_address": "0x4ee38aa8d7449a177119e983610D73e9ace932dA",
    "contract_chain": "mainnet",
    "contract_platform": "etherscan",
    "contract_url": "https://etherscan.io/address/0x4ee38aa8d7449a177119e983610D73e9ace932dA",
    "contractname": "AdventurerStaking",
    "scanner_reference_url": "https://api.solidityscan.com/quickscan/0x4ee38aa8d7449a177119e983610D73e9ace932dA/etherscan/mainnet",
    "scan_status": "scan_done",
    "scan_summary": {
      "issue_severity_distribution": {
        "critical": 4,
        "gas": 7,
        "high": 2,
        "informational": 4,
        "low": 8,
        "medium": 0
      },
      "lines_analyzed_count": 191,
      "scan_time_taken": 2,
      "score": "3.56",
      "score_v2": "71.20",
      "threat_score": "91.67"
    }
  },
  "status": "success"
}

This API will return the count of total vulnerabilities detected by SolidityScan and the security score of the Smart Contract for a contract address whose contract code is verified on the supported explorers.

Supported Explorers for Verified Contracts

Headers

Accept application/json, text/plain, */* Accept-Language en-GB,en Connection keep-alive Content-Type application/json Authorization Token {{token}}

Parameters

platform_id

PlatformParameter Value

etherscan.io

1

bscscan.com

2

polygonscan.com

3

snowtrace.io

4

ftmscan.com

5

cronoscan.com

6

celoscan.io

7

aurorascan.dev

8

arbiscan.io

9

reefscan.io

13

nordekscan.com

14

explorer.fuse.io

15

blockscout.com

16

tronscan.org

19

ThirdFy

20

Lineascan

21

5irechain

22

chain_id

PlatformchainsValue

mainnet

1

goerli

3

kovan

4

rinkeby

5

ropsten

6

mainnet

1

testnet

2

mainnet

1

testnet

2

mainnet

1

testnet

2

mainnet

1

testnet

2

mainnet

1

testnet

2

mainnet

1

testnet

2

mainnet

1

testnet

2

mainnet

1

testnet

2

mainnet

1

testnet

2

mainnet

1

mainnet

1

testnet

2

ETC Mainnet

1

ETC Mordor

2

ETH Mainnet

3

ETH Goerli

4

ETH Sepolia

5

ETH Holesky

6

Base Mainnet

7

Base Goerli

8

Base Sepolia

9

Neno Mainnet

10

Neon Devnet

11

Gnosis Mainnet

12

Gnosis Chiado

13

OP Mainnet

14

OP Goerli

15

OP Sepolia

16

Rootstock Mainnet

17

Rootstock Testnet

28

Era Mainnet

19

fuse-mainnet

20

fuse-testnet

21

shimmer-mainnet

22

shimmer-testnet

23

lightlink-mainnet

24

lightlink-testnet

25

shibariumscan-mainnet

26

shibariumscan-testnet

27

Immutable Testnet

18

Immutable Mainnet

29

Zetachain Mainnet

30

Zetachain Testnet

31

Celo Alfajores Testnet

32

Celo Baklava Testnet

33

Polygon Zkevm Mainnet

34

Creditcoin Testnet

35

Stability Mainnet

36

Stability Testnet

37

Iota EVM Mainnet

38

Iota EVM Testnet

39

Astar Mainnet

40

Astar Shibuya Testnet

41

Astar Shiden Testnet

42

Astar Zkyoto Testnet

43

Astar Zkevm Mainnet

44

Tangible Unreal Testnet

45

Tangible Real Mainnet

46

Lisk Testnet

47

Reya Mainnet

48

Reya Cronos Testnet

49

Playance Mainnet

50

Playance Playblock Testnet

51

Verify Testnet

52

Lukso Mainnet

53

Omni Testnet

54

Blackfort Mainnet

55

Blackfort Testnet

56

Arbitrum One Mainnet

57

Redstone Mainnet

58

Redstone Garnet Testnet

59

Connext Sepolia Testnet

60

Anomaly Sepolia Testnet

61

Zksync Mainnet

62

Zksync Testnet

63

Lineascan Testnet

64

Lineascan Goerli Testnet

65

Lineascan Sepolia Testnet

66

Ecroxscan Mainnet

67

Mainnet

1

shasta

8

nile

9

Mainnet

1

Testnet

2

Mainnet

1

Sepolia

4

Mainnet

1

Documentation of the QuickScan API for BuildBear Private Explorer

BuildBear is a platform where the developer can create their own private testnet, customized according to their own requirements. All Smart Contracts deployed and verified on BuildBear can also be scanned at SolidityScan for the count of total vulnerabilities

GET https://api.solidityscan.com/api/v1/quickscan/10/{testnet_id}/{contract_address}

Example Request

curl --location --request GET 'https://api.solidityscan.com/api/v1/quickscan/10/Chief_Zam_Wesell_083680d0/0x7aedDA0c95e90d8c40c29621d8A7eb62F7702334'
  • header Authorization: Token {{token}}

Example Response

{
    "scan_report": {
        "contract_address": "0x7aedDA0c95e90d8c40c29621d8A7eb62F7702334",
        "contract_chain": "buildbear",
        "contract_platform": "buildbear",
        "contract_url": "https://explorer.buildbear.io/Chief_Zam_Wesell_083680d0/address/0x7aedDA0c95e90d8c40c29621d8A7eb62F7702334",
        "node_reference_id": "Chief_Zam_Wesell_083680d0",
        "scanner_reference_url": "https://solidityscan.com/quickscan/0x7aedDA0c95e90d8c40c29621d8A7eb62F7702334/buildbear/Chief_Zam_Wesell_083680d0",
        "scan_status": "scan_done",
        "scan_summary": {
            "issue_severity_distribution": {
                "critical": 0,
                "gas": 4,
                "high": 0,
                "informational": 3,
                "low": 2,
                "medium": 0
            },
            "lines_analyzed_count": 35,
            "scan_time_taken": 1,
            "score": "3.43",
            "score_v2": "68.57",
            "threat_score": "100.00"
        }
    },
    "status": "success"
}

Parameters

  • {{platform_id}} = 10

All BuildBear Private Testnet are recognized with the platform_id as 10

  • {{testnet_id}

All Private Testnets created on BuildBear have a unique name/id. This name is available from either the (a) RPC link, the (b) Explorer Link, or the (c) Faucet Link generated by BuildBear. Sample Screenshot from BuildBear below:

For the above Testnet: Accepted Mace Windu the explorer link is https://explorer.buildbear.io/Accepted_Mace_Windu_2561384 thus the {{testnet_id}} is Accepted_Mace_Windu_2561384

Last updated