通用 API 中转代理,用于访问被墙或限制的接口。
中转任意 API:在请求 URL 后添加 ?url=目标地址 参数
https://luna-api.341358.xyz/?url=<示例API地址>
| format | 0 或 raw = 原始 JSON1 或 proxy = 添加代理前缀2 或 base58 = 原始 Base58 编码3 或 proxy-base58 = 代理 Base58 编码4 或 source-list = 输出地址列表格式 |
| source | jin18 = 精简版jingjian = 精简版+成人full = 完整版(默认) |
| proxy | 1 / true = 仅在 format=4 时,将 url 和 detailUrl 替换为代理地址 |
| prefix | 自定义代理前缀(在 format=1、format=3,以及 format=4&proxy=1 时生效) |
输出结构如下,不影响现有 JSON / Base58 格式:
[
{
"id": "source1",
"name": "示例视频源",
"url": "https://api.example.com/search",
"detailUrl": "https://api.example.com/detail",
"isEnabled": true
}
]
原始地址列表:https://luna-api.341358.xyz?format=4&source=jin18
代理地址列表:https://luna-api.341358.xyz?format=4&source=jin18&proxy=1
原始 JSON:https://luna-api.341358.xyz?format=0&source=jin18
中转代理 JSON:https://luna-api.341358.xyz?format=1&source=jin18
原始 Base58:https://luna-api.341358.xyz?format=2&source=jin18
中转 Base58:https://luna-api.341358.xyz?format=3&source=jin18
原始 JSON:https://luna-api.341358.xyz?format=0&source=jingjian
中转代理 JSON:https://luna-api.341358.xyz?format=1&source=jingjian
原始 Base58:https://luna-api.341358.xyz?format=2&source=jingjian
中转 Base58:https://luna-api.341358.xyz?format=3&source=jingjian
原始 JSON:https://luna-api.341358.xyz?format=0&source=full
中转代理 JSON:https://luna-api.341358.xyz?format=1&source=full
原始 Base58:https://luna-api.341358.xyz?format=2&source=full
中转 Base58:https://luna-api.341358.xyz?format=3&source=full