{"openapi":"3.1.0","info":{"title":"dblp mirror API","description":"\nA read-only JSON and BibTeX API over a local mirror of the\n[dblp](https://dblp.org) bibliography. It needs no key, and any origin may\ncall it.\n\nEvery `/search` result carries its ready-to-paste `bibtex`, so collecting\nreferences takes one request rather than one per paper. `bibtex=0` leaves it\nout and cuts the response by about two thirds.\n\n**BibTeX styles.** `condensed` (the default) is the citation itself, using the\nshort venue name and leaving out dblp's own bookkeeping. `standard` resolves\nthe crossref into the full proceedings title and adds editors, links and\nprovenance fields. Both match dblp's own output of the same name.\n\n**Working from an agent.** There is a ready-made prompt for this, written to\nbe pasted into an `AGENTS.md` or a system prompt: fetch it from\n[`/agent-prompt`](/agent-prompt) as plain text, or copy it from the\n[\"API for agents\" button on the landing page](/). It tells an agent to check\nevery citation against this mirror instead of writing BibTeX from memory.\n\nThe same guidance in short:\n\n- Never write a BibTeX entry from memory. Use the `bibtex` a search returns.\n- `condensed` is the default and is almost always the one you want.\n- Most well-known papers are here twice, as the conference or journal version\n  and as a CoRR (arXiv) preprint. Prefer the published one.\n- Titles in a `.bib` are often slightly wrong. If nothing convincing comes\n  back, retry with a distinctive phrase from the title, or the first author\n  plus two or three title words, before giving up.\n- `kind` (`conf`, `journal`, `preprint`, `other`) is the filter you want for\n  preprints: dblp has no preprint *type*, they are articles in CoRR.\n\n**Fair use.** Please identify yourself with a `User-Agent`. If you need the\nwhole corpus, take the [dblp XML dump](https://dblp.org/xml/) directly rather\nthan crawling this mirror.\n\nData from [dblp.org](https://dblp.org), released under\n[CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/). This is an\nunofficial mirror, not affiliated with dblp or Schloss Dagstuhl.\n","license":{"name":"CC0 1.0 (dblp data)","url":"https://creativecommons.org/publicdomain/zero/1.0/"},"version":"1.0.0"},"paths":{"/search":{"get":{"summary":"Search publications","description":"Ranked results with an exact hit count.\n\nResults are ordered by how exactly the title answers the query, then by\nrelevance, then by recency; a paper and its arXiv preprint are grouped so\nthey stay adjacent, published version first.","operationId":"search_search_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}},{"name":"title","in":"query","required":false,"schema":{"type":"string","default":"","title":"Title"}},{"name":"author","in":"query","required":false,"schema":{"type":"string","default":"","title":"Author"}},{"name":"venue","in":"query","required":false,"schema":{"type":"string","default":"","title":"Venue"}},{"name":"year","in":"query","required":false,"schema":{"type":"string","default":"","title":"Year"}},{"name":"type","in":"query","required":false,"schema":{"type":"string","default":"","title":"Type"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":30,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","maximum":1000000,"minimum":0,"default":0,"title":"Offset"}},{"name":"order","in":"query","required":false,"schema":{"enum":["relevance","match","year","oldest"],"type":"string","default":"relevance","title":"Order"}},{"name":"prefix","in":"query","required":false,"schema":{"enum":["0","1"],"type":"string","default":"1","title":"Prefix"}},{"name":"style","in":"query","required":false,"schema":{"enum":["condensed","standard"],"type":"string","default":"condensed","title":"Style"}},{"name":"bibtex","in":"query","required":false,"schema":{"enum":["0","1"],"type":"string","default":"1","title":"Bibtex"}},{"name":"kind","in":"query","required":false,"schema":{"enum":["","conf","journal","preprint","other"],"type":"string","default":"","title":"Kind"}},{"name":"facets","in":"query","required":false,"schema":{"enum":["0","1"],"type":"string","default":"0","title":"Facets"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchResponse"}}}},"503":{"description":"Search engine unavailable"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/bibtex":{"get":{"summary":"BibTeX entries","description":"BibTeX by key, or for everything a query matches.","operationId":"bibtex_bibtex_get","parameters":[{"name":"key","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"dblp key; repeat for several. Order is preserved.","title":"Key"},"description":"dblp key; repeat for several. Order is preserved."},{"name":"download","in":"query","required":false,"schema":{"enum":["0","1"],"type":"string","default":"0","title":"Download"}},{"name":"q","in":"query","required":false,"schema":{"type":"string","default":"","title":"Q"}},{"name":"title","in":"query","required":false,"schema":{"type":"string","default":"","title":"Title"}},{"name":"author","in":"query","required":false,"schema":{"type":"string","default":"","title":"Author"}},{"name":"venue","in":"query","required":false,"schema":{"type":"string","default":"","title":"Venue"}},{"name":"year","in":"query","required":false,"schema":{"type":"string","default":"","title":"Year"}},{"name":"type","in":"query","required":false,"schema":{"type":"string","default":"","title":"Type"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":30,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","maximum":1000000,"minimum":0,"default":0,"title":"Offset"}},{"name":"order","in":"query","required":false,"schema":{"enum":["relevance","match","year","oldest"],"type":"string","default":"relevance","title":"Order"}},{"name":"prefix","in":"query","required":false,"schema":{"enum":["0","1"],"type":"string","default":"1","title":"Prefix"}},{"name":"style","in":"query","required":false,"schema":{"enum":["condensed","standard"],"type":"string","default":"condensed","title":"Style"}},{"name":"bibtex","in":"query","required":false,"schema":{"enum":["0","1"],"type":"string","default":"1","title":"Bibtex"}},{"name":"kind","in":"query","required":false,"schema":{"enum":["","conf","journal","preprint","other"],"type":"string","default":"","title":"Kind"}},{"name":"facets","in":"query","required":false,"schema":{"enum":["0","1"],"type":"string","default":"0","title":"Facets"}}],"responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}},"404":{"description":"No such key"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/suggest":{"get":{"summary":"Authors and venues","description":"Authors and venues whose name contains a word starting with what has\nbeen typed, most published first.\n\nThis is what turns typing a name into an `author:`/`venue:` filter. It\nreads precomputed tables rather than the live index, so it costs the\nsearch engine nothing and cannot slow a search down.","operationId":"suggest_suggest_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","description":"Partial name; matched per word, as a prefix.","default":"","title":"Q"},"description":"Partial name; matched per word, as a prefix."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Suggestions"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/timeline":{"get":{"summary":"Corpus growth by year","description":"Cumulative publications, authors and venues per year.\n\nPer year, not per month: every record carries a year, 8% carry a month,\nand those are free text (\"January & April\"). A monthly curve would be\nmostly interpolation presented as measurement.","operationId":"timeline_timeline_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Timeline"}}}}}}},"/timeline/{year}":{"get":{"summary":"One year, by kind and venue","description":"What a single year was made of: how many of each kind, and the biggest\nvenues behind each.\n\nSeparate from /timeline because three venues per kind per year is tens of\nkilobytes nobody has asked for yet -- the chart fetches one year when the\npointer reaches it.","operationId":"timeline_year_timeline__year__get","parameters":[{"name":"year","in":"path","required":true,"schema":{"type":"integer","title":"Year"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/YearDetail"}}}},"404":{"description":"Year not in the chart's range"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/event":{"post":{"summary":"Record a client-side event","description":"Records a page load, or that a record's BibTeX reached the clipboard\nand the result position it was taken from -- the most direct read on\nranking quality.\n\nVisits arrive here because the landing figures are baked into the HTML, so\na page load asks this service for nothing else.","operationId":"event_event_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientEvent"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/agent-prompt":{"get":{"summary":"Ready-made prompt for a coding agent","description":"Instructions to paste into an `AGENTS.md`, a system prompt, or a chat.\n\nIt tells an agent to look every citation up here rather than write BibTeX\nfrom memory, which style to use, to prefer the published version over the\narXiv preprint, how to retry a title that does not match, and to leave\nalone what it cannot find. The same text the landing page offers.\n\nPlain text on purpose: it is meant to be copied verbatim.","operationId":"agent_prompt_text_agent_prompt_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}}},"components":{"schemas":{"ClientEvent":{"properties":{"event":{"type":"string","enum":["copy","visit"],"title":"Event"},"rank":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Rank","description":"1-based result position the record was copied from; copies only."}},"type":"object","required":["event"],"title":"ClientEvent"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"Record":{"properties":{"key":{"type":"string","title":"Key","description":"dblp key; the id for /bibtex"},"type":{"type":"string","title":"Type"},"title":{"type":"string","title":"Title"},"authors":{"items":{"type":"string"},"type":"array","title":"Authors"},"venue":{"type":"string","title":"Venue"},"journal":{"type":"string","title":"Journal"},"booktitle":{"type":"string","title":"Booktitle"},"year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year"},"volume":{"type":"string","title":"Volume"},"number":{"type":"string","title":"Number"},"pages":{"type":"string","title":"Pages"},"publisher":{"type":"string","title":"Publisher"},"school":{"type":"string","title":"School"},"doi":{"type":"string","title":"Doi"},"url":{"type":"string","title":"Url"},"dblp_url":{"type":"string","title":"Dblp Url"},"bibtex":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bibtex","description":"Rendered BibTeX, unless bibtex=0."}},"type":"object","required":["key","type","title","authors","venue","journal","booktitle","year","volume","number","pages","publisher","school","doi","url","dblp_url"],"title":"Record"},"SearchResponse":{"properties":{"count":{"type":"integer","title":"Count","description":"Records in this page."},"offset":{"type":"integer","title":"Offset"},"total":{"type":"integer","title":"Total","description":"Total matches."},"total_capped":{"type":"boolean","title":"Total Capped","description":"True when a very broad query hit the time budget, so total is a floor."},"engine":{"type":"string","title":"Engine"},"results":{"items":{"$ref":"#/components/schemas/Record"},"type":"array","title":"Results"},"by_kind":{"anyOf":[{"additionalProperties":{"type":"integer"},"type":"object"},{"type":"null"}],"title":"By Kind","description":"With facets=1: matches per kind, so a filter bar can show what each choice would return."}},"type":"object","required":["count","offset","total","total_capped","engine","results"],"title":"SearchResponse"},"Suggestion":{"properties":{"name":{"type":"string","title":"Name"},"n":{"type":"integer","title":"N","description":"Publications by this author / in this venue."}},"type":"object","required":["name","n"],"title":"Suggestion"},"Suggestions":{"properties":{"authors":{"items":{"$ref":"#/components/schemas/Suggestion"},"type":"array","title":"Authors"},"venues":{"items":{"$ref":"#/components/schemas/Suggestion"},"type":"array","title":"Venues"}},"type":"object","required":["authors","venues"],"title":"Suggestions"},"Timeline":{"properties":{"years":{"items":{"$ref":"#/components/schemas/TimelinePoint"},"type":"array","title":"Years"},"annual":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Annual","description":"Publications *added* each year, split into conf / journal / preprint / other. Column-wise: one array per kind, the year implied by position from `from`."}},"type":"object","required":["years"],"title":"Timeline"},"TimelinePoint":{"properties":{"year":{"type":"integer","title":"Year"},"pubs":{"type":"integer","title":"Pubs","description":"Publications up to and including this year."},"authors":{"type":"integer","title":"Authors","description":"Distinct authors who had published by then."},"venues":{"type":"integer","title":"Venues"}},"type":"object","required":["year","pubs","authors","venues"],"title":"TimelinePoint"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"YearDetail":{"properties":{"year":{"type":"integer","title":"Year"},"total":{"type":"integer","title":"Total"},"per_day":{"type":"integer","title":"Per Day"},"kinds":{"items":{"$ref":"#/components/schemas/YearKind"},"type":"array","title":"Kinds"}},"type":"object","required":["year","total","per_day","kinds"],"title":"YearDetail"},"YearKind":{"properties":{"kind":{"type":"string","enum":["conf","journal","preprint","other"],"title":"Kind"},"label":{"type":"string","title":"Label"},"n":{"type":"integer","title":"N"},"venues":{"items":{"$ref":"#/components/schemas/YearVenue"},"type":"array","title":"Venues","description":"The biggest venues of that kind in that year."}},"type":"object","required":["kind","label","n","venues"],"title":"YearKind"},"YearVenue":{"properties":{"name":{"type":"string","title":"Name"},"n":{"type":"integer","title":"N"}},"type":"object","required":["name","n"],"title":"YearVenue"}}}}