When fan selection software has to work inside another engineering or product configuration system, there are two common ways to connect it: API integration and DLL integration.

Both can give access to the same fan selection engine, but they work in very different ways. The best choice depends on the IT environment, internet access, update strategy and how deep the integration needs to be.

The short answer: with an API, the calculation engine runs on a server; with a DLL, it runs locally, inside or next to the host application. That one difference decides maintenance, updates, security and architecture.

API the engine runs on a server Your software AHU program · website · ERP · BIM plugin Request airflow, pressure… Result fans + data HTTPS · JSON / XML CloudAir server Selection engine Central product database DLL the engine runs locally Your software desktop engineering application Function call in-process Result no network Fan selection DLL Selection engine Product data of this release your computer or company server
The same selection engine, two places to run it. With an API, your software sends the duty point to a server and receives the result. With a DLL, the engine and its product data sit next to your software and answer a local function call.

What is an API?

An API lets another application talk to the fan selection engine over a network. An AHU selection program, for example, can send:

  • airflow,
  • pressure,
  • temperature and air density,
  • fan type,
  • efficiency requirements.

The API processes the request and returns the suitable fans with their technical data:

  • the operating point,
  • efficiency, power and speed,
  • sound data,
  • FEI and ErP compliance,
  • dimensions,
  • product identification.

Communication is usually in JSON or XML over HTTPS.

JSON response of a CloudAir fan selection API called with airflow, pressure and voltage parameters, listing curve points, fitted polynomial coefficients and acoustic data for each matching fan
A selection request to a CloudAir API is a single URL with the duty point and other parameters. The JSON response carries each matching fan with its curve points, fitted coefficients and acoustic data, ready for the host program to use.

What is a DLL?

A DLL (Dynamic Link Library) packages the fan selection engine as a software library that runs locally, inside another application.

Instead of sending a request to a remote server, the host software calls functions of the DLL installed on the same computer or company server, passes the operating parameters and receives the selection result directly. No internet connection is involved.

Advantages of API integration

An API is often the best solution when the selection engine has to stay continuously up to date. Because the engine and the product database are hosted centrally, every connected application uses the latest version.

This matters especially when:

  • product data changes frequently,
  • new fan series are added,
  • calculation methods are updated,
  • FEI or ErP rules change,
  • corrections must be deployed quickly,
  • several external systems use the same engine.

There is no new library to distribute after each change. The update is made once on the server and is immediately available to every connected system.

One central database

With an API, all external applications work with the same central product database, which removes the risk of departments or customers using outdated product data. The manufacturer's online selection software, an AHU selection program, the internal sales system, a BIM integration and a mobile app can all call the same API, so there is one source of technical product data.

Disadvantages of API integration

The main drawback is that an API normally needs an internet or network connection. If the server cannot be reached, the external system cannot perform a selection. For customers working with offline desktop engineering software, that can be decisive.

An API also requires server infrastructure and ongoing maintenance on the provider's side.

Advantages of DLL integration

The main advantage of a DLL is that it works completely offline. Once installed, the engine runs without any external server. This is particularly useful for:

  • desktop engineering applications,
  • offline environments,
  • internal company systems,
  • installations with strict network restrictions,
  • software that must keep working without internet access.

Communication is also very fast, because every calculation happens locally.

Disadvantages of DLL integration

The biggest drawback is updates. When the selection engine changes, a new DLL version has to be distributed and installed, for example when:

  • fan data changes,
  • new product series are added,
  • algorithms are improved,
  • calculation rules or standards change,
  • bugs are corrected.

With many installations, version management gets complicated: one customer may still run an older library while another already has the latest one.

API update once, on the server Server engine v2.4 Website v2.4 ✓ AHU v2.4 ✓ Sales v2.4 ✓ BIM v2.4 ✓ Every connected system uses the new version the moment it goes live. DLL install at every site New release DLL v2.4 Site 1 v2.4 ✓ Site 2 v2.3 ! Site 3 v2.4 ✓ Site 4 v2.1 ! Each installation updates on its own schedule, so versions drift apart.
The biggest practical difference is maintenance. A server-side change reaches every API client at once; a new DLL has to be installed everywhere it runs, and until it is, different users select fans with different data.

API vs DLL comparison

FeatureAPIDLL
Internet connectionUsually requiredNot required
Where the engine runsOn a serverLocally
Central updatesYesNo, each installation
Access to the latest dataAutomaticDepends on the installed version
Offline operationLimitedYes
Version controlEasyMore difficult
Product databaseCentralUsually local, per release
Server requiredYesNo
Desktop software integrationYesVery good
Web application integrationVery goodLimited

