Open citation graph — Cheatsheet

OpenAlex × Claude Code · Blueprint v1 · 1-page
api.openalex.org
Free key · openalex.org/settings/api
$1/day credit · 100 req/sec

01URL 문법 — 5패턴

패턴예시
단건/works/W2741809807
DOI/works/doi:10.1038/nature12373
검색/works?search=AI literacy
필터/works?filter=publication_year:2024
그룹/works?group_by=publication_year
매번: &api_key=YOUR_OPENALEX_KEY + &per-page=200

02자주 쓰는 필터

목적필터
연도 범위publication_year:>2022
최소 인용cited_by_count:>49
OA만is_oa:true
저널primary_location.source.id:S42640028
저자author.id:A5021100368
토픽topics.id:T14025
국가authorships.institutions.country_code:KR
인용 Xcites:W2741809807
타입type:journal-article
콤마(,) AND · 파이프(|) OR · 느낌표(!) NOT

037대 엔티티

EndpointPre핵심 필드
/worksWtitle, authorships, referenced_works, cited_by_count, topics
/authorsAdisplay_name, orcid, works_count, last_known_institutions
/sourcesSdisplay_name, issn, type, host_organization
/institutionsIdisplay_name, ror, country_code
/topicsTdisplay_name, subfield, field, domain
/fundersFdisplay_name, country_code, grants_count
/publishersPdisplay_name, hierarchy_level

04페이지네이션

  1. ≤ 200건: per-page=200 한 번이면 끝
  2. 200–10K: cursor=*로 시작, 응답 meta.next_cursor 다음 호출
  3. > 10K: page=N은 10K cap; cursor만 사용
  4. 전체 dump: 매월 ~330GB · S3 openalex-snapshot
안전 마진: time.sleep(0.05) (100/sec 하드 리밋)

05Claude Code 연결 패턴

패턴셋업언제
A · 직접 프롬프트0분일회성·5–20건
B · 헬퍼 스크립트 권장5분프로젝트 단위
C · MCP 서버30분여러 프로젝트

06아이디어 → API 5단계

  1. RQ 한 문장으로
  2. 데이터 shape 테이블 형태로 그리기
  3. API 시퀀스: 어떤 entity → 어떤 filter
  4. 분석: aggregate / model / test
  5. 시각화 + 검증: robustness
한 프롬프트 = 한 단계. 5단계 한 번에 시키지 말 것.

07안 하는 것 Anti

08검수 체크리스트

09자주 쓰는 프롬프트

10레퍼런스