FlashData-Next API

存储器芯片 PN / Marking / Flash ID 解码与搜索, 内置资源与类型化接口,提供健康检查与能力清单。

Vercel Serverless TypeScript 资源内置
Base https://fd.raana.icu/v1/api

公共参数

除健康检查与能力清单外,核心接口均为 GET 请求,可组合使用以下查询参数。

参数 说明 适用接口
query 必填 查询内容:PN、Marking / FBGA、Flash ID 或搜索文本。
K4A8G085WB-BCRC料号
ADDA909544Flash ID
parts/*、identifiers/* 的解码与搜索
lang 可选 返回语言,chs 或 eng,默认 chs。 全部接口
vendor 可选 厂商过滤或提示,例如 samsung、skhynix、micron。 parts/decode、parts/search
chipKind 可选 芯片种类过滤或提示,例如 dram、nand、emmc。 parts/decode、parts/search
productType 可选 产品类型过滤或提示,例如 ufs、emcp、dram。 parts/decode、parts/search
controllerGroup 可选 指定控制器分组,用于影响解码结果或搜索候选。 parts/decode、identifiers/decode
idScheme 可选 typed identifier 解码方案,当前默认主要为 NAND Flash ID 方案。 identifiers/decode、identifiers/search
strict 可选 严格解码 / 搜索模式,未命中时不降级为宽松结果。 parts/decode、parts/search
limit 可选 搜索返回条目数上限。 parts/search、identifiers/search
query 是解码与搜索接口的必填参数;health 与 capabilities 不需要它。

端点总表

所有端点均为 GET 请求,路径统一以 /v1/api 开头,并提供 /health 短路径。

方法 路径 说明 主要参数
GET /health 健康检查的兼容短路径。 无
GET /v1/api/capabilities 获取服务版本、资源统计、controller groups、decoder 与能力清单。 lang
GET /v1/api/parts/decode 解码单个 PN、FBGA / Marking code 或可被 part API 识别的查询文本。 query、lang、vendor、chipKind、productType、controllerGroup、strict
GET /v1/api/parts/search 搜索 PN / Marking code,返回候选列表。 query、lang、vendor、chipKind、productType、strict、limit
GET /v1/api/identifiers/decode 解码 typed identifier,当前默认主要是 NAND Flash ID。 query、lang、controllerGroup、idScheme
GET /v1/api/identifiers/search 搜索 typed identifier,当前默认主要是 NAND Flash ID。 query、lang、idScheme、limit

核心端点

以下四个端点覆盖最常见的解码与搜索场景,复制路径或直接跳到下方试用。

GET 料号解码 query 必填

解码单个 PN、FBGA / Marking code,返回结构化解码结果。

/v1/api/parts/decode
在下方试用
GET 料号搜索 query 必填

按关键词搜索 PN / Marking code,返回候选列表及匹配信息。

/v1/api/parts/search
在下方试用
GET ID 解码 query 必填

解码 NAND Flash ID 等 typed identifier,输出器件与标识字段。

/v1/api/identifiers/decode
在下方试用
GET ID 搜索 query 必填

按关键词搜索 NAND Flash ID 等 typed identifier,返回候选列表。

/v1/api/identifiers/search
在下方试用

curl 示例

路径统一使用 /v1/api/... 相对形式;将占位符替换为你的实际域名即可调用。

# 料号解码:K4A8G085WB-BCRC
curl "https://fd.raana.icu/v1/api/parts/decode?query=K4A8G085WB-BCRC&lang=chs"

# Flash ID 解码:ADDA909544
curl "https://fd.raana.icu/v1/api/identifiers/decode?query=ADDA909544&lang=eng"

在线试用

输入料号 / Marking / Flash ID,选择操作后使用浏览器相对路径实时请求。

HTTP 状态:-
结果