APIMiner platform follows a pipeline architecture with the following modules:
| Source Code Analyzer | This module analyzes the source code of the API and the client systems to extract structural data |
| Patterns Analyzer | This module extracts usage patterns of the API elements based on their usage by the client systems |
| Examples Extractor | This module extracts the usage examples from the source code of the client systems |
| Recommendation Engine | This module generates the recommendations of the patterns and the usage examples based on data extracted by the previous modules |
| JavaDoc Weaver | This module instruments the documentation of the API to include usage examples |