<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.factorio.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sevens7</id>
	<title>Official Factorio Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.factorio.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sevens7"/>
	<link rel="alternate" type="text/html" href="https://wiki.factorio.com/Special:Contributions/Sevens7"/>
	<updated>2026-06-17T04:33:04Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://wiki.factorio.com/index.php?title=User:Sevens7&amp;diff=218837</id>
		<title>User:Sevens7</title>
		<link rel="alternate" type="text/html" href="https://wiki.factorio.com/index.php?title=User:Sevens7&amp;diff=218837"/>
		<updated>2026-06-17T00:29:55Z</updated>

		<summary type="html">&lt;p&gt;Sevens7: Created page with &amp;quot;I&amp;#039;m here, and staring at http requests against my will&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I&#039;m here, and staring at http requests against my will&lt;/div&gt;</summary>
		<author><name>Sevens7</name></author>
	</entry>
	<entry>
		<id>https://wiki.factorio.com/index.php?title=Mod_portal_API&amp;diff=218836</id>
		<title>Mod portal API</title>
		<link rel="alternate" type="text/html" href="https://wiki.factorio.com/index.php?title=Mod_portal_API&amp;diff=218836"/>
		<updated>2026-06-16T18:54:41Z</updated>

		<summary type="html">&lt;p&gt;Sevens7: Add default values for optional parameters&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div align=&amp;quot;center&amp;quot; class=&amp;quot;stub&amp;quot;&amp;gt;&#039;&#039;&#039;Category:&#039;&#039;&#039; [[Factorio_HTTP_API_usage_guidelines#Internal|Internal API]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Mod Portal API is used to both browse and download all mods available on the [https://mods.factorio.com/ official Factorio mod portal]. Using the API does not require any kind of authentication or account information and can be viewed simply by following the URLs below in any web browser.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;https://mods.factorio.com/api/mods&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
