SuperAPI AI Directory

paper-search

Writing & research

View repository

Updated 10-16 00:05

About this skill

Academic Paper Search

Search academic papers, supporting open APIs such as Semantic Scholar and CrossRef (no API key required).

Use Cases

  • The user says "Help me search for papers about XXX" or "Find a few recent papers on LLM Agents"
  • The user needs a paper's abstract, citation count, or BibTeX
  • The user needs to learn about the latest developments in a certain research field

Search Methods

Semantic Scholar (recommended, free, no key required)

# 搜索论文
curl -s "https://api.semanticscholar.org/graph/v1/paper/search?query=large+language+model+agent&limit=10&fields=title,abstract,year,citationCount,authors,url" | python3 -c "
import json, sys
data = json.load(sys.stdin)
for i, paper in enumerate(data.get('data', []), 1):
    title = paper.get('title', '')
    year = paper.get('year', '?')
    citations = paper.get('citationCount', 0)
    authors = ', '.join(a.get('name', '') for a in paper.get('authors', [])[:3])
    url = paper.get('url', '')
    print(f'{i}. [{year}] {title}')
    print(f'   作者: {authors}')
    print(f'   引用: {citations} | {url}')
    print()
"

Get Paper Details

# 通过论文 ID 获取详情(含摘要)
curl -s "https://api.semanticscholar.org/graph/v1/paper/{paper_id}?fields=title,abstract,year,citationCount,authors,references,url" | python3 -m json.tool

Get BibTeX

# 通过 DOI 获取 BibTeX
curl -sH "Accept: application/x-bibtex" "https://doi.org/{doi}"

CrossRef (search via DOI)

curl -s "https://api.crossref.org/works?query=transformer+attention&rows=5" | python3 -c "
import json, sys
data = json.load(sys.stdin)
for item in data.get('message', {}).get('items', []):
    title = item.get('title', [''])[0]
    doi = item.get('DOI', '')
    year = item.get('published', {}).get('date-parts', [['']])[0][0]
    print(f'[{year}] {title}')
    print(f'  DOI: {doi}')
    print()
"

Output Specifications

  • Show the top 5-10 most relevant papers
  • Each paper includes: title, authors (first 3), year, citation count, link
  • Provide BibTeX when the user requests it
  • If there is an abstract, show the first 200 characters