---
title: "Verify Token"
method: POST
path: "/api/token/verify"
tags: ["token"]
---

# Verify Token

`POST /api/token/verify`

## Request

- Base URL: `https://firstdata.deepminer.com.cn` (the document declares no server; this is the origin it was published from)
- URL: `https://firstdata.deepminer.com.cn/api/token/verify`
- Auth: API key in header `X-API-Key`

验证 Token

MCP Server 在收到用户请求时，调用此接口验证 token 的有效性。
需在请求头中携带 X-API-Key。
检查 JWT 签名、数据库状态、过期时间、配额。

## Request body

- TokenVerifyRequest: Token 验证请求（MCP Server 调用）
  - `token` string, required

## Response `200`

Successful Response

- TokenVerifyResponse: Token 验证响应
  - `valid` boolean, required
  - `reason` string, nullable
  - `username` string, nullable
  - `email` string, nullable
  - `expires_at` string, nullable
  - `quota_allowed` boolean, nullable
  - `remaining_daily` integer, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/deepminer/apis/firstdata-mcp-apply-system.md) · [All operations](https://skmtc.dev/deepminer/apis/firstdata-mcp-apply-system/llms.txt) · [OpenAPI document](https://skmtc.dev/deepminer/apis/firstdata-mcp-apply-system/revisions/f4a3501fb064?raw)