Which is better for AHU selection software?

Both can work very well. If the AHU selection program is connected to the internet and the fan data should always be current, an API is usually the better solution. If the AHU software must work offline, a DLL may be the better choice.

That is why some manufacturers implement both, with the same calculation logic available as an API for online systems and a DLL for offline desktop applications.

Can API and DLL be developed together?

Yes, and in many projects it is the best architecture. The same core selection algorithms serve both integrations: the API gives centralized, always-current access, and the DLL gives local, offline access. The manufacturer can then connect its selection engine to very different kinds of software without maintaining two calculation methods.

One fan selection engine same algorithms · same product database API · online systems DLL · offline systems Online selection software Internal sales software AHU selection program BIM or CAD plugin Offline engineering software AHU selection program (desktop) BIM or CAD plugin (offline)
One engine, two delivery channels. The AHU program and the BIM plugin appear on both sides: they can use either, depending on whether they run online or must work without a connection. The calculation method is the same everywhere.

The calculation method stays consistent even though the integration method differs. On our platform, the fan selection software, the online selection API and the DLL library are all built on the same engine and fed by the same product database.

Integration modules in the CloudAir pricing calculator: product catalog generator, DLL library, online selection API and dark mode, each with a one-time and a monthly price
The DLL library and the online selection API are separate modules in our pricing calculator, so a project can start with one and add the other later.

Data updates are an important consideration

Product data changes over time. Manufacturers introduce new fan sizes, new motors, new performance curves, revised sound data, new accessories and updated efficiency data.

With an API, these changes are available as soon as the central database is updated. With a DLL, users may need to install a new version first. This is one of the most important factors in the choice.

Security

Both approaches can be implemented securely. An API can use:

  • API keys and authentication tokens,
  • encrypted HTTPS communication,
  • access restrictions,
  • request logging.

A DLL protects the calculation logic by compiling it into a binary library instead of handing over source code. The right method depends on how the manufacturer wants to distribute and protect its selection technology.

Performance

For normal fan selection, both are fast. A DLL avoids network latency because everything runs locally; an API adds a network request, but for a typical engineering selection the delay is very small.

Architecture matters more when thousands of calculations run automatically, for example when the selection engine is part of a larger optimization process.

Maintenance

This is where the API has a major advantage. With an API, one update updates every connected application. With a DLL, every installation may need to be updated separately. Over the life of a product range, that difference adds up.

When should you choose an API or a DLL?

Choose an API when:

  • the application is online,
  • product data changes frequently,
  • automatic updates are important,
  • several systems use the same fan database,
  • the manufacturer wants centralized control,
  • the latest calculation engine must always be used.

Choose a DLL when:

  • the software must work offline,
  • no dependency on an external server is allowed,
  • the host is a Windows desktop application,
  • very tight local integration is required,
  • internet access cannot be guaranteed.
Must the host software work without an internet connection? No Yes API ✓ online software and websites ✓ product data that changes often ✓ several systems, one database ✓ always the latest engine Do you also run online systems? No Yes DLL offline only API + DLL one engine, both
A quick way to decide. Offline operation is the question that settles most cases; everything else (data changes, number of connected systems, maintenance) points towards the API.

API and DLL are not competitors

API and DLL are not competing technologies; they solve slightly different problems. For many manufacturers the best solution uses both: the API as the primary, continuously updated selection service, and the DLL as the offline alternative for desktop and specialist engineering applications.

Planning an API or DLL for your fans?See both integration modules, with the rest of the program, in our pricing calculator.
Configure your program

Conclusion

There is no universal answer to whether API or DLL integration is better for fan selection software. It depends mainly on how the external application will be used.

Choose an API when centralized updates, shared product data and online integration are the priority. Choose a DLL when offline operation and local integration matter more.

For complex projects, both can be developed in parallel on the same selection logic, combining a centrally maintained online system with the flexibility of offline integration. To understand what the engine behind both does, read what fan selection software is, and for budgeting, how much fan selection software costs.

Frequently asked questions

What is the difference between a fan selection API and a DLL?

An API runs the selection engine on a server and is called over the network, usually with JSON or XML over HTTPS. A DLL is a library with the engine that runs locally inside the host application, without a network connection.

Does a fan selection DLL work offline?

Yes. Once installed, the DLL performs selections without any external server, using the product data included in its release.

How are DLL product data updates delivered?

With a new DLL version, which has to be installed wherever the library runs. With an API, the same changes become available to all connected systems as soon as the central database is updated.

Can one manufacturer offer both an API and a DLL?

Yes. Both can be built on the same selection engine, so online systems use the API, offline desktop software uses the DLL, and the calculation method stays the same.