Skip to content

Activities

The activities summary (GET /{orcid}/activities) lists every section of the record. client.activities.get(orcid) validates it into ActivitiesSummary, and each section also has its own reader that hits the section route and returns its model, or None when the record has none of that kind. The snippets of this page run top to bottom with top-level await, and the first block creates the client and the ORCID value every later block reuses.

Read the works section

Works, fundings, and research resources group their summaries in group lists. The affiliation-style sections (employments, educations, memberships, and four more) use affiliation-group[].summaries[], where each summary is wrapped as {"education-summary": {...}} and so on. Peer reviews nest three levels, group[].peer-review-group[].peer-review-summary[]. Every section model has a put_codes() helper that collects the put codes the single-item routes need.

from bibliofabric.orcid import OrcidClient

ORCID = "0000-0002-1694-233X"
client = OrcidClient()

works = await client.activities.works(ORCID)
codes = works.put_codes()
print(len(codes), "works;", codes[:3])
for group in works.group[:2]:
    for work_summary in group.work_summary:
        print("   ", work_summary.put_code, work_summary.title.text, work_summary.type)
51 works; [145464015, 162338342, 15258781]
    145464015 Parsing and Matching Dates in VIAF journal-article
    162338342 Registering Researchers in Authority Files report

Read one full item

Each put code has a full route that returns the complete element, not the summary. Work exposes title.text (the main title), title.subtitle.text, journal_title.text, and a publication_date FuzzyDate with iso().

Method Route Returns
work(orcid, put_code) /{orcid}/work/{put-code} Work
works_bulk(orcid, put_codes) /{orcid}/works/{code},{code},... list[Work], up to 100 codes per request
funding(orcid, put_code) /{orcid}/funding/{put-code} Funding
peer_review(orcid, put_code) /{orcid}/peer-review/{put-code} PeerReview
education(orcid, put_code) /{orcid}/education/{put-code} Education
employment(orcid, put_code) /{orcid}/employment/{put-code} Employment
affiliation_item(orcid, kind, put_code) /{orcid}/{kind}/{put-code} AffiliationItem

affiliation_item() covers qualification, membership, service, distinction, invited-position, and research-resource. These six routes share one affiliation shape, so the client validates every answer into the one AffiliationItem model.

work = await client.activities.work(ORCID, 145464015)
print(work.title.text)
print(work.title.subtitle.text)
print(work.journal_title.text)
print(work.publication_date.iso())

funding = await client.activities.funding(ORCID, 63665)
print(funding.title.text)
print(funding.organization.name, "|", funding.type)
print(funding.organization.disambiguated_organization.identifier)
Parsing and Matching Dates in VIAF
Issue 26, 2014-10-21
Code4Lib Journal
2014-10-21
Development of a Probabilistic Author Search and Matching Technique for Retrieval and Creation of Bibliographic Records
NSF Office of the Director | grant
http://dx.doi.org/10.13039/100000179

Education and employment return the same typed shape. The affiliation sections carry the put codes; take one from put_codes() and pass it to the reader.

education = await client.activities.education(ORCID, 85904)
print(
    education.role_title,
    "|",
    education.department_name,
    "|",
    education.organization.name,
)
print("ended:", education.end_date.iso() if education.end_date else None)

employment = await client.activities.employment(ORCID, 85908)
print(employment.role_title, "at", employment.organization.name)
print("from", employment.start_date.iso(), "| year:", employment.start_date.year.text)
Ph.D. | Library Information Science | University of Ilinois
ended: 1977
Chief Scientist at OCLC Online Computer Library Center
from 1977 | year: 1977

Fetch many works at once

works_bulk() fetches full works in one request per 100 put codes, which is the fastest way to read every work of a record: take the put codes from works(orcid) and pass them in. A put code that ORCID does not know answers an error entry and is absent from the result.

full = await client.activities.works_bulk(ORCID, codes[:5])
print(len(full), "full works fetched in bulk")
for work in full:
    date = work.publication_date.iso() if work.publication_date else "?"
    print("   ", date, work.type, "-", work.title.text)
5 full works fetched in bulk
    2014-07 journal-article - Managing Ambiguity in VIAF
    2014 journal-article - Managing ambiguity in VIAF
    2006-07-01 journal-article - NACO Normalization
    2014-10-21 journal-article - Parsing and Matching Dates in VIAF
    2014-10 report - Registering Researchers in Authority Files

Read the other sections

Every section has a reader with the same contract. It returns the section model, or None when the record has none of that kind.

Method Section Summary model
fundings(orcid) fundings FundingSummary
educations(orcid) educations EducationSummary
employments(orcid) employments EmploymentSummary
peer_reviews(orcid) peer reviews PeerReviewSummary
distinctions(orcid) distinctions DistinctionSummary
invited_positions(orcid) invited positions InvitedPositionSummary
memberships(orcid) memberships MembershipSummary
qualifications(orcid) qualifications QualificationSummary
research_resources(orcid) research resources ResearchResourceSummary
services(orcid) services ServiceSummary

The works, fundings, peer-review, and research-resource sections validate their summaries into the listed models. The affiliation-style sections keep each summary as a plain dictionary, wrapped per type, so reading one payload takes a next(iter(summary.values())) step.

employments = await client.activities.employments(ORCID)
for group in employments.affiliation_group:
    for wrapped in group.summaries:
        payload = next(iter(wrapped.values()), {})
        org = payload.get("organization") or {}
        start = (payload.get("start-date") or {}).get("year") or {}
        print(
            payload.get("role-title"),
            "at",
            org.get("name"),
            f"(from {start.get('value')})",
        )
Chief Scientist at OCLC Online Computer Library Center (from 1977)

Peer reviews nest three levels: each group entry holds a list of duplicate clusters, and each cluster holds the summaries ORCID considers the same review. Walk all three levels to count or collect them.

reviews = await client.activities.peer_reviews(ORCID)
if reviews:
    count = sum(
        len(cluster.peer_review_summary)
        for grouping in reviews.group
        for cluster in grouping.peer_review_group
    )
    print(count, "peer review summaries")
0 peer review summaries

This record has no review summaries with readable text, so the count prints zero. A record with reviews answers the nested list instead.

Get another representation

representation(orcid, suffix) returns any route under the ORCID iD as text in another representation; it defaults to Accept: application/xml.

xml = await client.activities.representation(ORCID, "work/145464015")
print(xml[:80].replace("\n", " "))
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <wor

Bulk data

For a complete copy of the registry, ORCID publishes a public data file (a 17.4 GB tar.gz of XML for 2025) on orcid.figshare.com, documented under Working with the Public Data File. This package does not download or parse it.