Mod-Portal API : searching by mod title

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Rikitav
Burner Inserter
Burner Inserter
Posts: 15
Joined: Thu Jul 04, 2024 4:51 pm
Contact:

Mod-Portal API : searching by mod title

Post by Rikitav »

Hello again, this is me with my browser of mods. Using API : https://wiki.factorio.com/Mod_portal_API#Releases
I can’t understand how to filter mods by name. I mean, I saw that there is an namelist parameter there, but how it works explained shitty. Neither the acceptable format, nor how it should look when sending.

Code: Select all

https://mods.factorio.com/api/mods?hide_deprecated=true&namelist=krastorio
I tried using it like this, but it just returns empty results page
Loewchen
Global Moderator
Global Moderator
Posts: 10218
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Mod-Portal API : searching by mod title

Post by Loewchen »

There is no mod with that name I'd assume. https://mods.factorio.com/api/mods?hide ... Krastorio2 works.
Rikitav
Burner Inserter
Burner Inserter
Posts: 15
Joined: Thu Jul 04, 2024 4:51 pm
Contact:

Re: Mod-Portal API : searching by mod title

Post by Rikitav »

Loewchen wrote: Tue Jun 24, 2025 10:32 pm There is no mod with that name I'd assume. https://mods.factorio.com/api/mods?hide ... Krastorio2 works.
So you need to specify the full ID of mod? It's somehow stupid. So i should request the entire database through page_size=max to filter them humanly?
sparr
Smart Inserter
Smart Inserter
Posts: 1520
Joined: Fri Feb 14, 2014 5:52 pm
Contact:

Re: Mod-Portal API : searching by mod title

Post by sparr »

Unfortunately the API does not do any sort of search. You can request specific mod(s) or all mods and nothing in between yet. Search functionality that matches the official mod portal and in-game mod browser search functions would be a good request to make!
Rikitav
Burner Inserter
Burner Inserter
Posts: 15
Joined: Thu Jul 04, 2024 4:51 pm
Contact:

Re: Mod-Portal API : searching by mod title

Post by Rikitav »

sparr wrote: Tue Jun 24, 2025 10:55 pm Unfortunately the API does not do any sort of search. You can request specific mod(s) or all mods and nothing in between yet. Search functionality that matches the official mod portal and in-game mod browser search functions would be a good request to make!
I did not want to resort to this method initially, but once otherwise sorting and filtering cannot be done, then at the same time I will realize the Hihlighted mods page!
Post Reply

Return to “Technical Help”