> ## Documentation Index
> Fetch the complete documentation index at: https://docs.credprotocol.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Chain-Specific Summary

> Get a lightweight summary report for a specific blockchain

## Overview

Returns a lightweight summary of key credit metrics for a single blockchain network, without detailed asset breakdowns. This is the fastest way to get chain-specific credit data.

<Info>
  Combines the speed of the summary endpoint with the focus of chain-specific analysis.
</Info>

## Path Parameters

<ParamField path="address" type="string" required>
  Ethereum address or ENS name (e.g., `vitalik.eth` or `0x742d35Cc6634C0532925a3b844Bc454e4438f44e`)
</ParamField>

<ParamField path="chain_id" type="integer" required>
  The chain ID to fetch data from (e.g., `1` for Ethereum mainnet)
</ParamField>

## Supported Chain IDs

| Network   | Chain ID |
| --------- | -------- |
| Ethereum  | 1        |
| Optimism  | 10       |
| BNB Chain | 56       |
| Polygon   | 137      |
| Base      | 8453     |
| Celo      | 42220    |
| Arbitrum  | 42161    |
| Avalanche | 43114    |
| Scroll    | 534352   |
| Linea     | 59144    |

## Response

<ResponseField name="report.address" type="string">
  The resolved Ethereum address (checksummed)
</ResponseField>

<ResponseField name="report.timestamp" type="string">
  ISO 8601 timestamp when the report was generated
</ResponseField>

<ResponseField name="report.first_transaction" type="object">
  First transaction on this chain
</ResponseField>

<ResponseField name="report.last_transaction" type="object">
  Most recent transaction on this chain
</ResponseField>

<ResponseField name="report.summary" type="object">
  Summary metrics for this chain only
</ResponseField>

## Use Cases

* **Chain Migration Analysis**: Quick assessment before moving assets
* **L2 Adoption Tracking**: Monitor activity on specific Layer 2s
* **Protocol-Specific Risk**: Assess exposure on a single network
* **Gas Optimization**: Check activity before transactions

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET "https://api.credprotocol.com/api/v2/report/address/vitalik.eth/chain/1/summary" \
    -H "Authorization: Bearer YOUR_API_KEY"
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch('https://api.credprotocol.com/api/v2/report/address/vitalik.eth/chain/1/summary', {
    headers: {
      'Authorization': 'Bearer YOUR_API_KEY'
    }
  });

  const data = await response.json();
  console.log(`Ethereum assets: $${data.report.summary.total_asset_usd}`);
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      'https://api.credprotocol.com/api/v2/report/address/vitalik.eth/chain/1/summary',
      headers={'Authorization': 'Bearer YOUR_API_KEY'}
  )

  data = response.json()
  print(f"Ethereum assets: ${data['report']['summary']['total_asset_usd']}")
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "report": {
      "address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
      "timestamp": "2024-01-15T10:30:00Z",
      "first_transaction": {
        "timestamp": 1438918251,
        "block_number": 46147,
        "chain_id": 1
      },
      "last_transaction": {
        "timestamp": 1710255000,
        "block_number": 19123456,
        "chain_id": 1
      },
      "summary": {
        "total_asset_usd": 85000.00,
        "total_collateral_usd": 40000.00,
        "total_debt_usd": 10000.00,
        "count_transactions": 1800,
        "count_transfers": 900,
        "count_balances": 15
      }
    }
  }
  ```

  ```json 400 theme={null}
  {
    "error": "Unsupported chain: 999"
  }
  ```
</ResponseExample>

## Performance

* **Response Time**: \< 1 second
* **Caching**: Results cached for 5 minutes per address+chain combination
