nexus_get_download_link
Get a short-lived Nexus CDN download link for a mod file using domain, mod ID, and file ID. Non-premium users must supply key and expires from a .nxm link to retrieve usable mirrors.
Instructions
Get a short-lived download URL for a mod file from the Nexus CDN.
Premium accounts can omit key/expires. Non-premium accounts MUST extract 'key' and 'expires' from a .nxm download link (nxm://{domain}/mods/{mod}/ files/{file}?key=...&expires=...) generated on the Nexus website.
Returns: JSON array of {URI, name, short_name} mirrors - the first entry is the preferred location. Links are short-lived; do not cache them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | 'key' from a .nxm download link. REQUIRED for non-premium accounts (403 otherwise). | |
| mod_id | Yes | Numeric mod ID. | |
| expires | No | 'expires' (unix epoch seconds, absolute timestamp) from a .nxm download link. REQUIRED for non-premium accounts. | |
| file_id | Yes | Numeric file ID. | |
| domain_name | Yes | Nexus Mods game domain (lowercase URL slug), e.g. 'forzahorizon6', 'skyrimse'. NOT the display name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |