适合什么时候用
无需身份验证
先注意什么
先确认文档深度和真实 endpoint 形态,再判断它是否适合正式接入。
第一步先查
通过REST API调用接口开始使用。无需身份验证,可直接查询数据,无需API密钥。
认证
none
CORS
支持
HTTPS
是
注册
免
延迟
582 ms
协议
REST
计费
free
可用率 · 30 天窗口
日常巡检数据收集后将在此处显示。
01
关于这个 API
1inch API 提供去中心化交易所的数据访问,允许开发者查询代币价格、兑换汇率和流动性信息。适用于需要实时或近实时去中心化金融数据的应用。
开发者可以利用该API构建加密交易工具、资产跟踪器或金融仪表盘,无需身份验证,简化集成流程。该API专注于去中心化交易所数据,适合展示或交互DeFi市场信息的项目。
API无需身份验证,用户应遵循常规使用规范。简单的REST接口便于多种编程环境集成,但未提供官方SDK信息。
02
你可以做什么
- 1展示去中心化交易所代币价格
- 2获取加密货币兑换汇率
- 3查询流动性池信息
- 4构建加密交易仪表盘
03
优劣对比
优点
- 无需身份验证
- 专注去中心化交易所数据
- 简单的REST接口
04
示例请求
通用模板 — 实际 endpoint 请查阅文档替换 <endpoint>。
curl https://1inch.io/api/<endpoint>05
快速开始
通过REST API调用接口开始使用。无需身份验证,可直接查询数据,无需API密钥。
06
常见问题
Do I need an API key to use the 1inch API?+
No, the 1inch API does not require authentication or an API key.
What kind of data can I retrieve from the 1inch API?+
You can retrieve decentralized exchange data such as token prices, swap rates, and liquidity information.
Is HTTPS required to access the API?+
While not explicitly stated, it is standard practice to use HTTPS for secure API calls.
Can I use the API directly from a browser?+
Yes, since no authentication is required, you can make requests directly from client-side code, but be mindful of CORS policies.
07
技术细节
CORS: YesHTTPS: Yes注册: No开源: No
- 认证方式
- none
- 计费
- free
- 协议
- REST
- 响应时间
- 582 ms