DEV Community

Alex Spinov
Alex Spinov

Posted on

DBLP Has a Free API — Search Every Computer Science Paper Ever Published

Looking for a specific CS paper? Or all publications by a researcher? Or papers from a specific conference?

DBLP indexes virtually every computer science publication — 6.5M+ papers from conferences, journals, and workshops. And it has a free API. No key needed.

What Is DBLP?

DBLP (Digital Bibliography & Library Project) is THE reference database for computer science. It indexes:

  • 6.5M+ publications (papers, articles, books)
  • 3.5M+ authors with disambiguated profiles
  • All major CS conferences (NeurIPS, ICML, CVPR, ACL, SIGMOD, etc.)
  • All major CS journals (JACM, IEEE TPAMI, VLDB Journal, etc.)

Quick Start

import requests

# Search for papers
resp = requests.get("https://dblp.org/search/publ/api", params={
    "q": "attention is all you need",
    "format": "json",
    "h": 5
})

hits = resp.json()["result"]["hits"]["hit"]
for hit in hits:
    info = hit["info"]
    title = info.get("title", "N/A")
    year = info.get("year", "N/A")
    venue = info.get("venue", "N/A")
    authors = info.get("authors", {}).get("author", [])
    if isinstance(authors, dict): authors = [authors]
    author_names = [a.get("text", a) if isinstance(a, dict) else a for a in authors[:3]]
    print(f"[{year}] {title}")
    print(f"  Venue: {venue} | Authors: {', '.join(author_names)}")
    print()
Enter fullscreen mode Exit fullscreen mode

Find All Papers by an Author

# Search for author
resp = requests.get("https://dblp.org/search/author/api", params={
    "q": "Yann LeCun",
    "format": "json",
    "h": 3
})

hits = resp.json()["result"]["hits"]["hit"]
for hit in hits:
    name = hit["info"]["author"]
    url = hit["info"]["url"]
    print(f"{name}: {url}")

# Get all papers by author URL key
author_key = "l/YannLeCun"  # From DBLP author URL
resp = requests.get(f"https://dblp.org/pid/{author_key}.xml", params={"format": "json"})
Enter fullscreen mode Exit fullscreen mode

Search by Venue (Conference/Journal)

# Find papers from NeurIPS 2024
resp = requests.get("https://dblp.org/search/publ/api", params={
    "q": "venue:NeurIPS year:2024 transformer",
    "format": "json",
    "h": 5
})

hits = resp.json()["result"]["hits"]["hit"]
for hit in hits:
    info = hit["info"]
    print(f"[{info.get('year')}] {info.get('title')}")
Enter fullscreen mode Exit fullscreen mode

DBLP vs Other CS Paper APIs

Feature DBLP Semantic Scholar OpenAlex Google Scholar
Focus CS only All fields All fields All fields
Papers 6.5M+ CS 200M+ all 250M+ all Unknown
API Key No Yes (free) No No API
Author profiles Disambiguated Yes Yes No
Conference data Excellent Good Good No
Completeness for CS Best Good Good Incomplete

DBLP is the gold standard for CS bibliography.

Use Cases

  1. Build a research profile page — get all publications for any CS researcher
  2. Conference analytics — compare acceptance rates, trending topics
  3. Collaboration networks — who publishes with whom
  4. Literature surveys — find all papers on a CS topic
  5. CV verification — check claimed publications

Pro Tips

  1. Author URLs follow pattern: dblp.org/pid/l/YannLeCun
  2. Use type:Conference_and_Workshop_Papers to filter by pub type
  3. DBLP assigns stable unique IDs to authors (handles name ambiguity)
  4. XML format gives more detail than JSON in some endpoints

For CS research: DBLP (bibliography) + Semantic Scholar (citations) + OpenAlex (metrics) = complete stack.

What CS conferences do you follow? Let me know in the comments.

More API tools: GitHub\n\n---\n\n## More Free Research APIs\n\nThis is part of my series on free APIs for researchers and data scientists:\n\n- OpenAlex API — 250M+ Academic Works\n- CORE API — 260M+ Scientific Papers\n- Crossref API — DOI Metadata for 150M+ Papers\n- Unpaywall API — Find Free Paper Versions\n- Europe PMC — 40M+ Biomedical Papers\n- World Bank API — GDP & Economic Data\n- ORCID API — 18M+ Researcher Profiles\n- DBLP API — 6M+ CS Publications\n- NASA APIs — 20+ Free Space Data APIs\n- FRED API — 800K+ US Economic Time Series\n- All 30+ Research APIs Mapped\n\n*Tools: Academic Research Toolkit on GitHub*

Top comments (0)