# ImportAsset

<mark style="color:green;">`POST`</mark> /api/import-asset

**Headers**

| Name          | Value              |
| ------------- | ------------------ |
| Content-Type  | `application/json` |
| Authorization | `Bearer <token>`   |

**Body**

| Name            | Type   | Description                                       |
| --------------- | ------ | ------------------------------------------------- |
| `universe_host` | string | The host:port or just host of the remote universe |
| asset\_id       | string | The asset ID to import from  the universe         |

**Request**

```json
{
    "universe_host": "universe.lightning.finance:10029",
    "asset_id":"75efd20fbe6bee21182c64d5c9954182f3d1fff9f815bfbb364e260b1b6b4113"
}
```

**Response**

{% tabs %}
{% tab title="200" %}

```json
{
    "code": 0,
    "data": {
        "asset_id": "75efd20fbe6bee21182c64d5c9954182f3d1fff9f815bfbb364e260b1b6b4113",
        "name": "bits",
        "asset_type": "NORMAL",
        "total_supply": 100000000,
        "genesis_point": "74990e35efe603b89adb1afbb703b240e296c76650033fe7e401fc42863af6e4:1"
    },
    "message": "",
    "traceid": "6cd94418-2871-464d-b4de-5e3d14195f07"
}
```

{% endtab %}

{% tab title="400" %}

```json
{
  "error": "Invalid request"
}
```

{% endtab %}
{% endtabs %}
