CUBE3 Documentation
  • CUBE3 Documentation
  • Detect Products
    • Inspector
    • Monitor
    • Sonar
      • Sonar Feeds
  • Protect Products
    • RASP
      • Quick Start
        • ERC-20 Non-Upgradeable (Foundry)
        • ERC-20 Non-Upgradeable (Hardhat)
        • ERC-20 Upgradeable (Foundry)
        • ERC-20 Upgradeable (Hardhat)
      • RASP Integration
        • 1. Installation
        • 2. Integration
        • 3. Deployment
        • 4. Registration
        • 5. Interaction
        • 6. Inspection
      • CUBE3 Protocol
      • CUBE3 SDK
  • Manage Products
    • Transactions
    • Alerts
      • Email Integration
      • Slack Integration
      • Telegram Integration
      • Discord Integration
      • Webhook Integration
    • Rules
  • API Documentation
    • Inspector API
    • Validation API
      • Troubleshooting
    • Management API
      • Monitor API
      • Alert API
      • Control lists API
    • Authentication
    • API Rate Limits
  • Risk Engine
    • Risk Scoring Introduction
    • Risk Scoring Detailed Overview
  • Settings
    • Billing
    • Organization
    • API Keys
  • Supported Blockchain Networks
    • CUBE3 Detect Products
    • CUBE3 Protect Products
  • Testing Guide
Powered by GitBook
On this page
  1. API Documentation

Inspector API

PreviousAPI DocumentationNextValidation API

Last updated 6 months ago

For more information about the product please refer to . Inspector API key found under

Inspector Batch API

Inspector also supports batch requests. Submit batch via POST and retrieve the responses using the batchId GET endpoints.

Address format
Accepted chainId
Null accepted ?

EVM

Any of the following: "1", "10", "56", "137", "8453", "42161", "43114"

yes

Tron

"TRON"

yes

Bitcoin

"BITCOIN"

yes

Solana

"SOLANA"

yes

Litecoin

"LITECOIN"

yes

Ripple

"RIPPLE"

yes

Batch status
Description

COMPLETED

The batch was completed without any issues.

IN_PROGRESS

Batch is still in progress and should complete soon.

FAILED

All addresses in batch are either invalid or combinations with chainId are invalid. Error messages provided for each address.

PARTIALLY_FAILED

Some addresses in the batch are valid and processed, while others have error message with description why they have failed.

EXPIRED

Batch has not completed within a reasonable timeframe.

How to Authenticate the APIs
Inspector
Settings > API keys
get
Authorizations
Path parameters
txHashstringRequired
Responses
200
OK
*/*
get
GET /api/v2/inspector/transactions/{txHash} HTTP/1.1
Host: validation-api.cube3.ai
X-Api-Key: YOUR_API_KEY
Accept: */*
200

OK

{
  "txHash": "text",
  "attackerContractAddress": "text",
  "attackerContractDeployerAddress": "text",
  "chainId": "text",
  "blockNumber": "text",
  "blockTime": "text",
  "transactionScore": {
    "highestScore": 1,
    "finalScore": {
      "compliance": {
        "value": 1,
        "transactionRisk": 1,
        "participantRisk": 1,
        "type": "ADDRESS",
        "category": "text",
        "subCategory": "text",
        "subCategoryDescription": "text",
        "tagName": "text",
        "tagDescription": "text"
      },
      "fraud": {
        "value": 1,
        "transactionRisk": 1,
        "participantRisk": 1,
        "type": "ADDRESS",
        "category": "text",
        "subCategory": "text",
        "subCategoryDescription": "text",
        "tagName": "text",
        "tagDescription": "text"
      },
      "cyber": {
        "value": 1,
        "transactionRisk": 1,
        "participantRisk": 1,
        "type": "ADDRESS",
        "category": "text",
        "subCategory": "text",
        "subCategoryDescription": "text",
        "tagName": "text",
        "tagDescription": "text"
      },
      "combined": {
        "value": 1,
        "transactionRisk": 1,
        "participantRisk": 1,
        "type": "ADDRESS",
        "category": "text",
        "subCategory": "text",
        "subCategoryDescription": "text",
        "tagName": "text",
        "tagDescription": "text"
      }
    },
    "scoreDetails": [
      {
        "reason": "text",
        "value": 1
      }
    ]
  },
  "totalLoss": 1,
  "victimsBalanceChanges": {
    "ANY_ADDITIONAL_PROPERTY": [
      {
        "token": "text",
        "tokenAddress": "text",
        "value": 1,
        "usd": 1,
        "score": 1
      }
    ]
  },
  "attackersBalanceChanges": {
    "ANY_ADDITIONAL_PROPERTY": [
      {
        "token": "text",
        "tokenAddress": "text",
        "value": 1,
        "usd": 1,
        "score": 1
      }
    ]
  },
  "balanceChanges": {
    "ANY_ADDITIONAL_PROPERTY": [
      {
        "token": "text",
        "tokenAddress": "text",
        "value": 1,
        "usd": 1,
        "score": 1
      }
    ]
  },
  "createdAt": "2025-05-12T20:13:08.611Z",
  "scoredAddresses": [
    {
      "address": "text",
      "score": 1,
      "category": "text",
      "subCategory": "text",
      "subCategoryDescription": "text",
      "tagName": "text",
      "tagDescription": "text",
      "subCategoriesAndTags": [
        {
          "type": "ADDRESS",
          "category": "text",
          "subCategory": "text",
          "subCategoryDescription": "text",
          "tagName": "text",
          "tagDescription": "text"
        }
      ]
    }
  ],
  "transactionRiskProfile": {
    "transactionRisk": 1,
    "participantRisk": 1
  }
}
get
Authorizations
Path parameters
addressstringRequired
Query parameters
chainIdstringOptional
Responses
200
OK
*/*
get
GET /api/v2/inspector/addresses/{address} HTTP/1.1
Host: validation-api.cube3.ai
X-Api-Key: YOUR_API_KEY
Accept: */*
200

