mlsanityData to 7 Oct 2026

Revisiting, Benchmarking and Exploring API Recommendation: How Far Are We?

arXiv 2112.12653 ↗First posted 23 Dec 2021cs.SEcited by 21

Not on the map. Why?

Abstract (arXiv)

Application Programming Interfaces (APIs), which encapsulate the implementation of specific functions as interfaces, greatly improve the efficiency of modern software development. As numbers of APIs spring up nowadays, developers can hardly be familiar with all the APIs, and usually need to search for appropriate APIs for usage. So lots of efforts have been devoted to improving the API recommendation task. However, it has been increasingly difficult to gauge the performance of new models due to the lack of a uniform definition of the task and a standardized benchmark. For example, some studies regard the task as a code completion problem; while others recommend relative APIs given natural language queries. To reduce the challenges and better facilitate future research, in this paper, we revisit the API recommendation task and aim at benchmarking the approaches. Specifically, the paper groups the approaches into two categories according to the task definition, i.e., query-based API recommendation and code-based API recommendation. We study 11 recently-proposed approaches along with 4 widely-used IDEs. One benchmark named as APIBench is then built for the two respective categories of approaches. Based on APIBench, we distill some actionable insights and challenges for API recommendation. We also achieve some implications and directions for improving the performance of recommending APIs, including data source selection, appropriate query reformulation, low resource setting, and cross-domain adaptation.

Key facts. Cited by 21 papers in the map (data through 7 Oct 2026). First posted on arXiv 23 Dec 2021.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 1; 2024: 6; 2025: 10; 2026: 4.

21 papers.

Sort:

By area:

  1. 2025Survey on Evaluation of LLM-based Agentscited by 190
  2. 2024AndroidLab: Training and Systematic Benchmarking of Android Autonomous Agentscited by 105
  3. 2024ToolNet: Connecting Large Language Models with Massive Tools via Tool Graphcited by 59
  4. 2024Dataflow-Guided Retrieval Augmentation for Repository-Level Code Completioncited by 40
  5. 2025MCP-Zero: Active Tool Discovery for Autonomous LLM Agentscited by 32
  6. 2025ToolVQA: A Dataset for Multi-step Reasoning VQA with External Toolscited by 13
  7. 2025Evolutionary Perspectives on the Evaluation of LLM-Based AI Agents: A Comprehensive Surveycited by 12
  8. 2024Compositional API Recommendation for Library-Oriented Code Generationcited by 10
  9. 2024NewTerm: Benchmarking Real-Time New Terms for Large Language Models with Annual Updatescited by 7
  10. 2025Tools in the Loop: Quantifying Uncertainty of LLM Question Answering Systems That Use Toolscited by 7
  11. 2025CallNavi, A Challenge and Empirical Study on LLM Function Calling and Routingcited by 6
  12. 2025Towards Mitigating API Hallucination in Code Generated by LLMs with Hierarchical Dependency Awarecited by 6
9 more
  1. 2023Translating Regulatory Clauses into Executable Codes for Building Design Checking via Large Language Model Driven Function Matching and Composingcited by 5
  2. 2024Knowledge-aware Alert Aggregation in Large-scale Cloud Systems: a Hybrid Approachcited by 4
  3. 2025Live API-Bench: 2500+ Live APIs for Testing Multi-Step Tool Callingcited by 4
  4. 2026PORTS: Preference-Optimized Retrievers for Tool Selection with Large Language Modelscited by 4
  5. 2025Benchmarking AI Models in Software Engineering: A Review, Search Tool, and Unified Approach for Elevating Benchmark Qualitycited by 3
  6. 2026MetaToolAgent: Towards Generalizable Tool Usage in LLMs through Meta-Learningcited by 1
  7. 2026Tool Retrieval Bridge: Aligning Vague Instructions with Retriever Preferences via Bridge Modelcited by 1
  8. 2025Explore-Construct-Filter: An Automated Framework for Rich and Reliable API Knowledge Graph Constructioncited by 0
  9. 2026Beyond APIs: Probing the Limits of MLLMs in Physical Tool Usecited by 0