-
Notifications
You must be signed in to change notification settings - Fork 8
Nvidia API
The Nvidia driver download page uses an API in the background to supply the correct drivers for the data entered.
The base API url used for EnvyUpdate is https://www.nvidia.com/Download/processDriver.aspx
. It works using regular HTTP GET requests.
Accepted arguments which were found so far are:
API name | required? | default value | explanation | example |
---|---|---|---|---|
psid |
yes | Product Series ID |
psid=101 for GeForce 10 Series |
|
pfid |
yes | Product ID |
psid=101&pfid=845 for GeForce GTX 1080 Ti |
|
osid |
yes | Operating System ID |
osid=57 for Windows 10 64bit |
|
lid |
no | 1 | Language ID, defaults to English (US) |
lid=1 for English (US). |
dtcid |
no | 0 | Switch to use DCH drivers or not. Defaults to non-DCH. |
dtcid=1 for DCH drivers |
dtid |
no | 1 | Game Ready Driver or Studio Driver |
dtid=1 for GRD, dtid=18 for SD |
The API uses multiple different IDs to work, which are mostly arbitrary. These can be found using a different API URL.
- List all GPUs with their
psid
(the value inParentID
) and theitpfid
(the value inValue
): https://www.nvidia.com/Download/API/lookupValueSearch.aspx?TypeID=3 - List all operating systems and their ID (
Value
): https://www.nvidia.com/Download/API/lookupValueSearch.aspx?TypeID=4 - List all languages and their ID (
Value
): https://www.nvidia.com/Download/API/lookupValueSearch.aspx?TypeID=5
A complete request URL with all parameters would be in this form:
https://www.nvidia.com/Download/processDriver.aspx?psid=<ProductSeries>&pfid=<ProductType>&osid=<OperatingSystem>&lid=<Language>&dtcid=<0 or 1>&dtid=<1 or 18>
An example URL for the most recent driver for the GeForce 1080 Ti for Windows 10 x64 using UK English and DCH would be:
https://www.nvidia.com/Download/processDriver.aspx?psid=101&pfid=845&osid=57&lid=2&dtcid=1&dtid=1
Keep in mind that this API returns a URL to the download page of the most recent driver, NOT a direct download link!
The returned value may be a full URL (https://nvidia.com/
), a protocol-agnostic URL (://nvidia.com/
) or just a relative link to the driver page ((/DownloadDriver.aspx/
).