
I Built a Research Paper Finder That Searches 5 APIs at Once (Python, 100 Lines)
The Problem Every time I research a topic, I open 5 tabs: Google Scholar, arXiv, Semantic Scholar, OpenAlex, Crossref. Search the same query. Compare results. Copy DOIs back and forth. So I built a single Python script that searches all 5 APIs simultaneously and gives me a unified result. 100 lines. No frameworks. Just requests and concurrent.futures . The Code #!/usr/bin/env python3 """ Search 5 academic APIs at once — unified paper finder """ import requests from concurrent.futures import ThreadPoolExecutor , as_completed def search_openalex ( query , limit = 3 ): resp = requests . get ( " https://api.openalex.org/works " , params = { " search " : query , " sort " : " cited_by_count:desc " , " per_page " : limit }, timeout = 10 ) results = [] for w in resp . json (). get ( " results " , []): results . append ({ " title " : w [ " title " ], " year " : w . get ( " publication_year " ), " citations " : w . get ( " cited_by_count " , 0 ), " doi " : w . get ( " doi " , "" ). replace ( " h
Continue reading on Dev.to Tutorial
Opens in a new tab




