Is there a direct download link for the latest addon version on AMO?

Hey there,

i just wondered if addons on AMO have a direct download link to the newest version of the addon.

Of course every addon has its own page (e.g. https://addons.mozilla.org/de/firefox/addon/identos-pw-manager-id50/) and every *.xpi version has its own download link (e.g. https://addons.mozilla.org/firefox/downloads/file/350818/identos_pw_manager_id50-0.8.6-fx-windows.xpi).

So i would like to know if AMO provides a link which always directs to the latest addon version?
Something like https://addons.mozilla.org/de/firefox/addon-id/download-now

Best regards

Something like https://addons.mozilla.org/firefox/downloads/latest/<slug>/ should do.

Thanks for the quick answer!

Might be a silly question, but how can i figure out the <slug> part for my addon?

I just realized that the “Add to Firefox” button on my addon page links to https://addons.mozilla.org/firefox/downloads/file/350818/identos_pw_manager_id50-0.8.6-fx-windows.xpi?src=dp-btn-primary
and the same button on Greasemonkey’s page for example links to https://addons.mozilla.org/firefox/downloads/latest/748/addon-748-latest.xpi?src=dp-btn-primary which matches to your pattern?

The slug is the url part linking to the add-on. So for example for https://addons.mozilla.org/en-US/firefox/addon/adblock-plus/, the slug would be adblock-plus.
The numbered ID of the add-on should work as well.

But keep in mind that neither of those are the Add-on GUID.

I’ve tried out the link for adblock-plus
https://addons.mozilla.org/firefox/downloads/latest/adblock-plus/
and it works as expected.

But for some reason the same pattern
https://addons.mozilla.org/firefox/downloads/latest/identos-pw-manager-id50/
returns a “Not Found” error for my addon.

Oddly enough the following links work both:
https://addons.mozilla.org/en-US/firefox/addon/adblock-plus/

https://addons.mozilla.org/en-US/firefox/addon/identos-pw-manager-id50/

1 Like

I’m not sure what the reason is. Maybe this works for fully reviewed add-ons only.

Yes, fully reviewed add-ons only.

Ok, so there’s nothing i can do here
.
Thank you guys for the information!