> ## 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.

# Mock Summary Report

> Get a mock lightweight summary report for testing

## Overview

Returns a mock lightweight summary report without detailed chain breakdowns. Use this to test dashboard integrations that need quick summary data.

<Warning>
  **SANDBOX**: This endpoint returns mock data for testing only. Do not use for production decisions.
</Warning>

## Path Parameters

<ParamField path="address" type="string" required>
  Any Ethereum address (e.g., `0x742d35Cc6634C0532925a3b844Bc9e7595f0Ab17`)
</ParamField>

## Response

The response includes mock summary metrics without per-chain details.

<ResponseField name="report.address" type="string">
  The input Ethereum address
</ResponseField>

<ResponseField name="report.summary" type="object">
  Mock aggregated summary metrics
</ResponseField>

<ResponseField name="report.summary.total_asset_usd" type="number">
  Mock total portfolio value
</ResponseField>

<ResponseField name="report.summary.count_transactions" type="integer">
  Mock transaction count
</ResponseField>

<ResponseField name="report.summary.count_identity_attestations" type="integer">
  Mock attestation count
</ResponseField>

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

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

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

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

  response = requests.get(
      'https://api.credprotocol.com/api/v2/sandbox/report/address/0x742d35Cc6634C0532925a3b844Bc9e7595f0Ab17/summary',
      headers={'Authorization': 'Bearer YOUR_API_KEY'}
  )

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

<ResponseExample>
  ```json 200 theme={null}
  {
    "report": {
      "address": "0x742d35Cc6634C0532925a3b844Bc9e7595f0Ab17",
      "timestamp": "2024-01-15T10:30:00Z",
      "first_transaction": {
        "timestamp": "2022-06-15T10:30:00Z",
        "block_number": 15000000,
        "chain_id": 1
      },
      "last_transaction": {
        "timestamp": "2024-01-10T15:45:00Z",
        "block_number": 19000000,
        "chain_id": 1
      },
      "summary": {
        "total_asset_usd": 125000.50,
        "total_collateral_usd": 50000.00,
        "total_debt_usd": 15000.00,
        "count_transactions": 2456,
        "count_transfers": 1234,
        "count_identity_attestations": 4
      }
    }
  }
  ```
</ResponseExample>

## Performance

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