Publications
client.publications reads /search/publ/api, the publication search of
the DBLP search API. It indexes every publication in DBLP; one hit maps to
a Publication model built from the hit's info object.
Search and paging
page = await client.publications.search(query="database", page_size=5)
print(page.total) # 64983
print(page.results[0].key) # journals/biodb/JoshiMKJIS25
Paging uses the DBLP f offset and h page size. page=0 is the first
page, Page.page reports the page the envelope answered, and iterate()
and collect() walk offsets of 100. The live API serves at most 100 hits
per request even though the FAQ names 1000 as the cap; the client clamps
page_size to 100 so no request asks for more than the API serves.
async for publication in client.publications.iterate(query="sigmod", limit=250):
print(publication.year, publication.title)
Publication fields
| Field | Contents |
|---|---|
key |
the DBLP key, which client.records.get() accepts |
title, year, pages, volume, number |
bibliographic fields; the API serves them as strings |
authors |
list of AuthorRef with name and the DBLP person id pid |
venue |
list of venue names; a scalar on the wire, always a list on the model |
type |
"Conference Paper", "Article", "Informal and Other Publications", and so on |
access |
"open", "closed", or "unknown" |
doi, ee, url |
identifiers and links; ee can be a list |
publisher |
publisher name when the API carries it |
Undocumented fields of the info object stay accessible because the model
keeps extras.
The record page
client.records.get(key) fetches /rec/{key}.xml and returns a
PublicationRecord with the full record: the search-hit fields plus
pubtype (the XML element name, for example article or
inproceedings), mdate, crossref, stream, and author ORCIDs. It
accepts the bare key and the dblp.org/rec/ URL with or without a .xml
or .html suffix:
record = await client.records.get("journals/biodb/JoshiMKJIS25")
print(record.pubtype, record.mdate) # article 2025-10-14
print(record.authors[0].orcid) # 0009-0006-0263-5829
record = await client.records.get("https://dblp.org/rec/conf/sigmod/Haritsa26.html")
print(record.pubtype) # inproceedings
An unknown key answers HTTP 404 with an HTML error page and raises
NotFoundError. To parse a downloaded record page without the client, use
parse_record(xml), which returns the dict that
PublicationRecord.model_validate() accepts.
Completions
DBLP prefix-matches the right-most query term and reports what it matched
in the envelope. Page.meta["completions"] carries them raw, and the
Completion model maps each entry with its three hit counts (sc the
completion itself, dc its documents, oc its occurrences).
What the resource does not have
get, exists, and batch_get raise ConfigurationError: DBLP serves
records only as XML pages on client.records, and there is no route that
reads several publications by id in one call. select= raises
ConfigurationError because DBLP has no field selection.