Skip to main content
GET
https://api.credprotocol.com
/
api
/
v2
/
sandbox
/
report
/
address
/
{address}
/
chain
/
{chain_id}
curl -X GET "https://api.credprotocol.com/api/v2/sandbox/report/address/0x742d35Cc6634C0532925a3b844Bc9e7595f0Ab17/chain/1" \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "report": {
    "address": "0x742d35Cc6634C0532925a3b844Bc9e7595f0Ab17",
    "timestamp": "2024-01-15T10:30:00Z",
    "summary": {
      "total_asset_usd": 85000.00,
      "count_transactions": 1800,
      "count_transfers": 900,
      "count_balances": 15
    },
    "chains": [
      {
        "chain": {
          "id": 1,
          "name": "Ethereum Mainnet",
          "has_past_activity": true,
          "current_balance_usd": 85000.00,
          "transaction_count": 1800,
          "balances": [
            {
              "symbol": "ETH",
              "name": "Ethereum",
              "usd_value": 50000.00
            },
            {
              "symbol": "USDC",
              "name": "USD Coin",
              "usd_value": 35000.00
            }
          ]
        }
      }
    ]
  }
}

Overview

Returns a mock credit report for a specific blockchain network. Use this to test chain-specific integrations.
SANDBOX: This endpoint returns mock data for testing only. Do not use for production decisions.

Path Parameters

address
string
required
Any Ethereum address (e.g., 0x742d35Cc6634C0532925a3b844Bc9e7595f0Ab17)
chain_id
integer
required
The chain ID (e.g., 1 for Ethereum, 8453 for Base)

Supported Chain IDs

NetworkChain ID
Ethereum1
Optimism10
BNB Chain56
Polygon137
Base8453
Celo42220
Arbitrum42161
Avalanche43114
Scroll534352
Linea59144

Response

report.chains
array
Array containing single chain mock data with balances
report.summary
object
Mock summary metrics for this chain only
curl -X GET "https://api.credprotocol.com/api/v2/sandbox/report/address/0x742d35Cc6634C0532925a3b844Bc9e7595f0Ab17/chain/1" \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "report": {
    "address": "0x742d35Cc6634C0532925a3b844Bc9e7595f0Ab17",
    "timestamp": "2024-01-15T10:30:00Z",
    "summary": {
      "total_asset_usd": 85000.00,
      "count_transactions": 1800,
      "count_transfers": 900,
      "count_balances": 15
    },
    "chains": [
      {
        "chain": {
          "id": 1,
          "name": "Ethereum Mainnet",
          "has_past_activity": true,
          "current_balance_usd": 85000.00,
          "transaction_count": 1800,
          "balances": [
            {
              "symbol": "ETH",
              "name": "Ethereum",
              "usd_value": 50000.00
            },
            {
              "symbol": "USDC",
              "name": "USD Coin",
              "usd_value": 35000.00
            }
          ]
        }
      }
    ]
  }
}
EndpointDescription
/sandbox/report/address/{address}/chain/{chain_id}/summaryChain summary without balances
/sandbox/report/address/{address}/chain/{chain_id}/total/usdChain portfolio value only

Performance

  • Response Time: Instant (no blockchain queries)
  • Quota: Does not count against your API quota