More detailed information about a particular mod can be obtained by retrieving the following URL, where {name} is the mod&#039;s name field in the result object.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;https://mods.factorio.com/api/mods/{name}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To get even more information about a mod, you can use the following URL.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;https://mods.factorio.com/api/mods/{name}/full&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
List of bookmarked mods can be accessed from following URL (requires authentication).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;https://mods.factorio.com/api/bookmarks?username={username}&amp;amp;token={token}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also toggle a bookmark using following URL, with &amp;lt;code&amp;gt;state&amp;lt;/code&amp;gt; being &amp;lt;code&amp;gt;on&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;off&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;https://mods.factorio.com/api/bookmarks/toggle?username={username}&amp;amp;token={token}&amp;amp;mod={name}&amp;amp;state={state}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Endpoints ==&lt;br /&gt;
&lt;br /&gt;
=== /api/mods ===&lt;br /&gt;
&lt;br /&gt;
GET Parameters (sent as query parameters):&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Values !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;hide_deprecated&amp;lt;/code&amp;gt; || Boolean? || Whether to exclude incompatible mods from the results. Defaults to true if absent&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;page&amp;lt;/code&amp;gt; || Integer? || Page number to fetch, ignored for &amp;lt;code&amp;gt;page_size=&amp;quot;max&amp;quot;&amp;lt;/code&amp;gt; queries. Defaults to 1 when absent&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;page_size&amp;lt;/code&amp;gt; || (Integer &amp;lt;nowiki&amp;gt;&amp;amp;#124;&amp;lt;/nowiki&amp;gt; &amp;lt;code&amp;gt;&amp;quot;max&amp;quot;&amp;lt;/code&amp;gt;)? || The amount of results to show per page, or all results when passed &amp;lt;code&amp;gt;&amp;quot;max&amp;quot;&amp;lt;/code&amp;gt;. Defaults to 25 when absent&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;sort&amp;lt;/code&amp;gt; || String? (one of &amp;lt;code&amp;gt;&amp;quot;name&amp;quot;&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;&amp;quot;created_at&amp;quot;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;quot;updated_at&amp;quot;&amp;lt;/code&amp;gt;) || Sort results by this property. Defaults to &amp;lt;code&amp;gt;&amp;quot;name&amp;quot;&amp;lt;/code&amp;gt; when absent. Ignored for &amp;lt;code&amp;gt;page_size=max&amp;lt;/code&amp;gt; queries&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;sort_order&amp;lt;/code&amp;gt; || String? (either &amp;lt;code&amp;gt;&amp;quot;asc&amp;quot;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;quot;desc&amp;quot;&amp;lt;/code&amp;gt;) || Sort results ascending or descending. Defaults to &amp;lt;code&amp;gt;&amp;quot;desc&amp;quot;&amp;lt;/code&amp;gt; when absent. Ignored for &amp;lt;code&amp;gt;page_size=&amp;quot;max&amp;quot;&amp;lt;/code&amp;gt; queries&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;namelist&amp;lt;/code&amp;gt; || String[]? || Return only mods that match the given names. Response will include &amp;lt;code&amp;gt;releases&amp;lt;/code&amp;gt; instead of &amp;lt;code&amp;gt;latest_release&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;version&amp;lt;/code&amp;gt; || Factorio Version String (e.g. &amp;lt;code&amp;gt;&amp;quot;2.0.76&amp;quot;&amp;lt;/code&amp;gt;) || Mods incompatible with this Factorio version are marked as deprecated and hidden for &amp;lt;code&amp;gt;hide_deprecated=true&amp;lt;/code&amp;gt; queries.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Returns [[#Mod List Response]]&lt;br /&gt;
&lt;br /&gt;
=== /api/mods/{mod_name} ===&lt;br /&gt;
&lt;br /&gt;
Return short information of a specific mod.&lt;br /&gt;
&lt;br /&gt;
See [[#Result Entry]], &amp;quot;Short&amp;quot; column.&lt;br /&gt;
&lt;br /&gt;
=== /api/mods/{mod_name}/full ===&lt;br /&gt;
&lt;br /&gt;
Returns more information of a mod.&lt;br /&gt;
&lt;br /&gt;
See [[#Result Entry]], &amp;quot;Full&amp;quot; column.&lt;br /&gt;
&lt;br /&gt;
=== /api/bookmarks ===&lt;br /&gt;
&lt;br /&gt;
Returns array of mod names&lt;br /&gt;
&lt;br /&gt;
=== /api/search ===&lt;br /&gt;
POST Parameters (sent as query parameters):&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Keys !! Values !! Descrption&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;version&amp;lt;/code&amp;gt; || Factorio Version String (e.g. &amp;lt;code&amp;gt;&amp;quot;2.0.76&amp;quot;&amp;lt;/code&amp;gt;) || The version of Factorio to search mods for, mods incompatible with this version are marked as &amp;quot;deprecated&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;lang&amp;lt;/code&amp;gt; || Locale Identifier? || No effect on response&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;is_space_age&amp;lt;/code&amp;gt; || Boolean? || No effect on response&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;username&amp;lt;/code&amp;gt; || String || factorio.com account username to use for the query&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;token&amp;lt;/code&amp;gt; || String || factorio.com account token to use for the query&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;query&amp;lt;/code&amp;gt; || String? || The string to filter by, empty or absent does not filter&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;sort_attribute&amp;lt;/code&amp;gt; || [[#Sort Attribute|Sort Attribute]]? || The attribute to sort the results by. Defaults to &amp;lt;code&amp;gt;&amp;quot;relevancy&amp;quot;&amp;lt;/code&amp;gt; if absent&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;only_bookmarks&amp;lt;/code&amp;gt; || Boolean? || Whether to filter results down to only mods bookmarked by the account given by &amp;lt;code&amp;gt;username&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;token&amp;lt;/code&amp;gt;. Defaults to false if absent&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;show_deprecated&amp;lt;/code&amp;gt; || Boolean? || Whether to show mods incompatible with the Factorio version specified with &amp;lt;code&amp;gt;version&amp;lt;/code&amp;gt;. Defaults to false if absent&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;highlight_pre_tag&amp;lt;/code&amp;gt; || String? || A string to place in front of the matched text for &amp;lt;code&amp;gt;query&amp;lt;/code&amp;gt;, defaults to &amp;lt;code&amp;gt;&amp;quot;&amp;amp;lt;em&amp;amp;gt;&amp;quot;&amp;lt;/code&amp;gt; if absent. If &amp;lt;code&amp;gt;query&amp;lt;/code&amp;gt; is empty or absent, value is ignored&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;highlight_post_tag&amp;lt;/code&amp;gt; || String? || A string to place behind the matched text for &amp;lt;code&amp;gt;query&amp;lt;/code&amp;gt;, defaults to &amp;lt;code&amp;gt;&amp;quot;&amp;amp;lt;/em&amp;amp;gt;&amp;quot;&amp;lt;/code&amp;gt; if absent. If &amp;lt;code&amp;gt;query&amp;lt;/code&amp;gt; is empty or absent, value is ignored&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;expansion&amp;lt;/code&amp;gt; || String[]? || A whitelist of expansion(s) to filter mods with (currently the only valid value is &amp;lt;code&amp;gt;&amp;quot;space-age&amp;quot;&amp;lt;/code&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;exclude_expansion&amp;lt;/code&amp;gt; || String[]? || A blacklist of expansion(s) to filter mods with (currently the only valid value is &amp;lt;code&amp;gt;&amp;quot;space-age&amp;quot;&amp;lt;/code&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;category&amp;lt;/code&amp;gt; || [[Mod_details_API#Category|Category]][]? || A whitelist of categories to filter mods with&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;exclude_category&amp;lt;/code&amp;gt; || [[Mod_details_API#Category|Category]][]? || A blacklist of categories to filter mods with&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;tag&amp;lt;/code&amp;gt; || [[#Mod_details_API#Tags|Tag]][]? || A whitelist of tags to filter mods with&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;exclude_tag&amp;lt;/code&amp;gt; || [[#Mod_details_API#Tags|Tag]][]? || A blacklist of tags to filter mods with&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;page&amp;lt;/code&amp;gt; || Integer || Page number you would like to show, ignored for &amp;lt;code&amp;gt;page_size=&amp;quot;max&amp;quot;&amp;lt;/code&amp;gt; queries&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;page_size&amp;lt;/code&amp;gt; || Integer or &amp;lt;code&amp;gt;&amp;quot;max&amp;quot;&amp;lt;/code&amp;gt; ||The amount of results to show per page, or all results when passed &amp;lt;code&amp;gt;&amp;quot;max&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== JSON Object Types ==&lt;br /&gt;
&lt;br /&gt;
=== Sort Attribute ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Attribute !! Sort By&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;quot;relevancy&amp;quot;&amp;lt;/code&amp;gt; || Internal metric&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;quot;most_downloads&amp;quot;&amp;lt;/code&amp;gt; || Download count&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;quot;last_updated_at&amp;quot;&amp;lt;/code&amp;gt; || Most recently updated&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;quot;trending&amp;quot;&amp;lt;/code&amp;gt; || Internal metric&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Mod List Response ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;pagination&amp;lt;/code&amp;gt; || [[#Pagination|Pagination]] || See [[#Pagination]]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;results&amp;lt;/code&amp;gt; || [[#Result Entry|Result]][] || A list of mods, matching the filters specified by the query&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Pagination ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;count&amp;lt;/code&amp;gt; || Integer || Total number of mods that match your specified filters.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;links&amp;lt;/code&amp;gt; || [[#Pagination_Links|Links]] || Utility links to mod portal api requests, preserving all filters and search queries.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;page&amp;lt;/code&amp;gt; || Integer || The current page number.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;page_count&amp;lt;/code&amp;gt; || Integer || The total number of pages returned.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;page_size&amp;lt;/code&amp;gt; || Integer || The number of results per page.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Pagination Links ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;first&amp;lt;/code&amp;gt; || String(URL) || URL to the first page of the results, or &amp;lt;code&amp;gt;null&amp;lt;/code&amp;gt; if you&#039;re already on the first page&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;prev&amp;lt;/code&amp;gt; || String(URL) || URL to the previous page of the results, or &amp;lt;code&amp;gt;null&amp;lt;/code&amp;gt; if you&#039;re already on the first page&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;next&amp;lt;/code&amp;gt; || String(URL) || URL to the next page of the results, or &amp;lt;code&amp;gt;null&amp;lt;/code&amp;gt; if you&#039;re already on the last page&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;last&amp;lt;/code&amp;gt; || String(URL) || URL to the last page of the results, or &amp;lt;code&amp;gt;null&amp;lt;/code&amp;gt; if you&#039;re already on the last page&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Result Entry ===&lt;br /&gt;
&lt;br /&gt;
Fields returned by the api/mods endpoint are marked with a check (✓) in the &amp;quot;api/mods endpoint&amp;quot; column, those returned by the api/mods/{name} endpoint are marked with a check in the &amp;quot;Short&amp;quot; column and those returned by the api/mods/{name}/full endpoint are marked in the &amp;quot;Full&amp;quot; column. Fields may be absent if there is no data.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Type !!+ style=&#039;writing-mode:vertical-lr;vertical-align:bottom;font-size:90%&#039; | api/mods endpoint !!+ style=&#039;writing-mode:vertical-lr;vertical-align:bottom;font-size:90%&#039; | Short !!+ style=&#039;writing-mode:vertical-lr;vertical-align:bottom;font-size:90%&#039; | Full !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;latest_release&amp;lt;/code&amp;gt; || [[#Releases|Release]]? || ✓* || ||&lt;br /&gt;
| The latest version of the mod available for download. &amp;lt;b&amp;gt;*Absent when the &amp;lt;code&amp;gt;namelist&amp;lt;/code&amp;gt; [[#/api/mods|parameter]] is used&amp;lt;/b&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;downloads_count&amp;lt;/code&amp;gt; || Integer || ✓ || ✓ || ✓&lt;br /&gt;
| Number of downloads.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt; || String || ✓ || ✓ || ✓&lt;br /&gt;
| The mod&#039;s machine-readable ID string.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;owner&amp;lt;/code&amp;gt; || String || ✓ || ✓ || ✓&lt;br /&gt;
| The Factorio username of the mod&#039;s author.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;releases&amp;lt;/code&amp;gt; || [[#Releases|Release]][] || ✓* || ✓ || ✓&lt;br /&gt;
| A list of different versions of the mod available for download. See [[#Releases]]. &amp;lt;b&amp;gt;*Only when using &amp;lt;code&amp;gt;namelist&amp;lt;/code&amp;gt; [[#/api/mods|parameter]]&amp;lt;/b&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;summary&amp;lt;/code&amp;gt; || String || ✓ || ✓ || ✓&lt;br /&gt;
| A shorter mod description.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; || String || ✓ || ✓ || ✓&lt;br /&gt;
| The mod&#039;s human-readable name.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;category&amp;lt;/code&amp;gt; || [[Mod_details_API#Category|Category]]? || ✓ || ✓ || ✓&lt;br /&gt;
| A single category describing the mod. See [[Mod_details_API#Category]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;score&amp;lt;/code&amp;gt; || Integer || ✓ || ✓* || ✓*&lt;br /&gt;
| The score of the mod. &amp;lt;b&amp;gt;*Only when not 0&amp;lt;/b&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;thumbnail&amp;lt;/code&amp;gt; || String(relative URL)? || || ✓ || ✓&lt;br /&gt;
| The relative path to the thumbnail of the mod. For mods that have no thumbnail it may be absent or default to &amp;lt;code&amp;gt;&amp;quot;/assets/.thumb.png&amp;quot;&amp;lt;/code&amp;gt;. Prepend &amp;quot;assets-mod.factorio.com&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;changelog&amp;lt;/code&amp;gt; || String? || || || ✓&lt;br /&gt;
| A string describing the recent changes to a mod.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;created_at&amp;lt;/code&amp;gt; || String(ISO 8601) || || || ✓&lt;br /&gt;
| ISO 8601 for when the mod was created. (RFC 3339 nano)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;updated_at&amp;lt;/code&amp;gt; || String(ISO 8601) || || || ✓&lt;br /&gt;
| ISO 8601 for when the mod was last updated. (RFC 3339 nano)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;last_highlighted_at&amp;lt;/code&amp;gt; || String(ISO 8601)? || || || ✓&lt;br /&gt;
| ISO 8601 for when the mod was last featured on the &amp;quot;Highlighted mods&amp;quot; tab. (RFC 3339 nano)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;description&amp;lt;/code&amp;gt; || String? || || || ✓&lt;br /&gt;
| A longer description of the mod, in text only format.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;source_url&amp;lt;/code&amp;gt; || String? || || || ✓&lt;br /&gt;
| A URL to the mod&#039;s source code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;github_path&amp;lt;/code&amp;gt; || String? || || || ✓&lt;br /&gt;
| Deprecated: Use &amp;lt;code&amp;gt;source_url&amp;lt;/code&amp;gt; instead. A link to the mod&#039;s github project page, just prepend &amp;quot;github.com/&amp;quot;. Can be blank (&amp;quot;&amp;quot;).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;homepage&amp;lt;/code&amp;gt; || String || || || ✓&lt;br /&gt;
| Usually a URL to the mod&#039;s main project page, but can be any string.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;tags&amp;lt;/code&amp;gt; || [[#Mod_details_API#Tags|Tag]][] || || || ✓&lt;br /&gt;
| A list of tag names that categorize the mod. See [[#Mod_details_API#Tags]].&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;license&amp;lt;/code&amp;gt; || [[#License]][] || || || ✓&lt;br /&gt;
| The license that applies to the mod. See [[#License]].&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;deprecated&amp;lt;/code&amp;gt; || Boolean? || || || ✓&lt;br /&gt;
| True if the mod is marked as deprecated by its owner. Absent when false.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Releases ===&lt;br /&gt;
&lt;br /&gt;
Only difference here between the api/mods/{name} endpoint and the api/mods/{name}/full endpoint is that the full one includes an array of dependencies in the info_json object.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;download_url&amp;lt;/code&amp;gt; || String &lt;br /&gt;
| Path to download for a mod. starts with &amp;quot;/download&amp;quot; and does not include a full url. See [[#Downloading Mods]]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;file_name&amp;lt;/code&amp;gt; || String &lt;br /&gt;
| The file name of the release. Always seems to follow the pattern &amp;quot;{name}_{version}.zip&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;info_json&amp;lt;/code&amp;gt; || Object &lt;br /&gt;
| A copy of the mod&#039;s info.json file, only contains factorio_version in short version, also contains an array of dependencies in full version&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;released_at&amp;lt;/code&amp;gt; || String(ISO 8601) &lt;br /&gt;
| ISO 8601 for when the mod was released. (RFC 3339 nano)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;version&amp;lt;/code&amp;gt; || String &lt;br /&gt;
| The version string of this mod release. Used to determine dependencies. &lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;sha1&amp;lt;/code&amp;gt; || String &lt;br /&gt;
| The sha1 key for the file.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;feature_flags&amp;lt;/code&amp;gt; || String[]?&lt;br /&gt;
| The feature flags this mod uses. See [https://lua-api.factorio.com/latest/types/FeatureFlags.html FeatureFlags]&lt;br /&gt;
|- &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== License ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;description&amp;lt;/code&amp;gt; || String || A short description of the license.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;id&amp;lt;/code&amp;gt; || String || The unique id of the license. For more information on each, see [[#Mod_details_API#License|License]]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt; || String || The internal name of the license.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; || String || The human-readable title of the license.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;url&amp;lt;/code&amp;gt; || String || Usually a URL to the full license text, but can be any string.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Error ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Type&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;message&amp;lt;/code&amp;gt; || String&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Downloading Mods ==&lt;br /&gt;
&lt;br /&gt;
You can get the full url by appending the download_url to mods.factorio.com, but if you&#039;re not authenticated, you will be redirected to mods.factorio.com/login. Logging in to that would give you access to the file. Fortunately, there&#039;s a better way to do this. Simply adding username and token parameters to the download url will prevent the redirecting and let you download the file immediately. The token can be acquired from a json file called &amp;quot;player-data.json&amp;quot;, located in the User Data directory (see [[Application_directory#User_data_directory]]). You can also get the token by using the [[Web_authentication_API | Web Authentication API]].&lt;br /&gt;
&lt;br /&gt;
Example usage:&lt;br /&gt;
&amp;lt;code&amp;gt;https://mods.factorio.com/{download_url}?username={username}&amp;amp;token={token}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Technical]]&lt;/div&gt;</summary>
		<author><name>Sevens7</name></author>
	</entry>
	<entry>
		<id>https://wiki.factorio.com/index.php?title=Mod_portal_API&amp;diff=218835</id>
		<title>Mod portal API</title>
		<link rel="alternate" type="text/html" href="https://wiki.factorio.com/index.php?title=Mod_portal_API&amp;diff=218835"/>
		<updated>2026-06-16T15:12:37Z</updated>

		<summary type="html">&lt;p&gt;Sevens7: typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div align=&amp;quot;center&amp;quot; class=&amp;quot;stub&amp;quot;&amp;gt;&#039;&#039;&#039;Category:&#039;&#039;&#039; [[Factorio_HTTP_API_usage_guidelines#Internal|Internal API]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Mod Portal API is used to both browse and download all mods available on the [https://mods.factorio.com/ official Factorio mod portal]. Using the API does not require any kind of authentication or account information and can be viewed simply by following the URLs below in any web browser.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;https://mods.factorio.com/api/mods&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
More detailed information about a particular mod can be obtained by retrieving the following URL, where {name} is the mod&#039;s name field in the result object.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;https://mods.factorio.com/api/mods/{name}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To get even more information about a mod, you can use the following URL.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;https://mods.factorio.com/api/mods/{name}/full&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
List of bookmarked mods can be accessed from following URL (requires authentication).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;https://mods.factorio.com/api/bookmarks?username={username}&amp;amp;token={token}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also toggle a bookmark using following URL, with &amp;lt;code&amp;gt;state&amp;lt;/code&amp;gt; being &amp;lt;code&amp;gt;on&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;off&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;https://mods.factorio.com/api/bookmarks/toggle?username={username}&amp;amp;token={token}&amp;amp;mod={name}&amp;amp;state={state}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Endpoints ==&lt;br /&gt;
&lt;br /&gt;
=== /api/mods ===&lt;br /&gt;
&lt;br /&gt;
GET Parameters (sent as query parameters):&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Values !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;hide_deprecated&amp;lt;/code&amp;gt; || Boolean || Whether to exclude incompatible mods from the results.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;page&amp;lt;/code&amp;gt; || Integer || Page number to fetch, ignored for &amp;lt;code&amp;gt;page_size=&amp;quot;max&amp;quot;&amp;lt;/code&amp;gt; queries&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;page_size&amp;lt;/code&amp;gt; || Integer or &amp;lt;code&amp;gt;&amp;quot;max&amp;quot;&amp;lt;/code&amp;gt; ||The amount of results to show per page, or all results when passed &amp;lt;code&amp;gt;&amp;quot;max&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;sort&amp;lt;/code&amp;gt; || String? (one of &amp;lt;code&amp;gt;&amp;quot;name&amp;quot;&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;&amp;quot;created_at&amp;quot;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;quot;updated_at&amp;quot;&amp;lt;/code&amp;gt;) || Sort results by this property. Defaults to &amp;lt;code&amp;gt;&amp;quot;name&amp;quot;&amp;lt;/code&amp;gt; when absent. Ignored for &amp;lt;code&amp;gt;page_size=max&amp;lt;/code&amp;gt; queries&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;sort_order&amp;lt;/code&amp;gt; || String? (either &amp;lt;code&amp;gt;&amp;quot;asc&amp;quot;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;quot;desc&amp;quot;&amp;lt;/code&amp;gt;) || Sort results ascending or descending. Defaults to &amp;lt;code&amp;gt;&amp;quot;desc&amp;quot;&amp;lt;/code&amp;gt; when absent. Ignored for &amp;lt;code&amp;gt;page_size=&amp;quot;max&amp;quot;&amp;lt;/code&amp;gt; queries&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;namelist&amp;lt;/code&amp;gt; || String[]? || Return only mods that match the given names. Response will include &amp;lt;code&amp;gt;releases&amp;lt;/code&amp;gt; instead of &amp;lt;code&amp;gt;latest_release&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;version&amp;lt;/code&amp;gt; || Factorio Version String (e.g. &amp;lt;code&amp;gt;&amp;quot;2.0.76&amp;quot;&amp;lt;/code&amp;gt;) || Mods incompatible with this Factorio version are marked as deprecated and hidden for &amp;lt;code&amp;gt;hide_deprecated=true&amp;lt;/code&amp;gt; queries.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Returns [[#Mod List Response]]&lt;br /&gt;
&lt;br /&gt;
=== /api/mods/{mod_name} ===&lt;br /&gt;
&lt;br /&gt;
Return short information of a specific mod.&lt;br /&gt;
&lt;br /&gt;
See [[#Result Entry]], &amp;quot;Short&amp;quot; column.&lt;br /&gt;
&lt;br /&gt;
=== /api/mods/{mod_name}/full ===&lt;br /&gt;
&lt;br /&gt;
Returns more information of a mod.&lt;br /&gt;
&lt;br /&gt;
See [[#Result Entry]], &amp;quot;Full&amp;quot; column.&lt;br /&gt;
&lt;br /&gt;
=== /api/bookmarks ===&lt;br /&gt;
&lt;br /&gt;
Returns array of mod names&lt;br /&gt;
&lt;br /&gt;
=== /api/search ===&lt;br /&gt;
POST Parameters (sent as query parameters):&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Keys !! Values !! Descrption&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;version&amp;lt;/code&amp;gt; || Factorio Version String (e.g. &amp;lt;code&amp;gt;&amp;quot;2.0.76&amp;quot;&amp;lt;/code&amp;gt;) || The version of Factorio to search mods for, mods incompatible with this version are marked as &amp;quot;deprecated&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;lang&amp;lt;/code&amp;gt; || Locale Identifier? || No effect on response&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;is_space_age&amp;lt;/code&amp;gt; || Boolean? || No effect on response&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;username&amp;lt;/code&amp;gt; || String || factorio.com account username to use for the query&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;token&amp;lt;/code&amp;gt; || String || factorio.com account token to use for the query&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;query&amp;lt;/code&amp;gt; || String? || The string to filter by, empty or absent does not filter&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;sort_attribute&amp;lt;/code&amp;gt; || [[#Sort Attribute|Sort Attribute]]? || The attribute to sort the results by. Defaults to &amp;lt;code&amp;gt;&amp;quot;relevancy&amp;quot;&amp;lt;/code&amp;gt; if absent&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;only_bookmarks&amp;lt;/code&amp;gt; || Boolean? || Whether to filter results down to only mods bookmarked by the account given by &amp;lt;code&amp;gt;username&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;token&amp;lt;/code&amp;gt;. Defaults to false if absent&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;show_deprecated&amp;lt;/code&amp;gt; || Boolean? || Whether to show mods incompatible with the Factorio version specified with &amp;lt;code&amp;gt;version&amp;lt;/code&amp;gt;. Defaults to false if absent&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;highlight_pre_tag&amp;lt;/code&amp;gt; || String? || A string to place in front of the matched text for &amp;lt;code&amp;gt;query&amp;lt;/code&amp;gt;, defaults to &amp;lt;code&amp;gt;&amp;quot;&amp;amp;lt;em&amp;amp;gt;&amp;quot;&amp;lt;/code&amp;gt; if absent. If &amp;lt;code&amp;gt;query&amp;lt;/code&amp;gt; is empty or absent, value is ignored&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;highlight_post_tag&amp;lt;/code&amp;gt; || String? || A string to place behind the matched text for &amp;lt;code&amp;gt;query&amp;lt;/code&amp;gt;, defaults to &amp;lt;code&amp;gt;&amp;quot;&amp;amp;lt;/em&amp;amp;gt;&amp;quot;&amp;lt;/code&amp;gt; if absent. If &amp;lt;code&amp;gt;query&amp;lt;/code&amp;gt; is empty or absent, value is ignored&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;expansion&amp;lt;/code&amp;gt; || String[]? || A whitelist of expansion(s) to filter mods with (currently the only valid value is &amp;lt;code&amp;gt;&amp;quot;space-age&amp;quot;&amp;lt;/code&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;exclude_expansion&amp;lt;/code&amp;gt; || String[]? || A blacklist of expansion(s) to filter mods with (currently the only valid value is &amp;lt;code&amp;gt;&amp;quot;space-age&amp;quot;&amp;lt;/code&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;category&amp;lt;/code&amp;gt; || [[Mod_details_API#Category|Category]][]? || A whitelist of categories to filter mods with&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;exclude_category&amp;lt;/code&amp;gt; || [[Mod_details_API#Category|Category]][]? || A blacklist of categories to filter mods with&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;tag&amp;lt;/code&amp;gt; || [[#Mod_details_API#Tags|Tag]][]? || A whitelist of tags to filter mods with&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;exclude_tag&amp;lt;/code&amp;gt; || [[#Mod_details_API#Tags|Tag]][]? || A blacklist of tags to filter mods with&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;page&amp;lt;/code&amp;gt; || Integer || Page number you would like to show, ignored for &amp;lt;code&amp;gt;page_size=&amp;quot;max&amp;quot;&amp;lt;/code&amp;gt; queries&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;page_size&amp;lt;/code&amp;gt; || Integer or &amp;lt;code&amp;gt;&amp;quot;max&amp;quot;&amp;lt;/code&amp;gt; ||The amount of results to show per page, or all results when passed &amp;lt;code&amp;gt;&amp;quot;max&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== JSON Object Types ==&lt;br /&gt;
&lt;br /&gt;
=== Sort Attribute ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Attribute !! Sort By&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;quot;relevancy&amp;quot;&amp;lt;/code&amp;gt; || Internal metric&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;quot;most_downloads&amp;quot;&amp;lt;/code&amp;gt; || Download count&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;quot;last_updated_at&amp;quot;&amp;lt;/code&amp;gt; || Most recently updated&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;quot;trending&amp;quot;&amp;lt;/code&amp;gt; || Internal metric&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Mod List Response ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;pagination&amp;lt;/code&amp;gt; || [[#Pagination|Pagination]] || See [[#Pagination]]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;results&amp;lt;/code&amp;gt; || [[#Result Entry|Result]][] || A list of mods, matching the filters specified by the query&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Pagination ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;count&amp;lt;/code&amp;gt; || Integer || Total number of mods that match your specified filters.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;links&amp;lt;/code&amp;gt; || [[#Pagination_Links|Links]] || Utility links to mod portal api requests, preserving all filters and search queries.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;page&amp;lt;/code&amp;gt; || Integer || The current page number.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;page_count&amp;lt;/code&amp;gt; || Integer || The total number of pages returned.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;page_size&amp;lt;/code&amp;gt; || Integer || The number of results per page.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Pagination Links ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;first&amp;lt;/code&amp;gt; || String(URL) || URL to the first page of the results, or &amp;lt;code&amp;gt;null&amp;lt;/code&amp;gt; if you&#039;re already on the first page&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;prev&amp;lt;/code&amp;gt; || String(URL) || URL to the previous page of the results, or &amp;lt;code&amp;gt;null&amp;lt;/code&amp;gt; if you&#039;re already on the first page&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;next&amp;lt;/code&amp;gt; || String(URL) || URL to the next page of the results, or &amp;lt;code&amp;gt;null&amp;lt;/code&amp;gt; if you&#039;re already on the last page&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;last&amp;lt;/code&amp;gt; || String(URL) || URL to the last page of the results, or &amp;lt;code&amp;gt;null&amp;lt;/code&amp;gt; if you&#039;re already on the last page&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Result Entry ===&lt;br /&gt;
&lt;br /&gt;
Fields returned by the api/mods endpoint are marked with a check (✓) in the &amp;quot;api/mods endpoint&amp;quot; column, those returned by the api/mods/{name} endpoint are marked with a check in the &amp;quot;Short&amp;quot; column and those returned by the api/mods/{name}/full endpoint are marked in the &amp;quot;Full&amp;quot; column. Fields may be absent if there is no data.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Type !!+ style=&#039;writing-mode:vertical-lr;vertical-align:bottom;font-size:90%&#039; | api/mods endpoint !!+ style=&#039;writing-mode:vertical-lr;vertical-align:bottom;font-size:90%&#039; | Short !!+ style=&#039;writing-mode:vertical-lr;vertical-align:bottom;font-size:90%&#039; | Full !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;latest_release&amp;lt;/code&amp;gt; || [[#Releases|Release]]? || ✓* || ||&lt;br /&gt;
| The latest version of the mod available for download. &amp;lt;b&amp;gt;*Absent when the &amp;lt;code&amp;gt;namelist&amp;lt;/code&amp;gt; [[#/api/mods|parameter]] is used&amp;lt;/b&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;downloads_count&amp;lt;/code&amp;gt; || Integer || ✓ || ✓ || ✓&lt;br /&gt;
| Number of downloads.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt; || String || ✓ || ✓ || ✓&lt;br /&gt;
| The mod&#039;s machine-readable ID string.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;owner&amp;lt;/code&amp;gt; || String || ✓ || ✓ || ✓&lt;br /&gt;
| The Factorio username of the mod&#039;s author.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;releases&amp;lt;/code&amp;gt; || [[#Releases|Release]][] || ✓* || ✓ || ✓&lt;br /&gt;
| A list of different versions of the mod available for download. See [[#Releases]]. &amp;lt;b&amp;gt;*Only when using &amp;lt;code&amp;gt;namelist&amp;lt;/code&amp;gt; [[#/api/mods|parameter]]&amp;lt;/b&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;summary&amp;lt;/code&amp;gt; || String || ✓ || ✓ || ✓&lt;br /&gt;
| A shorter mod description.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; || String || ✓ || ✓ || ✓&lt;br /&gt;
| The mod&#039;s human-readable name.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;category&amp;lt;/code&amp;gt; || [[Mod_details_API#Category|Category]]? || ✓ || ✓ || ✓&lt;br /&gt;
| A single category describing the mod. See [[Mod_details_API#Category]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;score&amp;lt;/code&amp;gt; || Integer || ✓ || ✓* || ✓*&lt;br /&gt;
| The score of the mod. &amp;lt;b&amp;gt;*Only when not 0&amp;lt;/b&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;thumbnail&amp;lt;/code&amp;gt; || String(relative URL)? || || ✓ || ✓&lt;br /&gt;
| The relative path to the thumbnail of the mod. For mods that have no thumbnail it may be absent or default to &amp;lt;code&amp;gt;&amp;quot;/assets/.thumb.png&amp;quot;&amp;lt;/code&amp;gt;. Prepend &amp;quot;assets-mod.factorio.com&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;changelog&amp;lt;/code&amp;gt; || String? || || || ✓&lt;br /&gt;
| A string describing the recent changes to a mod.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;created_at&amp;lt;/code&amp;gt; || String(ISO 8601) || || || ✓&lt;br /&gt;
| ISO 8601 for when the mod was created. (RFC 3339 nano)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;updated_at&amp;lt;/code&amp;gt; || String(ISO 8601) || || || ✓&lt;br /&gt;
| ISO 8601 for when the mod was last updated. (RFC 3339 nano)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;last_highlighted_at&amp;lt;/code&amp;gt; || String(ISO 8601)? || || || ✓&lt;br /&gt;
| ISO 8601 for when the mod was last featured on the &amp;quot;Highlighted mods&amp;quot; tab. (RFC 3339 nano)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;description&amp;lt;/code&amp;gt; || String? || || || ✓&lt;br /&gt;
| A longer description of the mod, in text only format.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;source_url&amp;lt;/code&amp;gt; || String? || || || ✓&lt;br /&gt;
| A URL to the mod&#039;s source code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;github_path&amp;lt;/code&amp;gt; || String? || || || ✓&lt;br /&gt;
| Deprecated: Use &amp;lt;code&amp;gt;source_url&amp;lt;/code&amp;gt; instead. A link to the mod&#039;s github project page, just prepend &amp;quot;github.com/&amp;quot;. Can be blank (&amp;quot;&amp;quot;).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;homepage&amp;lt;/code&amp;gt; || String || || || ✓&lt;br /&gt;
| Usually a URL to the mod&#039;s main project page, but can be any string.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;tags&amp;lt;/code&amp;gt; || [[#Mod_details_API#Tags|Tag]][] || || || ✓&lt;br /&gt;
| A list of tag names that categorize the mod. See [[#Mod_details_API#Tags]].&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;license&amp;lt;/code&amp;gt; || [[#License]][] || || || ✓&lt;br /&gt;
| The license that applies to the mod. See [[#License]].&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;deprecated&amp;lt;/code&amp;gt; || Boolean? || || || ✓&lt;br /&gt;
| True if the mod is marked as deprecated by its owner. Absent when false.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Releases ===&lt;br /&gt;
&lt;br /&gt;
Only difference here between the api/mods/{name} endpoint and the api/mods/{name}/full endpoint is that the full one includes an array of dependencies in the info_json object.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;download_url&amp;lt;/code&amp;gt; || String &lt;br /&gt;
| Path to download for a mod. starts with &amp;quot;/download&amp;quot; and does not include a full url. See [[#Downloading Mods]]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;file_name&amp;lt;/code&amp;gt; || String &lt;br /&gt;
| The file name of the release. Always seems to follow the pattern &amp;quot;{name}_{version}.zip&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;info_json&amp;lt;/code&amp;gt; || Object &lt;br /&gt;
| A copy of the mod&#039;s info.json file, only contains factorio_version in short version, also contains an array of dependencies in full version&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;released_at&amp;lt;/code&amp;gt; || String(ISO 8601) &lt;br /&gt;
| ISO 8601 for when the mod was released. (RFC 3339 nano)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;version&amp;lt;/code&amp;gt; || String &lt;br /&gt;
| The version string of this mod release. Used to determine dependencies. &lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;sha1&amp;lt;/code&amp;gt; || String &lt;br /&gt;
| The sha1 key for the file.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;feature_flags&amp;lt;/code&amp;gt; || String[]?&lt;br /&gt;
| The feature flags this mod uses. See [https://lua-api.factorio.com/latest/types/FeatureFlags.html FeatureFlags]&lt;br /&gt;
|- &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== License ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;description&amp;lt;/code&amp;gt; || String || A short description of the license.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;id&amp;lt;/code&amp;gt; || String || The unique id of the license. For more information on each, see [[#Mod_details_API#License|License]]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt; || String || The internal name of the license.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; || String || The human-readable title of the license.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;url&amp;lt;/code&amp;gt; || String || Usually a URL to the full license text, but can be any string.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Error ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Type&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;message&amp;lt;/code&amp;gt; || String&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Downloading Mods ==&lt;br /&gt;
&lt;br /&gt;
You can get the full url by appending the download_url to mods.factorio.com, but if you&#039;re not authenticated, you will be redirected to mods.factorio.com/login. Logging in to that would give you access to the file. Fortunately, there&#039;s a better way to do this. Simply adding username and token parameters to the download url will prevent the redirecting and let you download the file immediately. The token can be acquired from a json file called &amp;quot;player-data.json&amp;quot;, located in the User Data directory (see [[Application_directory#User_data_directory]]). You can also get the token by using the [[Web_authentication_API | Web Authentication API]].&lt;br /&gt;
&lt;br /&gt;
Example usage:&lt;br /&gt;
&amp;lt;code&amp;gt;https://mods.factorio.com/{download_url}?username={username}&amp;amp;token={token}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Technical]]&lt;/div&gt;</summary>
		<author><name>Sevens7</name></author>
	</entry>
	<entry>
		<id>https://wiki.factorio.com/index.php?title=Mod_portal_API&amp;diff=218834</id>
		<title>Mod portal API</title>
		<link rel="alternate" type="text/html" href="https://wiki.factorio.com/index.php?title=Mod_portal_API&amp;diff=218834"/>
		<updated>2026-06-16T15:12:15Z</updated>

		<summary type="html">&lt;p&gt;Sevens7: actually show the em tags in the pre and post tags&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div align=&amp;quot;center&amp;quot; class=&amp;quot;stub&amp;quot;&amp;gt;&#039;&#039;&#039;Category:&#039;&#039;&#039; [[Factorio_HTTP_API_usage_guidelines#Internal|Internal API]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Mod Portal API is used to both browse and download all mods available on the [https://mods.factorio.com/ official Factorio mod portal]. Using the API does not require any kind of authentication or account information and can be viewed simply by following the URLs below in any web browser.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;https://mods.factorio.com/api/mods&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
More detailed information about a particular mod can be obtained by retrieving the following URL, where {name} is the mod&#039;s name field in the result object.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;https://mods.factorio.com/api/mods/{name}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To get even more information about a mod, you can use the following URL.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;https://mods.factorio.com/api/mods/{name}/full&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
List of bookmarked mods can be accessed from following URL (requires authentication).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;https://mods.factorio.com/api/bookmarks?username={username}&amp;amp;token={token}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also toggle a bookmark using following URL, with &amp;lt;code&amp;gt;state&amp;lt;/code&amp;gt; being &amp;lt;code&amp;gt;on&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;off&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;https://mods.factorio.com/api/bookmarks/toggle?username={username}&amp;amp;token={token}&amp;amp;mod={name}&amp;amp;state={state}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Endpoints ==&lt;br /&gt;
&lt;br /&gt;
=== /api/mods ===&lt;br /&gt;
&lt;br /&gt;
GET Parameters (sent as query parameters):&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Values !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;hide_deprecated&amp;lt;/code&amp;gt; || Boolean || Whether to exclude incompatible mods from the results.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;page&amp;lt;/code&amp;gt; || Integer || Page number to fetch, ignored for &amp;lt;code&amp;gt;page_size=&amp;quot;max&amp;quot;&amp;lt;/code&amp;gt; queries&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;page_size&amp;lt;/code&amp;gt; || Integer or &amp;lt;code&amp;gt;&amp;quot;max&amp;quot;&amp;lt;/code&amp;gt; ||The amount of results to show per page, or all results when passed &amp;lt;code&amp;gt;&amp;quot;max&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;sort&amp;lt;/code&amp;gt; || String? (one of &amp;lt;code&amp;gt;&amp;quot;name&amp;quot;&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;&amp;quot;created_at&amp;quot;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;quot;updated_at&amp;quot;&amp;lt;/code&amp;gt;) || Sort results by this property. Defaults to &amp;lt;code&amp;gt;&amp;quot;name&amp;quot;&amp;lt;/code&amp;gt; when absent. Ignored for &amp;lt;code&amp;gt;page_size=max&amp;lt;/code&amp;gt; queries&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;sort_order&amp;lt;/code&amp;gt; || String? (either &amp;lt;code&amp;gt;&amp;quot;asc&amp;quot;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;quot;desc&amp;quot;&amp;lt;/code&amp;gt;) || Sort results ascending or descending. Defaults to &amp;lt;code&amp;gt;&amp;quot;desc&amp;quot;&amp;lt;/code&amp;gt; when absent. Ignored for &amp;lt;code&amp;gt;page_size=&amp;quot;max&amp;quot;&amp;lt;/code&amp;gt; queries&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;namelist&amp;lt;/code&amp;gt; || String[]? || Return only mods that match the given names. Response will include &amp;lt;code&amp;gt;releases&amp;lt;/code&amp;gt; instead of &amp;lt;code&amp;gt;latest_release&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;version&amp;lt;/code&amp;gt; || Factorio Version String (e.g. &amp;lt;code&amp;gt;&amp;quot;2.0.76&amp;quot;&amp;lt;/code&amp;gt;) || Mods incompatible with this Factorio version are marked as deprecated and hidden for &amp;lt;code&amp;gt;hide_deprecated=true&amp;lt;/code&amp;gt; queries.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Returns [[#Mod List Response]]&lt;br /&gt;
&lt;br /&gt;
=== /api/mods/{mod_name} ===&lt;br /&gt;
&lt;br /&gt;
Return short information of a specific mod.&lt;br /&gt;
&lt;br /&gt;
See [[#Result Entry]], &amp;quot;Short&amp;quot; column.&lt;br /&gt;
&lt;br /&gt;
=== /api/mods/{mod_name}/full ===&lt;br /&gt;
&lt;br /&gt;
Returns more information of a mod.&lt;br /&gt;
&lt;br /&gt;
See [[#Result Entry]], &amp;quot;Full&amp;quot; column.&lt;br /&gt;
&lt;br /&gt;
=== /api/bookmarks ===&lt;br /&gt;
&lt;br /&gt;
Returns array of mod names&lt;br /&gt;
&lt;br /&gt;
=== /api/search ===&lt;br /&gt;
POST Parameters (sent as query parameters):&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Keys !! Values !! Descrption&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;version&amp;lt;/code&amp;gt; || Factorio Version String (e.g. &amp;lt;code&amp;gt;&amp;quot;2.0.76&amp;quot;&amp;lt;/code&amp;gt;) || The version of Factorio to search mods for, mods incompatible with this version are marked as &amp;quot;deprecated&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;lang&amp;lt;/code&amp;gt; || Locale Identifier? || No effect on response&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;is_space_age&amp;lt;/code&amp;gt; || Boolean? || No effect on response&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;username&amp;lt;/code&amp;gt; || String || factorio.com account username to use for the query&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;token&amp;lt;/code&amp;gt; || String || factorio.com account token to use for the query&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;query&amp;lt;/code&amp;gt; || String? || The string to filter by, empty or absent does not filter&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;sort_attribute&amp;lt;/code&amp;gt; || [[#Sort Attribute|Sort Attribute]]? || The attribute to sort the results by. Defaults to &amp;lt;code&amp;gt;&amp;quot;relevancy&amp;quot;&amp;lt;/code&amp;gt; if absent&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;only_bookmarks&amp;lt;/code&amp;gt; || Boolean? || Whether to filter results down to only mods bookmarked by the account given by &amp;lt;code&amp;gt;username&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;token&amp;lt;/code&amp;gt;. Defaults to false if absent&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;show_deprecated&amp;lt;/code&amp;gt; || Boolean? || Whether to show mods incompatible with the Factorio version specified with &amp;lt;code&amp;gt;version&amp;lt;/code&amp;gt;. Defaults to false if absent&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;highlight_pre_tag&amp;lt;/code&amp;gt; || String? || A string to place in front of the matched text for &amp;lt;code&amp;gt;query&amp;lt;/code&amp;gt;, defaults to &amp;lt;code&amp;gt;&amp;quot;&amp;amp;lt;em&amp;amp;ht;&amp;quot;&amp;lt;/code&amp;gt; if absent. If &amp;lt;code&amp;gt;query&amp;lt;/code&amp;gt; is empty or absent, value is ignored&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;highlight_post_tag&amp;lt;/code&amp;gt; || String? || A string to place behind the matched text for &amp;lt;code&amp;gt;query&amp;lt;/code&amp;gt;, defaults to &amp;lt;code&amp;gt;&amp;quot;&amp;amp;lt;/em&amp;amp;gt;&amp;quot;&amp;lt;/code&amp;gt; if absent. If &amp;lt;code&amp;gt;query&amp;lt;/code&amp;gt; is empty or absent, value is ignored&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;expansion&amp;lt;/code&amp;gt; || String[]? || A whitelist of expansion(s) to filter mods with (currently the only valid value is &amp;lt;code&amp;gt;&amp;quot;space-age&amp;quot;&amp;lt;/code&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;exclude_expansion&amp;lt;/code&amp;gt; || String[]? || A blacklist of expansion(s) to filter mods with (currently the only valid value is &amp;lt;code&amp;gt;&amp;quot;space-age&amp;quot;&amp;lt;/code&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;category&amp;lt;/code&amp;gt; || [[Mod_details_API#Category|Category]][]? || A whitelist of categories to filter mods with&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;exclude_category&amp;lt;/code&amp;gt; || [[Mod_details_API#Category|Category]][]? || A blacklist of categories to filter mods with&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;tag&amp;lt;/code&amp;gt; || [[#Mod_details_API#Tags|Tag]][]? || A whitelist of tags to filter mods with&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;exclude_tag&amp;lt;/code&amp;gt; || [[#Mod_details_API#Tags|Tag]][]? || A blacklist of tags to filter mods with&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;page&amp;lt;/code&amp;gt; || Integer || Page number you would like to show, ignored for &amp;lt;code&amp;gt;page_size=&amp;quot;max&amp;quot;&amp;lt;/code&amp;gt; queries&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;page_size&amp;lt;/code&amp;gt; || Integer or &amp;lt;code&amp;gt;&amp;quot;max&amp;quot;&amp;lt;/code&amp;gt; ||The amount of results to show per page, or all results when passed &amp;lt;code&amp;gt;&amp;quot;max&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== JSON Object Types ==&lt;br /&gt;
&lt;br /&gt;
=== Sort Attribute ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Attribute !! Sort By&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;quot;relevancy&amp;quot;&amp;lt;/code&amp;gt; || Internal metric&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;quot;most_downloads&amp;quot;&amp;lt;/code&amp;gt; || Download count&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;quot;last_updated_at&amp;quot;&amp;lt;/code&amp;gt; || Most recently updated&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;quot;trending&amp;quot;&amp;lt;/code&amp;gt; || Internal metric&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Mod List Response ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;pagination&amp;lt;/code&amp;gt; || [[#Pagination|Pagination]] || See [[#Pagination]]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;results&amp;lt;/code&amp;gt; || [[#Result Entry|Result]][] || A list of mods, matching the filters specified by the query&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Pagination ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;count&amp;lt;/code&amp;gt; || Integer || Total number of mods that match your specified filters.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;links&amp;lt;/code&amp;gt; || [[#Pagination_Links|Links]] || Utility links to mod portal api requests, preserving all filters and search queries.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;page&amp;lt;/code&amp;gt; || Integer || The current page number.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;page_count&amp;lt;/code&amp;gt; || Integer || The total number of pages returned.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;page_size&amp;lt;/code&amp;gt; || Integer || The number of results per page.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Pagination Links ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;first&amp;lt;/code&amp;gt; || String(URL) || URL to the first page of the results, or &amp;lt;code&amp;gt;null&amp;lt;/code&amp;gt; if you&#039;re already on the first page&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;prev&amp;lt;/code&amp;gt; || String(URL) || URL to the previous page of the results, or &amp;lt;code&amp;gt;null&amp;lt;/code&amp;gt; if you&#039;re already on the first page&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;next&amp;lt;/code&amp;gt; || String(URL) || URL to the next page of the results, or &amp;lt;code&amp;gt;null&amp;lt;/code&amp;gt; if you&#039;re already on the last page&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;last&amp;lt;/code&amp;gt; || String(URL) || URL to the last page of the results, or &amp;lt;code&amp;gt;null&amp;lt;/code&amp;gt; if you&#039;re already on the last page&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Result Entry ===&lt;br /&gt;
&lt;br /&gt;
Fields returned by the api/mods endpoint are marked with a check (✓) in the &amp;quot;api/mods endpoint&amp;quot; column, those returned by the api/mods/{name} endpoint are marked with a check in the &amp;quot;Short&amp;quot; column and those returned by the api/mods/{name}/full endpoint are marked in the &amp;quot;Full&amp;quot; column. Fields may be absent if there is no data.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Type !!+ style=&#039;writing-mode:vertical-lr;vertical-align:bottom;font-size:90%&#039; | api/mods endpoint !!+ style=&#039;writing-mode:vertical-lr;vertical-align:bottom;font-size:90%&#039; | Short !!+ style=&#039;writing-mode:vertical-lr;vertical-align:bottom;font-size:90%&#039; | Full !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;latest_release&amp;lt;/code&amp;gt; || [[#Releases|Release]]? || ✓* || ||&lt;br /&gt;
| The latest version of the mod available for download. &amp;lt;b&amp;gt;*Absent when the &amp;lt;code&amp;gt;namelist&amp;lt;/code&amp;gt; [[#/api/mods|parameter]] is used&amp;lt;/b&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;downloads_count&amp;lt;/code&amp;gt; || Integer || ✓ || ✓ || ✓&lt;br /&gt;
| Number of downloads.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt; || String || ✓ || ✓ || ✓&lt;br /&gt;
| The mod&#039;s machine-readable ID string.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;owner&amp;lt;/code&amp;gt; || String || ✓ || ✓ || ✓&lt;br /&gt;
| The Factorio username of the mod&#039;s author.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;releases&amp;lt;/code&amp;gt; || [[#Releases|Release]][] || ✓* || ✓ || ✓&lt;br /&gt;
| A list of different versions of the mod available for download. See [[#Releases]]. &amp;lt;b&amp;gt;*Only when using &amp;lt;code&amp;gt;namelist&amp;lt;/code&amp;gt; [[#/api/mods|parameter]]&amp;lt;/b&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;summary&amp;lt;/code&amp;gt; || String || ✓ || ✓ || ✓&lt;br /&gt;
| A shorter mod description.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; || String || ✓ || ✓ || ✓&lt;br /&gt;
| The mod&#039;s human-readable name.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;category&amp;lt;/code&amp;gt; || [[Mod_details_API#Category|Category]]? || ✓ || ✓ || ✓&lt;br /&gt;
| A single category describing the mod. See [[Mod_details_API#Category]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;score&amp;lt;/code&amp;gt; || Integer || ✓ || ✓* || ✓*&lt;br /&gt;
| The score of the mod. &amp;lt;b&amp;gt;*Only when not 0&amp;lt;/b&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;thumbnail&amp;lt;/code&amp;gt; || String(relative URL)? || || ✓ || ✓&lt;br /&gt;
| The relative path to the thumbnail of the mod. For mods that have no thumbnail it may be absent or default to &amp;lt;code&amp;gt;&amp;quot;/assets/.thumb.png&amp;quot;&amp;lt;/code&amp;gt;. Prepend &amp;quot;assets-mod.factorio.com&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;changelog&amp;lt;/code&amp;gt; || String? || || || ✓&lt;br /&gt;
| A string describing the recent changes to a mod.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;created_at&amp;lt;/code&amp;gt; || String(ISO 8601) || || || ✓&lt;br /&gt;
| ISO 8601 for when the mod was created. (RFC 3339 nano)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;updated_at&amp;lt;/code&amp;gt; || String(ISO 8601) || || || ✓&lt;br /&gt;
| ISO 8601 for when the mod was last updated. (RFC 3339 nano)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;last_highlighted_at&amp;lt;/code&amp;gt; || String(ISO 8601)? || || || ✓&lt;br /&gt;
| ISO 8601 for when the mod was last featured on the &amp;quot;Highlighted mods&amp;quot; tab. (RFC 3339 nano)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;description&amp;lt;/code&amp;gt; || String? || || || ✓&lt;br /&gt;
| A longer description of the mod, in text only format.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;source_url&amp;lt;/code&amp;gt; || String? || || || ✓&lt;br /&gt;
| A URL to the mod&#039;s source code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;github_path&amp;lt;/code&amp;gt; || String? || || || ✓&lt;br /&gt;
| Deprecated: Use &amp;lt;code&amp;gt;source_url&amp;lt;/code&amp;gt; instead. A link to the mod&#039;s github project page, just prepend &amp;quot;github.com/&amp;quot;. Can be blank (&amp;quot;&amp;quot;).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;homepage&amp;lt;/code&amp;gt; || String || || || ✓&lt;br /&gt;
| Usually a URL to the mod&#039;s main project page, but can be any string.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;tags&amp;lt;/code&amp;gt; || [[#Mod_details_API#Tags|Tag]][] || || || ✓&lt;br /&gt;
| A list of tag names that categorize the mod. See [[#Mod_details_API#Tags]].&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;license&amp;lt;/code&amp;gt; || [[#License]][] || || || ✓&lt;br /&gt;
| The license that applies to the mod. See [[#License]].&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;deprecated&amp;lt;/code&amp;gt; || Boolean? || || || ✓&lt;br /&gt;
| True if the mod is marked as deprecated by its owner. Absent when false.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Releases ===&lt;br /&gt;
&lt;br /&gt;
Only difference here between the api/mods/{name} endpoint and the api/mods/{name}/full endpoint is that the full one includes an array of dependencies in the info_json object.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;download_url&amp;lt;/code&amp;gt; || String &lt;br /&gt;
| Path to download for a mod. starts with &amp;quot;/download&amp;quot; and does not include a full url. See [[#Downloading Mods]]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;file_name&amp;lt;/code&amp;gt; || String &lt;br /&gt;
| The file name of the release. Always seems to follow the pattern &amp;quot;{name}_{version}.zip&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;info_json&amp;lt;/code&amp;gt; || Object &lt;br /&gt;
| A copy of the mod&#039;s info.json file, only contains factorio_version in short version, also contains an array of dependencies in full version&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;released_at&amp;lt;/code&amp;gt; || String(ISO 8601) &lt;br /&gt;
| ISO 8601 for when the mod was released. (RFC 3339 nano)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;version&amp;lt;/code&amp;gt; || String &lt;br /&gt;
| The version string of this mod release. Used to determine dependencies. &lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;sha1&amp;lt;/code&amp;gt; || String &lt;br /&gt;
| The sha1 key for the file.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;feature_flags&amp;lt;/code&amp;gt; || String[]?&lt;br /&gt;
| The feature flags this mod uses. See [https://lua-api.factorio.com/latest/types/FeatureFlags.html FeatureFlags]&lt;br /&gt;
|- &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== License ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;description&amp;lt;/code&amp;gt; || String || A short description of the license.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;id&amp;lt;/code&amp;gt; || String || The unique id of the license. For more information on each, see [[#Mod_details_API#License|License]]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt; || String || The internal name of the license.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; || String || The human-readable title of the license.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;url&amp;lt;/code&amp;gt; || String || Usually a URL to the full license text, but can be any string.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Error ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Type&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;message&amp;lt;/code&amp;gt; || String&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Downloading Mods ==&lt;br /&gt;
&lt;br /&gt;
You can get the full url by appending the download_url to mods.factorio.com, but if you&#039;re not authenticated, you will be redirected to mods.factorio.com/login. Logging in to that would give you access to the file. Fortunately, there&#039;s a better way to do this. Simply adding username and token parameters to the download url will prevent the redirecting and let you download the file immediately. The token can be acquired from a json file called &amp;quot;player-data.json&amp;quot;, located in the User Data directory (see [[Application_directory#User_data_directory]]). You can also get the token by using the [[Web_authentication_API | Web Authentication API]].&lt;br /&gt;
&lt;br /&gt;
Example usage:&lt;br /&gt;
&amp;lt;code&amp;gt;https://mods.factorio.com/{download_url}?username={username}&amp;amp;token={token}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Technical]]&lt;/div&gt;</summary>
		<author><name>Sevens7</name></author>
	</entry>
	<entry>
		<id>https://wiki.factorio.com/index.php?title=Mod_portal_API&amp;diff=218833</id>
		<title>Mod portal API</title>
		<link rel="alternate" type="text/html" href="https://wiki.factorio.com/index.php?title=Mod_portal_API&amp;diff=218833"/>
		<updated>2026-06-16T14:28:53Z</updated>

		<summary type="html">&lt;p&gt;Sevens7: Add documentation for /api/search endpoint, try to make syntax consistent&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div align=&amp;quot;center&amp;quot; class=&amp;quot;stub&amp;quot;&amp;gt;&#039;&#039;&#039;Category:&#039;&#039;&#039; [[Factorio_HTTP_API_usage_guidelines#Internal|Internal API]]&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Mod Portal API is used to both browse and download all mods available on the [https://mods.factorio.com/ official Factorio mod portal]. Using the API does not require any kind of authentication or account information and can be viewed simply by following the URLs below in any web browser.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;https://mods.factorio.com/api/mods&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
More detailed information about a particular mod can be obtained by retrieving the following URL, where {name} is the mod&#039;s name field in the result object.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;https://mods.factorio.com/api/mods/{name}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To get even more information about a mod, you can use the following URL.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;https://mods.factorio.com/api/mods/{name}/full&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
List of bookmarked mods can be accessed from following URL (requires authentication).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;https://mods.factorio.com/api/bookmarks?username={username}&amp;amp;token={token}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also toggle a bookmark using following URL, with &amp;lt;code&amp;gt;state&amp;lt;/code&amp;gt; being &amp;lt;code&amp;gt;on&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;off&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;https://mods.factorio.com/api/bookmarks/toggle?username={username}&amp;amp;token={token}&amp;amp;mod={name}&amp;amp;state={state}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Endpoints ==&lt;br /&gt;
&lt;br /&gt;
=== /api/mods ===&lt;br /&gt;
&lt;br /&gt;
GET Parameters (sent as query parameters):&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Values !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;hide_deprecated&amp;lt;/code&amp;gt; || Boolean || Whether to exclude incompatible mods from the results.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;page&amp;lt;/code&amp;gt; || Integer || Page number to fetch, ignored for &amp;lt;code&amp;gt;page_size=&amp;quot;max&amp;quot;&amp;lt;/code&amp;gt; queries&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;page_size&amp;lt;/code&amp;gt; || Integer or &amp;lt;code&amp;gt;&amp;quot;max&amp;quot;&amp;lt;/code&amp;gt; ||The amount of results to show per page, or all results when passed &amp;lt;code&amp;gt;&amp;quot;max&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;sort&amp;lt;/code&amp;gt; || String? (one of &amp;lt;code&amp;gt;&amp;quot;name&amp;quot;&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;&amp;quot;created_at&amp;quot;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;quot;updated_at&amp;quot;&amp;lt;/code&amp;gt;) || Sort results by this property. Defaults to &amp;lt;code&amp;gt;&amp;quot;name&amp;quot;&amp;lt;/code&amp;gt; when absent. Ignored for &amp;lt;code&amp;gt;page_size=max&amp;lt;/code&amp;gt; queries&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;sort_order&amp;lt;/code&amp;gt; || String? (either &amp;lt;code&amp;gt;&amp;quot;asc&amp;quot;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;quot;desc&amp;quot;&amp;lt;/code&amp;gt;) || Sort results ascending or descending. Defaults to &amp;lt;code&amp;gt;&amp;quot;desc&amp;quot;&amp;lt;/code&amp;gt; when absent. Ignored for &amp;lt;code&amp;gt;page_size=&amp;quot;max&amp;quot;&amp;lt;/code&amp;gt; queries&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;namelist&amp;lt;/code&amp;gt; || String[]? || Return only mods that match the given names. Response will include &amp;lt;code&amp;gt;releases&amp;lt;/code&amp;gt; instead of &amp;lt;code&amp;gt;latest_release&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;version&amp;lt;/code&amp;gt; || Factorio Version String (e.g. &amp;lt;code&amp;gt;&amp;quot;2.0.76&amp;quot;&amp;lt;/code&amp;gt;) || Mods incompatible with this Factorio version are marked as deprecated and hidden for &amp;lt;code&amp;gt;hide_deprecated=true&amp;lt;/code&amp;gt; queries.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Returns [[#Mod List Response]]&lt;br /&gt;
&lt;br /&gt;
=== /api/mods/{mod_name} ===&lt;br /&gt;
&lt;br /&gt;
Return short information of a specific mod.&lt;br /&gt;
&lt;br /&gt;
See [[#Result Entry]], &amp;quot;Short&amp;quot; column.&lt;br /&gt;
&lt;br /&gt;
=== /api/mods/{mod_name}/full ===&lt;br /&gt;
&lt;br /&gt;
Returns more information of a mod.&lt;br /&gt;
&lt;br /&gt;
See [[#Result Entry]], &amp;quot;Full&amp;quot; column.&lt;br /&gt;
&lt;br /&gt;
=== /api/bookmarks ===&lt;br /&gt;
&lt;br /&gt;
Returns array of mod names&lt;br /&gt;
&lt;br /&gt;
=== /api/search ===&lt;br /&gt;
POST Parameters (sent as query parameters):&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Keys !! Values !! Descrption&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;version&amp;lt;/code&amp;gt; || Factorio Version String (e.g. &amp;lt;code&amp;gt;&amp;quot;2.0.76&amp;quot;&amp;lt;/code&amp;gt;) || The version of Factorio to search mods for, mods incompatible with this version are marked as &amp;quot;deprecated&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;lang&amp;lt;/code&amp;gt; || Locale Identifier? || No effect on response&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;is_space_age&amp;lt;/code&amp;gt; || Boolean? || No effect on response&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;username&amp;lt;/code&amp;gt; || String || factorio.com account username to use for the query&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;token&amp;lt;/code&amp;gt; || String || factorio.com account token to use for the query&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;query&amp;lt;/code&amp;gt; || String? || The string to filter by, empty or absent does not filter&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;sort_attribute&amp;lt;/code&amp;gt; || [[#Sort Attribute|Sort Attribute]]? || The attribute to sort the results by. Defaults to &amp;lt;code&amp;gt;&amp;quot;relevancy&amp;quot;&amp;lt;/code&amp;gt; if absent&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;only_bookmarks&amp;lt;/code&amp;gt; || Boolean? || Whether to filter results down to only mods bookmarked by the account given by &amp;lt;code&amp;gt;username&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;token&amp;lt;/code&amp;gt;. Defaults to false if absent&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;show_deprecated&amp;lt;/code&amp;gt; || Boolean? || Whether to show mods incompatible with the Factorio version specified with &amp;lt;code&amp;gt;version&amp;lt;/code&amp;gt;. Defaults to false if absent&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;highlight_pre_tag&amp;lt;/code&amp;gt; || String? || A string to place in front of the matched text for &amp;lt;code&amp;gt;query&amp;lt;/code&amp;gt;, defaults to &amp;lt;code&amp;gt;&amp;quot;&amp;lt;em&amp;gt;&amp;quot;&amp;lt;/code&amp;gt; if absent. If &amp;lt;code&amp;gt;query&amp;lt;/code&amp;gt; is empty or absent, value is ignored&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;highlight_post_tag&amp;lt;/code&amp;gt; || String? || A string to place behind the matched text for &amp;lt;code&amp;gt;query&amp;lt;/code&amp;gt;, defaults to &amp;lt;code&amp;gt;&amp;quot;&amp;lt;/em&amp;gt;&amp;quot;&amp;lt;/code&amp;gt; if absent. If &amp;lt;code&amp;gt;query&amp;lt;/code&amp;gt; is empty or absent, value is ignored&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;expansion&amp;lt;/code&amp;gt; || String[]? || A whitelist of expansion(s) to filter mods with (currently the only valid value is &amp;lt;code&amp;gt;&amp;quot;space-age&amp;quot;&amp;lt;/code&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;exclude_expansion&amp;lt;/code&amp;gt; || String[]? || A blacklist of expansion(s) to filter mods with (currently the only valid value is &amp;lt;code&amp;gt;&amp;quot;space-age&amp;quot;&amp;lt;/code&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;category&amp;lt;/code&amp;gt; || [[Mod_details_API#Category|Category]][]? || A whitelist of categories to filter mods with&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;exclude_category&amp;lt;/code&amp;gt; || [[Mod_details_API#Category|Category]][]? || A blacklist of categories to filter mods with&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;tag&amp;lt;/code&amp;gt; || [[#Mod_details_API#Tags|Tag]][]? || A whitelist of tags to filter mods with&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;exclude_tag&amp;lt;/code&amp;gt; || [[#Mod_details_API#Tags|Tag]][]? || A blacklist of tags to filter mods with&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;page&amp;lt;/code&amp;gt; || Integer || Page number you would like to show, ignored for &amp;lt;code&amp;gt;page_size=&amp;quot;max&amp;quot;&amp;lt;/code&amp;gt; queries&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;page_size&amp;lt;/code&amp;gt; || Integer or &amp;lt;code&amp;gt;&amp;quot;max&amp;quot;&amp;lt;/code&amp;gt; ||The amount of results to show per page, or all results when passed &amp;lt;code&amp;gt;&amp;quot;max&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== JSON Object Types ==&lt;br /&gt;
&lt;br /&gt;
=== Sort Attribute ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Attribute !! Sort By&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;quot;relevancy&amp;quot;&amp;lt;/code&amp;gt; || Internal metric&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;quot;most_downloads&amp;quot;&amp;lt;/code&amp;gt; || Download count&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;quot;last_updated_at&amp;quot;&amp;lt;/code&amp;gt; || Most recently updated&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;quot;trending&amp;quot;&amp;lt;/code&amp;gt; || Internal metric&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Mod List Response ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;pagination&amp;lt;/code&amp;gt; || [[#Pagination|Pagination]] || See [[#Pagination]]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;results&amp;lt;/code&amp;gt; || [[#Result Entry|Result]][] || A list of mods, matching the filters specified by the query&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Pagination ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;count&amp;lt;/code&amp;gt; || Integer || Total number of mods that match your specified filters.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;links&amp;lt;/code&amp;gt; || [[#Pagination_Links|Links]] || Utility links to mod portal api requests, preserving all filters and search queries.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;page&amp;lt;/code&amp;gt; || Integer || The current page number.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;page_count&amp;lt;/code&amp;gt; || Integer || The total number of pages returned.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;page_size&amp;lt;/code&amp;gt; || Integer || The number of results per page.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Pagination Links ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;first&amp;lt;/code&amp;gt; || String(URL) || URL to the first page of the results, or &amp;lt;code&amp;gt;null&amp;lt;/code&amp;gt; if you&#039;re already on the first page&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;prev&amp;lt;/code&amp;gt; || String(URL) || URL to the previous page of the results, or &amp;lt;code&amp;gt;null&amp;lt;/code&amp;gt; if you&#039;re already on the first page&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;next&amp;lt;/code&amp;gt; || String(URL) || URL to the next page of the results, or &amp;lt;code&amp;gt;null&amp;lt;/code&amp;gt; if you&#039;re already on the last page&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;last&amp;lt;/code&amp;gt; || String(URL) || URL to the last page of the results, or &amp;lt;code&amp;gt;null&amp;lt;/code&amp;gt; if you&#039;re already on the last page&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Result Entry ===&lt;br /&gt;
&lt;br /&gt;
Fields returned by the api/mods endpoint are marked with a check (✓) in the &amp;quot;api/mods endpoint&amp;quot; column, those returned by the api/mods/{name} endpoint are marked with a check in the &amp;quot;Short&amp;quot; column and those returned by the api/mods/{name}/full endpoint are marked in the &amp;quot;Full&amp;quot; column. Fields may be absent if there is no data.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Type !!+ style=&#039;writing-mode:vertical-lr;vertical-align:bottom;font-size:90%&#039; | api/mods endpoint !!+ style=&#039;writing-mode:vertical-lr;vertical-align:bottom;font-size:90%&#039; | Short !!+ style=&#039;writing-mode:vertical-lr;vertical-align:bottom;font-size:90%&#039; | Full !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;latest_release&amp;lt;/code&amp;gt; || [[#Releases|Release]]? || ✓* || ||&lt;br /&gt;
| The latest version of the mod available for download. &amp;lt;b&amp;gt;*Absent when the &amp;lt;code&amp;gt;namelist&amp;lt;/code&amp;gt; [[#/api/mods|parameter]] is used&amp;lt;/b&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;downloads_count&amp;lt;/code&amp;gt; || Integer || ✓ || ✓ || ✓&lt;br /&gt;
| Number of downloads.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt; || String || ✓ || ✓ || ✓&lt;br /&gt;
| The mod&#039;s machine-readable ID string.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;owner&amp;lt;/code&amp;gt; || String || ✓ || ✓ || ✓&lt;br /&gt;
| The Factorio username of the mod&#039;s author.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;releases&amp;lt;/code&amp;gt; || [[#Releases|Release]][] || ✓* || ✓ || ✓&lt;br /&gt;
| A list of different versions of the mod available for download. See [[#Releases]]. &amp;lt;b&amp;gt;*Only when using &amp;lt;code&amp;gt;namelist&amp;lt;/code&amp;gt; [[#/api/mods|parameter]]&amp;lt;/b&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;summary&amp;lt;/code&amp;gt; || String || ✓ || ✓ || ✓&lt;br /&gt;
| A shorter mod description.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; || String || ✓ || ✓ || ✓&lt;br /&gt;
| The mod&#039;s human-readable name.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;category&amp;lt;/code&amp;gt; || [[Mod_details_API#Category|Category]]? || ✓ || ✓ || ✓&lt;br /&gt;
| A single category describing the mod. See [[Mod_details_API#Category]].&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;score&amp;lt;/code&amp;gt; || Integer || ✓ || ✓* || ✓*&lt;br /&gt;
| The score of the mod. &amp;lt;b&amp;gt;*Only when not 0&amp;lt;/b&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;thumbnail&amp;lt;/code&amp;gt; || String(relative URL)? || || ✓ || ✓&lt;br /&gt;
| The relative path to the thumbnail of the mod. For mods that have no thumbnail it may be absent or default to &amp;lt;code&amp;gt;&amp;quot;/assets/.thumb.png&amp;quot;&amp;lt;/code&amp;gt;. Prepend &amp;quot;assets-mod.factorio.com&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;changelog&amp;lt;/code&amp;gt; || String? || || || ✓&lt;br /&gt;
| A string describing the recent changes to a mod.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;created_at&amp;lt;/code&amp;gt; || String(ISO 8601) || || || ✓&lt;br /&gt;
| ISO 8601 for when the mod was created. (RFC 3339 nano)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;updated_at&amp;lt;/code&amp;gt; || String(ISO 8601) || || || ✓&lt;br /&gt;
| ISO 8601 for when the mod was last updated. (RFC 3339 nano)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;last_highlighted_at&amp;lt;/code&amp;gt; || String(ISO 8601)? || || || ✓&lt;br /&gt;
| ISO 8601 for when the mod was last featured on the &amp;quot;Highlighted mods&amp;quot; tab. (RFC 3339 nano)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;description&amp;lt;/code&amp;gt; || String? || || || ✓&lt;br /&gt;
| A longer description of the mod, in text only format.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;source_url&amp;lt;/code&amp;gt; || String? || || || ✓&lt;br /&gt;
| A URL to the mod&#039;s source code.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;github_path&amp;lt;/code&amp;gt; || String? || || || ✓&lt;br /&gt;
| Deprecated: Use &amp;lt;code&amp;gt;source_url&amp;lt;/code&amp;gt; instead. A link to the mod&#039;s github project page, just prepend &amp;quot;github.com/&amp;quot;. Can be blank (&amp;quot;&amp;quot;).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;homepage&amp;lt;/code&amp;gt; || String || || || ✓&lt;br /&gt;
| Usually a URL to the mod&#039;s main project page, but can be any string.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;tags&amp;lt;/code&amp;gt; || [[#Mod_details_API#Tags|Tag]][] || || || ✓&lt;br /&gt;
| A list of tag names that categorize the mod. See [[#Mod_details_API#Tags]].&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;license&amp;lt;/code&amp;gt; || [[#License]][] || || || ✓&lt;br /&gt;
| The license that applies to the mod. See [[#License]].&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;deprecated&amp;lt;/code&amp;gt; || Boolean? || || || ✓&lt;br /&gt;
| True if the mod is marked as deprecated by its owner. Absent when false.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Releases ===&lt;br /&gt;
&lt;br /&gt;
Only difference here between the api/mods/{name} endpoint and the api/mods/{name}/full endpoint is that the full one includes an array of dependencies in the info_json object.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;download_url&amp;lt;/code&amp;gt; || String &lt;br /&gt;
| Path to download for a mod. starts with &amp;quot;/download&amp;quot; and does not include a full url. See [[#Downloading Mods]]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;file_name&amp;lt;/code&amp;gt; || String &lt;br /&gt;
| The file name of the release. Always seems to follow the pattern &amp;quot;{name}_{version}.zip&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;info_json&amp;lt;/code&amp;gt; || Object &lt;br /&gt;
| A copy of the mod&#039;s info.json file, only contains factorio_version in short version, also contains an array of dependencies in full version&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;released_at&amp;lt;/code&amp;gt; || String(ISO 8601) &lt;br /&gt;
| ISO 8601 for when the mod was released. (RFC 3339 nano)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;version&amp;lt;/code&amp;gt; || String &lt;br /&gt;
| The version string of this mod release. Used to determine dependencies. &lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;sha1&amp;lt;/code&amp;gt; || String &lt;br /&gt;
| The sha1 key for the file.&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;code&amp;gt;feature_flags&amp;lt;/code&amp;gt; || String[]?&lt;br /&gt;
| The feature flags this mod uses. See [https://lua-api.factorio.com/latest/types/FeatureFlags.html FeatureFlags]&lt;br /&gt;
|- &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== License ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;description&amp;lt;/code&amp;gt; || String || A short description of the license.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;id&amp;lt;/code&amp;gt; || String || The unique id of the license. For more information on each, see [[#Mod_details_API#License|License]]&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt; || String || The internal name of the license.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; || String || The human-readable title of the license.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;url&amp;lt;/code&amp;gt; || String || Usually a URL to the full license text, but can be any string.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Error ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Type&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;message&amp;lt;/code&amp;gt; || String&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Downloading Mods ==&lt;br /&gt;
&lt;br /&gt;
You can get the full url by appending the download_url to mods.factorio.com, but if you&#039;re not authenticated, you will be redirected to mods.factorio.com/login. Logging in to that would give you access to the file. Fortunately, there&#039;s a better way to do this. Simply adding username and token parameters to the download url will prevent the redirecting and let you download the file immediately. The token can be acquired from a json file called &amp;quot;player-data.json&amp;quot;, located in the User Data directory (see [[Application_directory#User_data_directory]]). You can also get the token by using the [[Web_authentication_API | Web Authentication API]].&lt;br /&gt;
&lt;br /&gt;
Example usage:&lt;br /&gt;
&amp;lt;code&amp;gt;https://mods.factorio.com/{download_url}?username={username}&amp;amp;token={token}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Technical]]&lt;/div&gt;</summary>
		<author><name>Sevens7</name></author>
	</entry>
</feed>