Creating API Calls in Large Clinical Datasets for Surgery Outcomes Research

BackgroundApplication Programming Interfaces (APIs) enable seamless communication and data exchange between different software systems. In clinical research, APIs provide a powerful and efficient way to access large datasets, allowing researchers to develop reproducible workflows for data extraction and analysis.Methods and ResultsAPI calls were constructed using Python to extract data from 2 publicly available sources: NIH RePORTER and the CMS Medicare datasets. The NIH API was queried with a JSON payload to retrieve project-level funding data by year and keyword, while the CMS API was accessed via URL parameters to filter Medicare enrollment by state and year. Scripts were written to scale queries across multiple years and automate data collection, with outputs saved in CSV format for further analysis.ConclusionAPI-based data extraction is a scalable and reproducible method for accessing large clinical and research datasets. By leveraging NIH and CMS APIs, researchers can automate queries, customize filters, and retrieve longitudinal data to support health care analysis. Broader use of API workflows may enhance data accessibility and research efficiency across clinical disciplines.

Authors

Institutions

Publication Details

Journal
The American Surgeon
Published
2025-10-25
DOI
https://doi.org/10.1177/00031348251381624
Primary Topic
Scientific Computing and Data Management
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Creating API Calls in Large Clinical Datasets for Surgery Outcomes Research

Paul C. Kuo, Joseph Adam Sujka, Rachel L. Wolansky, Bevan Yuen
The American Surgeon
Scientific Computing and Data Management
article

Creating API Calls in Large Clinical Datasets for Surgery Outcomes Research

Paul C. Kuo, Joseph Adam Sujka, Rachel L. Wolansky, Bevan Yuen
article en

Abstract

BackgroundApplication Programming Interfaces (APIs) enable seamless communication and data exchange between different software systems. In clinical research, APIs provide a powerful and efficient way to access large datasets, allowing researchers to develop reproducible workflows for data extraction and analysis.Methods and ResultsAPI calls were constructed using Python to extract data from 2 publicly available sources: NIH RePORTER and the CMS Medicare datasets. The NIH API was queried with a JSON payload to retrieve project-level funding data by year and keyword, while the CMS API was accessed via URL parameters to filter Medicare enrollment by state and year. Scripts were written to scale queries across multiple years and automate data collection, with outputs saved in CSV format for further analysis.ConclusionAPI-based data extraction is a scalable and reproducible method for accessing large clinical and research datasets. By leveraging NIH and CMS APIs, researchers can automate queries, customize filters, and retrieve longitudinal data to support health care analysis. Broader use of API workflows may enhance data accessibility and research efficiency across clinical disciplines.

The American SurgeonVol. 92(4)
University of Central Florida (US), University of South Florida (US)
Openalex Percentile: Top 71%
Scientific Computing and Data Management
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.