Get Download Link (v1)
get_download_linkGenerate a direct CDN download link for Nexus Mods files. For non-premium, specify key and expires from an nxm:// link to obtain the URL.
Instructions
CDN download URLs for a file. Premium: works directly. Non-premium: pass key + expires from an nxm:// link (nxm:///mods//files/?key=...&expires=...).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Non-premium only: `key` from an nxm:// link (Mod Manager Download button on the site) | |
| game | Yes | Game domain name as in site URLs, e.g. "skyrimspecialedition", "fallout4", "stardewvalley" | |
| mod_id | Yes | Mod ID (number in the mod page URL /mods/<id>) | |
| expires | No | Non-premium only: `expires` from the same nxm:// link | |
| file_id | Yes | File ID (from get_mod_files) |