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

# Collateral Details

> Returns detailed information about a collateral asset including APY estimate (if earn vault), price in USD, underlying asset, and earn service name

<Info>
  The `asset` parameter is the credit asset symbol — currently supported values are `usdc` and `eure`. The `chain` parameter uses **CAIP-2 format**: `eip155:<chainId>`. For example, `eip155:8453` for Base or `eip155:1` for Ethereum. See [Supported Chains](/sprinter-credit/overview#supported-chains) for the full list.
</Info>

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url 'https://api.sprinter.tech/credit/v2/assets/usdc/collateral/eip155:8453/0x833589fcd6edb6e08f4c7c32d4f71b54bda02913'
  ```

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

  response = requests.get(
      "https://api.sprinter.tech/credit/v2/assets/usdc/collateral/eip155:8453/0x833589fcd6edb6e08f4c7c32d4f71b54bda02913"
  )
  print(response.json())
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch(
    "https://api.sprinter.tech/credit/v2/assets/usdc/collateral/eip155:8453/0x833589fcd6edb6e08f4c7c32d4f71b54bda02913"
  );
  const data = await response.json();
  console.log(data);
  ```

  ```go Go theme={null}
  package main

  import (
  	"fmt"
  	"io"
  	"net/http"
  )

  func main() {
  	resp, _ := http.Get("https://api.sprinter.tech/credit/v2/assets/usdc/collateral/eip155:8453/0x833589fcd6edb6e08f4c7c32d4f71b54bda02913")
  	defer resp.Body.Close()
  	body, _ := io.ReadAll(resp.Body)
  	fmt.Println(string(body))
  }
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "collateralAddress": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
    "collateralPriceUsd": 1.0,
    "earnServiceName": "",
    "isEarnVault": false,
    "underlyingAsset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
    "underlyingPriceUsd": 1.0
  }
  ```
</ResponseExample>

<Tip>
  **Machine-readable API spec:** [OpenAPI JSON](https://api.sprinter.tech/swagger/doc.json) | [Swagger UI](https://api.sprinter.tech/swagger/index.html)
</Tip>


## OpenAPI

````yaml get /credit/v2/assets/{asset}/collateral/{chain}/{collateral}
openapi: 3.0.0
info:
  contact: {}
  title: ''
  version: 0.0.1
servers:
  - url: https://api.sprinter.tech
    description: Production server
security: []
paths:
  /credit/v2/assets/{asset}/collateral/{chain}/{collateral}:
    get:
      tags:
        - Credit
      summary: Get collateral asset details
      description: >-
        Returns detailed information about a collateral asset including APY
        estimate (if earn vault), price in USD, underlying asset, and earn
        service name
      parameters:
        - example: usdc
          description: Credit asset symbol (e.g. usdc, eure)
          name: asset
          in: path
          required: true
          schema:
            type: string
        - example: eip155:8453
          description: Chain ID in CAIP-2 format
          name: chain
          in: path
          required: true
          schema:
            type: string
        - example: '0xeE8F4eC5672F09119b96Ab6fB59C27E1b7e44b61'
          description: Collateral asset address
          name: collateral
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/credit.CollateralDetailsResponse'
        '400':
          description: Invalid parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/responses.ErrorResponse'
        '404':
          description: Collateral not supported
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/responses.ErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/responses.ErrorResponse'
components:
  schemas:
    credit.CollateralDetailsResponse:
      type: object
      required:
        - collateralAddress
        - collateralPriceUsd
        - earnServiceName
        - isEarnVault
      properties:
        apy:
          type: number
          example: 4.56
        collateralAddress:
          type: string
          example: '0xeE8F4eC5672F09119b96Ab6fB59C27E1b7e44b61'
        collateralPriceUsd:
          type: number
          example: 1.023456
        earnServiceName:
          type: string
          example: Gauntlet
        isEarnVault:
          type: boolean
          example: true
        underlyingAsset:
          type: string
          example: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
        underlyingPriceUsd:
          type: number
          example: 1
    responses.ErrorResponse:
      type: object
      required:
        - error
      properties:
        debug:
          type: string
        error:
          type: string

````