API Proxy Hub

高效 · 通用 · 优雅的 API 代理服务

API Proxy Hub,一款专为解决内地部分 API 访问限制而设计的代理工具。支持 HTTP 和 HTTPS 请求,通过 Vercel 部署即可轻松实现对受限 API 的稳定访问。

使用方式

在域名后添加 /https-proxy//http-proxy/,后接目标地址(无需协议部分)。

HTTPS 示例: https://your-domain/https-proxy/api.example.com/v1/path
HTTP 示例: https://your-domain/http-proxy/example.com/path

代码示例

fetch('https://your-domain/https-proxy/api.example.com/v1/endpoint', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    // 您的请求参数
  })
})
  .then(res => res.json())
  .then(data => console.log(data));
        

https://your-domain 替换为实际域名,api.example.com/v1/endpoint 替换为目标 API 地址。