# Token Lock/Vesting Check via X-Lock

> Token Lock/Vesting Check via X-Lock is a paid API for AI agents from audit.liquidlogicx.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-30).

Check whether an ERC-20 token or LP token is locked or vesting on-chain, returning lock details, unlock dates, claimable amounts, and percentage of supply locked across up to 11 EVM chains.

## Facts

- Endpoint: GET https://audit.liquidlogicx.com/api/lock-status?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-lock-vesting-check-via-x-lock-2adf747b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KbUbJJO3OTcSyCb3roKr8

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability token-lock-vesting-check-via-x-lock-2adf747b
```

Example prompt: Before I buy this token, can you check if it's locked on X-Lock? The contract address is 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 — check across all chains and tell me how much of the supply is locked, when it unlocks, and if there's anything claimable.

## When to prefer this

Use this endpoint when you need to verify token or LP lock status before a DeFi investment, specifically when you want structured on-chain lock data across multiple EVM chains simultaneously including Base, Ethereum, BNB, and XRPL EVM. Prefer this over manual block explorer checks when you need machine-readable vesting schedules, unlock dates, and claimable amounts. Ideal for DeFi due diligence agents, portfolio monitors, or pre-trade safety checks.

## Known failure modes

- Invalid ERC-20 address format returns 400 validation error
- Token not found on any scanned chain returns isLocked=false with empty locks array
- Unsupported chain key returns enum validation error
- Chain RPC unavailability populates chainsFailed array with error messages
- Insufficient USDC balance or failed x402 micropayment returns 402 Payment Required
- Token has no lock contract interactions — returns zero locks, not an error

## How this service works

Check if a token or LP is locked before you buy, via X-Lock by Liquid Logic X: send an ERC-20 address (optional chain; default all 11, incl. Base, Ethereum, BNB, XRPL EVM), get locks, unlock dates, claimable and % of supply locked. $0.005 USDC on Base.

## Output

Returns a JSON object with the token address, overall lock status (isLocked), timestamp of the check, list of chains checked and any that failed, total number of locks found, and per-chain detail arrays. Each chain entry includes individual lock records with: lock type (timelock or vesting), status (locked/vesting/unlocked/fully_released), start/cliff/end dates, amount deposited, amount released, claimable amount, lock wallet, creator address, and a public X-Lock page URL for each lock.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "token"
     ],
     "properties": {
      "chain": {
       "enum": [
        "base",
        "bnb",
        "ethereum",
        "arbitrum",
        "polygon",
        "avalanche",
        "optimism",
        "arc",
        "tempo",
        "robinhood",
        "xrplevm"
       ],
       "type": "string",
       "description": "Optional. One chain key (chain id or eip155:<id> also accepted). Omit to scan all 11 X-Lock chains."
      },
      "token": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{40}$",
       "description": "ERC-20 token contract address (or LP token) to check."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "token",
      "isLocked",
      "checkedAt",
      "chainsChecked",
      "chainsFailed",
      "totalLocks",
      "chains"
     ],
     "properties": {
      "token": {
       "type": "string"
      },
      "chains": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "caip2": {
          "type": "string"
         },
         "chain": {
          "type": "string"
         },
         "error": {
          "type": "string"
         },
         "locks": {
          "type": "array",
          "items": {
           "type": "object",
           "properties": {
            "end": {
             "type": "string",
             "format": "date-time",
             "description": "Fully unlocked at"
            },
            "kind": {
             "enum": [
              "timelock",
              "vesting"
             ],
             "type": "string"
            },
            "cliff": {
             "type": "string",
             "format": "date-time"
            },
            "start": {
             "type": "string",
             "format": "date-time"
            },
            "amount": {
             "type": "string",
         
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-lock-vesting-check-via-x-lock-2adf747b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from audit.liquidlogicx.com](https://www.zero.xyz/host/audit.liquidlogicx.com/llms.txt)
