---
title: "Enter Market Status"
method: GET
path: "/defi/v1/lendborrow/entermarketstatus"
tags: ["lendborrow"]
---

# Enter Market Status

`GET /defi/v1/lendborrow/entermarketstatus`

## Request

- Base URL: `https://svc.blockdaemon.com`
- URL: `https://svc.blockdaemon.com/defi/v1/lendborrow/entermarketstatus`
- Auth: API key in header `X-API-Key`

Retrieves the approval status for a user’s participation in Compound protocol markets. It checks whether the necessary permissions have been granted for depositing assets into these markets and returns a list of contract addresses representing the approved markets. Use this endpoint to verify that the user is properly set up for deposit transactions before proceeding.

> 💡 
**Compute Unit Value:** `120` (Fixed)

## Query parameters

- `lendborrowId` '1100': The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions.
- `account` string, required: Public address of the user whose deposit approval status needs to be checked.

## Response `200`

Successful response

- object
  - `status` number: Numeric status code indicating success or failure of the API call
  - `msg` string: Human-readable message describing the API result or error
  - `data` object
    - `enterMarketStatus` string[], required: List of market entry statuses

---

[API](https://skmtc.dev/blockdaemon/apis/blockdaemon-defi-api.md) - [All operations](https://skmtc.dev/blockdaemon/apis/blockdaemon-defi-api/llms.txt) - [OpenAPI document](https://skmtc.dev/blockdaemon/apis/blockdaemon-defi-api/revisions/ec053b7c8041?raw)
