@api3/api-integrations

中文文档
22.9.0发布于 2026/10/30UNLICENSEDTypeScriptCommonJS近 30 天下载 2426

Repository for API integration related operations.

原始使用文档

api-integrations

Repository for managing API integrations.

api-data.json

There is api-data.json file for each API provider in data/apis/<api-name>/api-data.json path. This file includes the below information.

  • alias: Unique alias used for API.
  • providerType: States the type of the provider. It can be either rest or rpc.
  • name: Name of the API for public use.
  • airnode: Airnode address of the API.
  • previousAirnodes: Airnode addresses that APIs used to have before mnemonic rotations.
  • xpub: Extended public key.
  • supportedFeedsInBatches: Name of the data feeds in batches supported by API, seperated by OIS titles.
  • deploymentConfigurations: Deployment configurations describes the APIs deployments.
    • signedApi is a flag that indicates if the API has an Signed API deployment.
    • region is the region that the deployment is made.
    • provider is indicates the deployment location. It could be aws or local.
  • homepageUrl: API provider's website's homepage URL.
  • verifiedBaseUrl: URL where includes API provider's Airnode address in it's TXT records for people to be able to be confirm the Airnode address.
  • signedApiUrl: URL for the Signed API deployed by the API provider.
  • productionSignedApiUrls: URLs of the Signed APIs where Airnode feeds deployed by the API provider push data to.
  • stagingSignedApiUrl: URL of the Signed API where staging Airnode feed deployed by the API provider push data to.

Mock APIs

Before adding a new dAPI, we survey it for the following reasons:

  • Assessing the data quality of the dAPI.
  • Estimating the update count for the dAPI.

Since Airnode feed redeployments with partner API providers occur monthly, we maintain a mock version of each API that mirrors the management processes of the actual APIs. The primary difference between a mock API and an actual API is that we handle Airnode feed deployments for the mock APIs ourselves, allowing flexibility during the surveying step.

When a new dAPI is to be added to the market, the related data feeds are first added to the mock version of the actual API. After surveying, they are then added to the actual API just before the Airnode feed redeployments (Fints).

版本与发布记录

@api3/api-integrations 共发布 162 个版本,首次发布于 2023/11/30;过去 12 个月发布了 46 个版本。

版本发布日期距今
22.9.0latest2026/10/308 天前
22.8.02026/10/1226 天前
22.7.02026/10/0929 天前
22.6.02026/10/071 个月前
22.5.02026/10/021 个月前
22.4.02026/09/091 个月前

关于 @api3/api-integrations 的常见问题

@api3/api-integrations 是什么?

Repository for API integration related operations.

如何安装 @api3/api-integrations?

在项目目录运行 npm install @api3/api-integrations,或使用 pnpm add / yarn add / bun add。

@api3/api-integrations 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@api3/api-integrations 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@api3/api-integrations 可以商用吗?

@api3/api-integrations 使用 UNLICENSED 许可。作者声明为 UNLICENSED,即不授予公开使用许可(与公共领域的 Unlicense 不同)。使用前需获得作者授权。以上为概括,不构成法律意见,请以许可原文为准。

@api3/api-integrations 的下载量有多少?

根据 npm 官方下载统计,@api3/api-integrations 在 2026/10/06 – 2026/11/04 这 30 天内被下载 2,426 次,日均约 81 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@api3/api-integrations 还在维护吗?

最新版本 22.9.0 发布于 2026/10/30(8 天前);至今共发布 162 个版本,其中过去 12 个月发布了 46 个;首次发布于 2023/11/30。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。