> For the complete documentation index, see [llms.txt](https://beosinofficials-organization.gitbook.io/beosin-api-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://beosinofficials-organization.gitbook.io/beosin-api-documentation/api-endpoints/vasp-query-v2.md).

# VASP Query V2

### Description

* Query the entity information of the address, determine whether it belongs to a VASP entity.
* Use this API to check if your counterparty is a VASP when you are following travel rules.

### Basic Info

> * Request method: GET
> * Interface URL: <https://api.beosin.com/api/v2/kyt/tag/vasp>
> * Content-Type: application/json
> * Verification method: SIGN
> * Response Time：<30s

### **Header Request Parameter**

<table><thead><tr><th width="150">Parameter</th><th width="193">Required Field (Y/N)</th><th width="157">Parameter Type</th><th width="250">Description</th></tr></thead><tbody><tr><td><a href="/beosin-api-documentation/getting-started/verification.md">APPID</a></td><td>Y</td><td>String</td><td>Unique authentication APPID assigned by KYT system</td></tr><tr><td><a href="/beosin-api-documentation/getting-started/verification.md">APP-SECRET</a></td><td>Y</td><td>String</td><td>Unique authentication APP-SECRET assigned by KYT system</td></tr></tbody></table>

### Query Parameter

<table><thead><tr><th width="150">Parameter</th><th width="124">Required Field (Y/N)</th><th width="164">Data Type</th><th>Description</th></tr></thead><tbody><tr><td><a href="/beosin-api-documentation/support/supported-chains.md">chainId</a></td><td>Y</td><td>String</td><td>Chain ID</td></tr><tr><td>address</td><td>Y</td><td>String</td><td>Address Hash</td></tr></tbody></table>

### Return Parameter

<table><thead><tr><th width="229">Parameter</th><th>Data Type</th><th>Description</th></tr></thead><tbody><tr><td>id</td><td>Number</td><td>Return id</td></tr><tr><td>code</td><td>Number</td><td>Status code</td></tr><tr><td>msg</td><td>String</td><td>Result Message</td></tr><tr><td>data</td><td>Object</td><td>Result set</td></tr><tr><td>data.address</td><td>String</td><td>Address Hash</td></tr><tr><td>data.isVasp</td><td>Boolean</td><td>Whether it is VASP Entity</td></tr><tr><td>data.vaspTags</td><td>Array</td><td>VASP Entity Label</td></tr></tbody></table>

### Example of Request Data

```
GET https://api.beosin.com/api/v2/kyt/tag/vasp?chainId=1
&address=0xec6ad3cb0e62cd7c8e75d2919f12c3195d998002
```

### Example of Response Data

```json
{
  "id": 2071864046755426304,
  "code": 200,
  "msg": "success",
  "data": {
    "address": "0xec6ad3cb0e62cd7c8e75d2919f12c3195d998002",
    "isVasp": true,
    "vaspTags": [
      "ExchangeUser",
      "Dex"
    ]
  }
}
```
