稳定、快速、免费的 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": "26", "gzDate": "甲午", "gzMonth": "己卯", "gzYear": "乙巳", "isBigMonth": "", "jiri": "0", "lDate": "廿七", "lMonth": "二", "lunarDate": "27", "lunarMonth": "2", "lunarYear": "2025", "month": "3", "oDate": "2025-03-25T16:00:00.000Z", "suit": "结婚.买房.装修.祈福.祭祀.成人礼.铺路", "term": "", "timestamp": "1742918400", "year": "2025" }
PHP代码示例:
$type = $_GET["type"]; $url = "https://api.52vmy.cn/api/wl/wnl?type=".$type; echo file_get_contents($url);