OK

{
  "address": "text",
  "chainResultList": [
    {
      "chainId": "text",
      "score": {
        "fraud": 1,
        "compliance": 1,
        "cyber": 1,
        "combined": 1
      },
      "scoreDetails": {
        "ANY_ADDITIONAL_PROPERTY": {
          "value": 1,
          "subCategory": "text",
          "subCategoryDescription": "text"
        }
      },
      "scImplementations": [
        {
          "address": "text",
          "score": {
            "fraud": 1,
            "compliance": 1,
            "cyber": 1,
            "combined": 1
          },
          "scoreDetails": {
            "ANY_ADDITIONAL_PROPERTY": {
              "value": 1,
              "subCategory": "text",
              "subCategoryDescription": "text"
            }
          }
        }
      ],
      "isProxy": true,
      "deployedAtByChainId": "2025-05-12T20:13:08.611Z",
      "firstAnalysedAtByChainId": "2025-05-12T20:13:08.611Z",
      "lastAnalysedAtByChainId": "2025-05-12T20:13:08.611Z",
      "type": "EOA",
      "deployer": "text"
    }
  ]
}
get
Authorizations
Path parameters
batchIdstringRequired
Responses
200
OK
*/*
get
GET /api/v2/inspector/addresses/batches/{batchId} HTTP/1.1
Host: validation-api.cube3.ai
X-Api-Key: YOUR_API_KEY
Accept: */*
200

OK

{
  "inspectedAddresses": [
    {
      "score": {
        "fraud": 1,
        "compliance": 1,
        "cyber": 1,
        "combined": 1
      },
      "address": "text",
      "perChainAssessment": {
        "ANY_ADDITIONAL_PROPERTY": {
          "scoreDetails": {
            "ANY_ADDITIONAL_PROPERTY": {
              "value": 1,
              "category": "text",
              "subCategory": "text",
              "subCategoryDescription": "text"
            }
          },
          "subCategoriesAndTags": [
            {
              "type": "ADDRESS",
              "category": "text",
              "subCategory": "text",
              "subCategoryDescription": "text",
              "tagName": "text",
              "tagDescription": "text"
            }
          ],
          "deployedAtByChainId": "2025-05-12T20:13:08.611Z",
          "firstAnalysedAtByChainId": "2025-05-12T20:13:08.611Z",
          "lastAnalysedAtByChainId": "2025-05-12T20:13:08.611Z",
          "type": "EOA",
          "deployer": "text"
        }
      },
      "errorMessage": "text"
    }
  ],
  "status": "COMPLETED",
  "errorMessage": "text",
  "createdAt": "2025-05-12T20:13:08.611Z"
}
  • GET/api/v2/inspector/transactions/{txHash}
  • GET/api/v2/inspector/addresses/{address}
  • Inspector Batch API
  • POST/api/v2/inspector/addresses/batches
  • GET/api/v2/inspector/addresses/batches/{batchId}
post
Authorizations
Header parameters
X-Tenant-IdstringRequired
Body
Responses
200
OK
*/*
post
POST /api/v2/inspector/addresses/batches HTTP/1.1
Host: validation-api.cube3.ai
X-Api-Key: YOUR_API_KEY
X-Tenant-Id: text
Content-Type: application/json
Accept: */*
Content-Length: 51

{
  "addresses": [
    {
      "address": "text",
      "chainId": "text"
    }
  ]
}
200

OK

{
  "url": "text"
}