稳定、快速、免费的 API 接口服务
每日万年历
接口地址: https://api.52vmy.cn/api/wl/wnl
返回格式: JSON
请求方式: GET
请求示例: https://api.52vmy.cn/api/wl/wnl
接口定制: 点此加入用户群
默认QPS: 每2秒最多4次 携带Token可无视限制
接口备注:点击前往 黄历
请求参数说明:
| 名称 | 必填 | 类型 | 说明 |
|---|---|---|---|
| type | 否 | string | 返回格式默认JSON可选text |
返回参数说明:
| 名称 | 类型 | 说明 |
|---|
返回示例:
{
"animal": "马",
"avoid": "安葬.作灶.开光.斋醮",
"cnDay": "五",
"day": "13",
"gzDate": "丙戌",
"gzMonth": "辛卯",
"gzYear": "丙午",
"isBigMonth": "1",
"jiri": "1",
"lDate": "廿五",
"lMonth": "正",
"lunarDate": "25",
"lunarMonth": "1",
"lunarYear": "2026",
"month": "3",
"oDate": "2026-03-12T16:00:00.000Z",
"suit": "结婚.出行.搬家.签订合同.交易.开业.动土.安床.祭祀.修造.入殓.移柩.成人礼.收养子女.破土",
"term": "",
"timestamp": "1773331200",
"year": "2026"
}
PHP代码示例:
$type = $_GET["type"]; $url = "https://api.52vmy.cn/api/wl/wnl?type=".$type; echo file_get_contents($url);