# searchTokenUnlocks

**Identifier:** `defillama_searchTokenUnlocks`

**Provider:** [DefiLlama](https://kirha.com/providers/defillama.md)

Search token unlock and emission schedules. Find upcoming unlock events, daily emissions rate, and circulating vs max supply. Use this to assess token supply pressure or dilution risk.

## Run it with the CLI

```bash
kirha tools run defillama_searchTokenUnlocks \
  --input '{}'
```

`--input` takes a JSON object that matches the input schema. Pass `--input -` to read it from stdin.

## Call it over HTTP

```bash
curl https://api.kirha.com/tools/v1/execute \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: **********' \
  --data '{
  "tool_name": "defillama_searchTokenUnlocks",
  "input": {}
}'
```

Replace the stars with an API key from https://app.kirha.com/api-keys.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "limit": {
      "default": 10,
      "maximum": 25,
      "minimum": 1,
      "type": "number"
    },
    "query": {
      "description": "token name or symbol (e.g., 'uniswap', 'arbitrum', 'optimism')",
      "type": "string"
    },
    "sortBy": {
      "default": "mcap:desc",
      "description": "mcap:desc = largest market cap first, unlocksPerDay:desc = highest daily emissions, nextEventDate:asc = soonest upcoming unlock",
      "enum": [
        "mcap:desc",
        "unlocksPerDay:desc",
        "nextEventDate:asc"
      ],
      "type": "string"
    }
  },
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "context": {
      "type": "string"
    },
    "tokens": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "circSupply": {
            "type": "number"
          },
          "circSupply30d": {
            "type": "number"
          },
          "geckoId": {
            "type": "string"
          },
          "maxSupply": {
            "type": "number"
          },
          "mcap": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "nextEvent": {
            "additionalProperties": false,
            "properties": {
              "date": {
                "type": "string"
              },
              "toUnlock": {
                "type": "number"
              }
            },
            "required": [
              "date"
            ],
            "type": "object"
          },
          "sources": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "totalLocked": {
            "type": "number"
          },
          "unlocksPerDay": {
            "type": "number"
          }
        },
        "required": [
          "name",
          "geckoId",
          "sources"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "context",
    "tokens"
  ],
  "type": "object"
}
```

-----

[All DefiLlama tools](https://kirha.com/providers/defillama.md) · [< Back to tools list](https://kirha.com/tools.md)