稳定、快速、免费的 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": "3", "desc": "寒食节", "festivalList": "寒食节", "gzDate": "壬寅", "gzMonth": "己卯", "gzYear": "乙巳", "isBigMonth": "1", "jiri": "0", "lDate": "初六", "lMonth": "三", "lunarDate": "6", "lunarMonth": "3", "lunarYear": "2025", "month": "4", "oDate": "2025-04-02T16:00:00.000Z", "suit": "签订合同.交易.动土.安机械.安葬.修造.入殓.成人礼.破土", "term": "", "timestamp": "1743609600", "year": "2025" }
PHP代码示例:
$type = $_GET["type"]; $url = "https://api.52vmy.cn/api/wl/wnl?type=".$type; echo file_get_contents($url);