---
title: "Get Api Key Info"
method: GET
path: "/v1/get_api_key_info"
tags: ["X-API-Key-Info"]
---

# Get Api Key Info

`GET /v1/get_api_key_info`

Get the remaining rights and interests information of the current x-api-key.

## Headers

- `x-api-key` string

## Response `200`

Successful Response

- MusicAPIKeyInfoResponse — Musicful 品牌使用的精简版 API Key 信息，仅保留 Music 权益相关字段
  - `x_api_key` string, required
  - `email` string, nullable
  - `member_id` string, nullable
  - `key_status` integer, required
  - `key_music_counts` union, required
    - number
    - integer
  - `key_created_at` union
    - string, date-time
    - string
  - `key_updated_at` union
    - string, date-time
    - string
  - `key_recently_used_at` union
    - string, date-time
    - string
  - `key_name` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/musicful/apis/musicful-api-documentation.md) · [All operations](https://skmtc.net/musicful/apis/musicful-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/musicful/musicful-api-documentation/revisions/4dcde2989514/schema)
