公開 JSON API
每一筆紀錄,皆為開放資料。
VPN Labs API 是唯讀、無需金鑰的 JSON 介面,可存取研究紀錄登錄庫。目前透過固定的 /api/v1/ 網址提供 11 筆公開紀錄與 216 個證據項目,對所有來源啟用 CORS,回應快取一小時。
- 無需金鑰,無需帳號
- 對所有來源啟用 CORS
- 快取一小時,支援 ETag / 304
結構描述 v1.0 · 文件更新於 2026年11月13日
介面概覽
結構描述 v1.0- 基礎網址
https://vpn.com.de/api/v1/- 方法
- GET 與 HEAD,唯讀
- 驗證
- 無。無需金鑰,無需帳號。
- 格式
application/json; charset=utf-8- CORS
Access-Control-Allow-Origin: *- 快取
max-age=3600,另支援 ETag / 304- 登錄庫更新時間
5 個端點,共用同一套結構描述
每個 JSON 回應都是一個封套,包含 schemaVersion、generatedAt 與 source,其後才是資料。在結構描述第 1 版的有效期間內,路徑保持穩定。所有端點皆接受 GET 與 HEAD。
-
GET JSON 200
所有公開研究紀錄的索引:編號、標題、類型、狀態、委託類型、產品、日期、版本、網址與嚴重程度統計。
-
GET 重新導向 301
永久重新導向(301)至標準完整紀錄 /reports/{id}.json。未知的編號會回傳 404。
-
GET JSON 200
登錄庫總計:紀錄、產品、發現事項、證據項目、已驗證證據、各類型紀錄數與最後更新時間。
-
GET JSON 200
所有證據項目的扁平索引:紀錄編號、證據編號、標籤、種類、存取等級、已公布的 SHA-256、大小、擷取日期、網址與完整性狀態。
-
GET JSON 200 / 400
/search.json?q={query}&type={type}站內搜尋的前 20 筆結果,含類型、網址、摘要、純文字摘錄與分數,另附類型分面。缺少 q 或 q 為空時會回傳 400。
各紀錄專屬檔案
每筆紀錄也有各自的機器可讀檔案,與報告頁面放在同一處提供。 範例連結指向紀錄 VPNL-2026-0020。
| 路徑 | 格式 | 內容 |
|---|---|---|
/reports/{id}.json | JSON | 完整的公開紀錄:發現事項、CVSS 向量、附雜湊值的證據清單、廠商回應、揭露與版本歷程。 |
/reports/{id}/cite.bib | BibTeX | 供參考文獻管理工具與 LaTeX 使用的引用項目。 |
/reports/{id}/cite.ris | RIS | 供 Zotero、EndNote、Mendeley 等工具使用的引用資料。 |
/reports/{id}/cite.json | CSL-JSON | 供以 citeproc 為基礎的工具使用的 Citation Style Language 資料。 |
/evidence/manifests/{id}.sha256 | 文字 | 某筆紀錄之證據檔案的 SHA-256 清單,採用 sha256sum 格式。 |
/evidence/manifests/{id}.json | JSON | 同一份證據清單的 JSON 版本。 |
/evidence/lookup?sha256={hash} | JSON | 查找已公布或計算出的 SHA-256 等於指定雜湊值的證據項目。 |
紀錄索引
每筆公開紀錄對應一個項目,由新到舊排列,包含已更新與已撤回的紀錄。請先用它找出編號,再從 jsonUrl 取得完整紀錄。
| 欄位 | 型別 | 說明 |
|---|---|---|
id | string | 永久報告編號,格式為 VPNL-YYYY-NNNN。不會重複使用或重新指派。 |
title | string | 紀錄的發布標題。 |
type | string | review | audit | verification | benchmark |
typeLabel | string | 人類可讀的類型名稱,例如「安全稽核」。 |
status | string | published | updated | retracted。已撤回的紀錄仍會連同其狀態列出。 |
demo | boolean | 選用的結構描述欄位,為相容性而保留;已發布的研究紀錄一律為 false。 |
engagement | string | 委託類型:independent(自行發起,無廠商資金)或 commissioned(由廠商付費,並加註標示)。 |
product | object | null | 受測產品的 { name, slug }。 |
summary | string | null | 中立摘要,最多 320 個字元。 |
dates | object | { testStart, testEnd, published, updated },皆為 ISO 8601 日期;在首次修訂之前,updated 為 null。 |
lastModified | string | 最新發布版本的日期(updated;若從未修訂則為 published)。 |
version | string | null | 紀錄版本;每次發布修訂時遞增。 |
url | string | 標準 HTML 報告網址。 |
jsonUrl | string | 完整的機器可讀紀錄(/reports/{id}.json)。 |
citation | object | { bibtex, ris, cslJson }:現成引用格式的網址。 |
findings | integer | 紀錄中的發現事項數量。 |
severityCounts | object | { critical, high, medium, low, info, pass }:各嚴重程度的發現事項數量。 |
{
"schemaVersion": "1.0",
"generatedAt": "2026-11-25T12:32:26.967Z",
"source": {
"publisher": "VPN Network Research Labs",
"brand": "VPN Labs",
"url": "https://vpn.com.de/",
"documentation": "https://vpn.com.de/api"
},
"attribution": "Cite as: VPN Labs (VPN Network Research Labs), <record title>, report <id>, version <version>, <url>.",
"count": 11,
"records": [
{
"id": "VPNL-2026-0020",
"title": "JJLink: Transparency Review of Public Policies",
"type": "review",
"typeLabel": "VPN Technical Review",
"status": "published",
"demo": false,
"engagement": "independent",
"product": {
"name": "JJLink",
"slug": "jjlink"
},
"summary": "Document review of the public pages of JJLink, a free iOS VPN app, on 25 November 2026. Transparency scores 2.5 of 10 under methodology v2.0. Leak protection, security and privacy engineering, performance and reliability were not assessed, so no overall score is published. No client was installed or tested.",
"dates": {
"testStart": "2026-11-25",
"testEnd": "2026-11-25",
"published": "2026-11-25",
"updated": "2026-11-25"
},
"lastModified": "2026-11-25",
"version": "1.0",
"url": "https://vpn.com.de/reports/VPNL-2026-0020",
"jsonUrl": "https://vpn.com.de/reports/VPNL-2026-0020.json",
"citation": {
"bibtex": "https://vpn.com.de/reports/VPNL-2026-0020/cite.bib",
"ris": "https://vpn.com.de/reports/VPNL-2026-0020/cite.ris",
"cslJson": "https://vpn.com.de/reports/VPNL-2026-0020/cite.json"
},
"findings": 0,
"severityCounts": {
"critical": 0,
"high": 0,
"medium": 0,
"low": 0,
"info": 0,
"pass": 0
}
}
]
}
從索引項目到可引用的紀錄
索引刻意保持精簡。完整紀錄包含附有 CVSS v4.0 向量的發現事項、證據雜湊值、廠商回應、揭露時間軸與版本歷程,每筆紀錄皆對應唯一的標準 JSON 網址。
/api/v1/records/{id}.json 會以永久重新導向(301)回應至 /reports/{id}.json。支援重新導向的用戶端可將兩個網址視為相同;快取與封存系統則應儲存標準的 /reports/ 網址。
編號比對不分大小寫,且格式必須為 VPNL-YYYY-NNNN;未知或格式錯誤的編號將回傳 404。紀錄編號永不變更,即使紀錄遭撤回,也不會重複使用。
引用時,建議使用為每筆紀錄產生的檔案,包括 BibTeX(cite.bib)、RIS(cite.ris)與 CSL-JSON(cite.json),這些檔案一律載明目前的版本與日期。
# 所有公開紀錄的索引
curl -s https://vpn.com.de/api/v1/records.json
# 完整紀錄(會跟隨 301 重新導向至 /reports/{id}.json)
curl -sL https://vpn.com.de/api/v1/records/VPNL-2026-0020.json
# 現成的引用格式(BibTeX、RIS 或 CSL-JSON)
curl -s https://vpn.com.de/reports/VPNL-2026-0020/cite.bib
# 重新驗證:若內容未變更,將輸出 304
etag=$(curl -sI https://vpn.com.de/api/v1/stats.json | grep -i '^etag' | cut -d' ' -f2- | tr -d '\r')
curl -s -o /dev/null -w '%{http_code}\n' -H "If-None-Match: $etag" https://vpn.com.de/api/v1/stats.json
const res = await fetch('https://vpn.com.de/api/v1/records.json');
const { records } = await res.json();
// 已撤回的紀錄仍會列出:引用現行結果時請將其排除。
const citable = records.filter((r) => r.status !== "retracted");
for (const r of citable) {
const full = await (await fetch(r.jsonUrl)).json();
console.log(r.id, r.version, full.findings.length);
}
登錄庫統計
所有公開紀錄(含已撤回者)的總計,於載入登錄庫時計算。
| 欄位 | 型別 | 說明 |
|---|---|---|
records | integer | 公開紀錄數,含已撤回的紀錄。 |
products | integer | 至少有一筆紀錄的不同產品數。 |
findings | integer | 所有公開紀錄的發現事項總數。 |
evidence | integer | 所有公開紀錄的證據項目總數。 |
verifiedEvidence | integer | 已儲存檔案與已公布 SHA-256 相符的證據項目數。 |
byType | object | 各類型的紀錄數:review、audit、verification、benchmark。 |
lastUpdated | string | null | 最近一次紀錄修改的日期。 |
generatedAt | string | 產生此回應所依據之登錄庫快照的 ISO 8601 時間戳記。 |
{
"schemaVersion": "1.0",
"generatedAt": "2026-11-25T12:32:26.967Z",
"source": {
"publisher": "VPN Network Research Labs",
"brand": "VPN Labs",
"url": "https://vpn.com.de/",
"documentation": "https://vpn.com.de/api"
},
"records": 11,
"products": 7,
"findings": 60,
"evidence": 216,
"verifiedEvidence": 214,
"byType": {
"review": 7,
"audit": 4,
"verification": 0,
"benchmark": 0
},
"lastUpdated": "2026-11-25"
}
含完整性狀態的證據索引
列出每筆公開紀錄的每個證據項目,附上其已公布的 SHA-256 雜湊值、所屬紀錄的狀態,以及在載入登錄庫時重新計算已儲存檔案雜湊值所得的完整性狀態。
| 欄位 | 型別 | 說明 |
|---|---|---|
recordId | string | 該證據所屬的報告編號。 |
id | string | 證據在紀錄內的編號,例如 E-01。 |
label | string | 檔案的簡短說明。 |
kind | string | log | pcap | screenshot | report | dataset | config | manifest |
mediaType | string | null | 檔案的 IANA 媒體類型。 |
access | string | public | restricted | withheld |
sha256 | string | null | 已公布的 SHA-256 雜湊值(小寫十六進位)。 |
bytes | integer | null | 檔案大小(位元組)。 |
captured | string | null | 擷取日期或時間戳記。 |
url | string | 證據項目頁面。 |
fileUrl | string | null | 直接下載網址;除非存取等級為 public 且檔案已儲存,否則為 null。 |
integrity | string | verified | mismatch | unpublished-hash | hash-only | unavailable(見下文)。 |
recordStatus | string | 所屬紀錄的狀態:published | updated | retracted。基於透明度,已撤回紀錄的證據仍會列出。 |
retracted | boolean | 所屬紀錄已撤回時為 true。請勿將其證據當作現行發現事項的佐證。 |
demo | boolean | 沿用所屬紀錄的 demo 欄位;已發布的研究紀錄一律為 false。 |
{
"schemaVersion": "1.0",
"generatedAt": "2026-11-25T12:32:26.967Z",
"source": {
"publisher": "VPN Network Research Labs",
"brand": "VPN Labs",
"url": "https://vpn.com.de/",
"documentation": "https://vpn.com.de/api"
},
"note": "A matching SHA-256 hash proves that a file is unchanged since publication; it does not prove that the conclusions drawn from it are correct.",
"count": 216,
"integrity": {
"verified": 214,
"hash-only": 2
},
"items": [
{
"recordId": "VPNL-2026-0020",
"id": "E-01",
"label": "Transparency source: zfualink.com website with privacy policy and terms of service",
"kind": "report",
"mediaType": "text/plain",
"access": "public",
"sha256": "a5f102488a292974c0c4ae3efbc64f828befc36fdf8e37224036dbcf85a0a6d9",
"bytes": 27430,
"captured": "2026-11-25T10:44:12Z",
"url": "https://vpn.com.de/evidence/VPNL-2026-0020/E-01",
"fileUrl": "https://vpn.com.de/evidence/files/VPNL-2026-0020/transparency-2026-11-25/index.html.txt",
"integrity": "verified",
"recordStatus": "published",
"retracted": false,
"demo": false
},
{
"recordId": "VPNL-2026-0020",
"id": "E-02",
"label": "Transparency source: App Store listing of the JJlink app",
"kind": "report",
"mediaType": "text/plain",
"access": "public",
"sha256": "375d075423d5426b75cbc6cac9293ecbb07839df1c3ec7a3ed7f7b1675eff031",
"bytes": 465331,
"captured": "2026-11-25T10:44:12Z",
"url": "https://vpn.com.de/evidence/VPNL-2026-0020/E-02",
"fileUrl": "https://vpn.com.de/evidence/files/VPNL-2026-0020/transparency-2026-11-25/appstore-listing.html.txt",
"integrity": "verified",
"recordStatus": "published",
"retracted": false,
"demo": false
}
]
}
完整性狀態
| integrity | 意義 | 目前項目數 |
|---|---|---|
verified | 已公布的 SHA-256 與由儲存檔案計算出的雜湊值相同。 | 214 |
mismatch | 儲存檔案的雜湊值與已公布的雜湊值不同。請將該檔案視為未經驗證,並透過更正頁面回報。 | 0 |
unpublished-hash | 檔案已儲存,但尚未公布其雜湊值。 | 0 |
hash-only | 檔案不予公開,僅公布其雜湊值,以便日後檔案釋出時可供驗證。 | 2 |
unavailable | 既無已儲存的檔案,也無已公布的雜湊值。 | 0 |
提供給爬蟲的訂閱源、網站地圖與檔案
提供訂閱源閱讀器、搜尋引擎與語言模型使用的標準格式。訂閱源收錄最新 50 筆有日期的紀錄與研究文章;網站地圖則列出各語言所有可索引的網址。
-
Atom 訂閱源
最新 50 筆有日期的紀錄與研究文章。
-
RSS 訂閱源
相同的項目,供 RSS 閱讀器使用。
-
JSON Feed
相同的項目,以 JSON Feed 格式提供。
-
XML 網站地圖索引
各區段網站地圖的索引,列出每個可索引網址及其最後修改日期。
-
llms.txt
供語言模型使用的網站精選 Markdown 摘要,附引用規則。
-
llms-full.txt
所有公開頁面的完整純文字語料,依區段分組。
-
robots.txt
爬蟲規則;歡迎搜尋與 AI 爬蟲存取。
-
security.txt
漏洞揭露的聯絡方式與政策。
-
OpenSearch 描述檔
讓瀏覽器可將 VPN Labs 加入為搜尋引擎。
-
網頁應用程式資訊清單
網站的名稱、圖示與色彩。
-
humans.txt
網站的發布者,以及所實作的標準。
資料使用規則
開放存取附帶幾項請求:標明資料來源、註明紀錄版本,並維持適度的流量。如有疑問,請來信 support@vpn.com.de。
-
開放、唯讀、無需金鑰
所有端點皆為公開且唯讀。無需註冊、無需 API 金鑰,也無需任何驗證。僅支援 GET 與 HEAD。
-
對所有來源啟用 CORS
JSON、XML 與文字回應皆帶有 Access-Control-Allow-Origin: *,因此可由任何網域上以瀏覽器為基礎的研究工具直接擷取。
-
快取與重新驗證
回應會附上 Cache-Control: public, max-age=3600 與弱 ETag。傳送 If-None-Match,即可在內容未變更時收到 304 Not Modified;若用戶端要求,則會套用 gzip 與 Brotli 壓縮。
-
請求頻率預期
請將自動化流量的持續速率控制在每秒不到一個請求,輪詢訂閱源與索引的頻率不要超過每小時一次,並在 User-Agent 中附上具描述性的名稱與聯絡信箱。我們可能在網路邊緣執行限流,恕不另行通知。
-
版本化的結構描述
每個 JSON 封套都會標明結構描述版本(schemaVersion)。在 /api/v1/ 之下,欄位可能新增,但不會移除或更名;若有不相容的變更,將以新的路徑(例如 /api/v2/)發布。
-
標明出處
引用、摘要或以圖表呈現這些資料時,請標明 VPN Labs(VPN Network Research Labs)、列出報告編號與版本,並附上報告網址連結。
-
大量再利用
針對大量轉發的正式資料授權條款尚未公布。若要完整轉載整個資料集,請先與我們聯絡。
關於 API 的常見問題
使用 VPN Labs API 需要 API 金鑰嗎?
不需要。所有端點皆為公開且唯讀,無需金鑰、帳號或任何驗證。
可以從其他網域的網頁呼叫這個 API 嗎?
可以。每個 JSON、XML 與文字端點都會回傳標頭 Access-Control-Allow-Origin: *,因此瀏覽器允許跨來源請求。
如何下載完整的紀錄?
請求 /api/v1/records/{id}.json,它會以永久重新導向(301)轉到 /reports/{id}.json。後者是標準的機器可讀紀錄,包含發現事項、證據雜湊值、廠商回應與版本歷程。
資料的時效性如何?
回應由研究紀錄登錄庫產生,最多快取一小時。generatedAt 欄位標示登錄庫快照的時間;每筆紀錄另有各自的發布與更新日期。
尚未發布任何紀錄時,端點會傳回什麼?
傳回有效的回應:包含一般的封套(schemaVersion、generatedAt、source)、空的 records 或 items 清單,以及為零的計數。請將空清單視為正常狀態;新紀錄一經發布便會出現在索引中。
如何驗證從 API 取得的證據檔案?
下載 fileUrl,計算其 SHA-256(Linux 使用 sha256sum,macOS 使用 shasum -a 256,PowerShell 使用 Get-FileHash),再與 sha256 欄位比對;也可使用位於 /evidence/verify 的瀏覽器驗證工具。雜湊值相符只能證明檔案未被變更,並不代表結論正確。