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

# Vesting by asset

> Unspent vestings for a native asset

Returns all **unspent** vestings for the given **native asset** (policy id + asset name in one path segment).

**Auth:** Public

POST requests must include **`Content-Type: application/json`**. Body may be empty or `{}`.

## Path parameters

<ParamField path="asset" type="string" required>
  Cardano asset ID: `policyId` + `.` + hex-encoded asset name (same as elsewhere: [Asset ID](/api-reference/overview#asset-id)). The dot may appear inside the hex name segment; the server parses a full `AssetClass` string.
</ParamField>

## Response

Same shape as [Vesting by redeemer](/api-reference/snekfun-api/vesting-by-redeemer): object with a **`vestings`** array of objects (`id`, `lockUntil`, `redeemerVkh`, `tokenPolicyId`, `tokenAssetName`, `totalLocked`, `vestingOwnerAddress`, `spent`).

<RequestExample>
  ```bash cURL theme={null}
  curl --request POST \
    --url "https://token-vesting.snek.fun/v1/vesting/get-by-asset/fbd4d3c334063ac19566f6ba39b6ec707ea91fa81d0c09201575c10b.44415645" \
    --header "Content-Type: application/json" \
    --data '{}'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "vestings": []
  }
  ```
</ResponseExample>
