pubmed-client (Node.js)
    Preparing search index...

    Interface OaSubsetInfo

    Information about OA (Open Access) subset availability for a PMC article

    The OA subset contains articles with programmatic access to full-text XML. Not all PMC articles are in the OA subset - some publishers restrict programmatic access even though the article may be viewable on the PMC website.

    interface OaSubsetInfo {
        citation?: string;
        downloadFormat?: string;
        downloadLink?: string;
        errorCode?: string;
        errorMessage?: string;
        isOaSubset: boolean;
        license?: string;
        pmcid: string;
        retracted: boolean;
        updated?: string;
    }
    Index

    Properties

    citation?: string

    Citation string (if available)

    downloadFormat?: string

    Format of the download (e.g., "tgz", "pdf")

    downloadLink?: string

    Download link for tar.gz package (if available)

    errorCode?: string

    Error code if not in OA subset

    errorMessage?: string

    Error message if not in OA subset

    isOaSubset: boolean

    Whether the article is in the OA subset

    license?: string

    License type (if available)

    pmcid: string

    PMC ID (e.g., "PMC7906746")

    retracted: boolean

    Whether the article is retracted

    updated?: string

    Last updated timestamp for the download