Inara API

More about Inara API is on the API page, general dev guidelines are here and more detailed documentation about the events and data format here.

Just a note for tool authors using Inara API - please ensure your apps are doing  TWO requests per minute AT MAXIMUM. As I have discovered, many users are using multiple apps at once (nothing wrong with that), but are also updating their profiles from all of the applications at once, which is causing quite serious overhead. For such reason, I have needed to make API requests limits much tighter. For bots and other similar non-demanding apps are requests rates set same as before. If do you need another requests rate limit, please send me a PM.

Inara API update for Odyssey:
  • The header property isDeveloped was renamed to less confusing isBeingDeveloped. You don't need to change anything on your end though, the old property will still work.
  • A new event addCommanderTravelLand for commanders landing on the celestial body was added (should be triggered at journal's Touchdown, DropShipDeploy and similar).
  • The events addCommanderTravelCarrierJump, addCommanderTravelDock, addCommanderTravelFSDJump and setCommanderTravelLocation now contain optional properties for the star system coordinates, celestial body and celestial body coordinates. It's not required to set, it may however help to further precise commander's location when the star system is not in the database, etc.
  • The events addCommanderTravelDock, addCommanderTravelFSDJump and addCommanderTravelLand are now having boolean properties isTaxiShuttle and isTaxiDropship for travelling with Apex or Frontline Solutions ships.
  • New events setCommanderInventory, resetCommanderInventory, setCommanderInventoryItem, addCommanderInventoryItem and delCommanderInventoryItem added. Those are supposed for handling the new Odyssey events like ShipLockerMaterials and similar, you can however use it also for the existing engineering materials or ship cargo instead of the existing dedicated events (but you do not need to, they are not going anywhere).
  • New events setCommanderSuitLoadout, updateCommanderSuitLoadout and delCommanderSuitLoadout for the suit loadouts added.
10 Dec 2023, 6:27pm
GoldenPSPHey all,
I'm trying to troubleshoot an issue with inara updates. I currently use EDMC for updates and verified my API is correct. If i look under my settings I can see API updates with events logged, no errors, soft errors or warnings. However some data doesn't seem to be updating and I don't know where the hangup is.

Two key areas, Inara shows a squadron that I haven't been a member of in forever, and does not show the current squadron I'm a member of. Also while it seems to show my FC current market info, when I test by searching I don't see my FC showing up in search results for buy and sell orders. I do have my privacy settings set to EVERYONE for all categories.

Hello, the squadron and FC information is not being updated via API (there are various reasons for that, like privacy concerns for squadrons, etc.). For the squadron please leave the squadron manually on its roster page (and join your current squadron on its Inara page, if present). For having your FC visible in the market/commodity search and listings you need to set its docking privileges to "All" in the game and then import your data on your CMDR page, so your FC properties will be updated on Inara.

HamurdHow do I get my carrier location to update on Inara? I have ED Market Connector, and I import data on my Commander page. Everything else updates fine, except my carriers location. I put stuff for sale on the Bartender, it updates immediately, but still shows my carrier in the wrong system.

To the point if you look at my flight log, it shows me jump to Ehlanda (where my carrier actually is) and then it shows me Docking at my carrier... in Kao Wanga!

My apologies, I somehow missed your post earlier - is this problem still present?
05 Mar 2024, 12:44pm
Hello, does anyone have the same problem as me regarding the error: httpCode: 400, fetchCode: 0
Impossible to authenticate through the Epic games platform or even through Frontier.
Thanks in advance

today September 6, I was able to do the synchronization. Automatic updating is reactivated.


Last edit: 06 Mar 2024, 3:34pm
07 Mar 2024, 4:42pm
Lego69Hello, does anyone have the same problem as me regarding the error: httpCode: 400, fetchCode: 0
Impossible to authenticate through the Epic games platform or even through Frontier.
Thanks in advance

today September 6, I was able to do the synchronization. Automatic updating is reactivated.

Hello, it's an issue between Epic and Frontier with access tokens expiring while the user was not in the game for a while, so getting into the game first and then importing the data (or re-linking the game account) should help with this, if it will happen again.
09 May 2024, 2:59pm
Hi,

May I ask what triggers an update to ship names in Inara? Everything appeared as capitals when I keyed the ship names in to the game itself, but I see in Inara that my capitalisation was all over the place. I've tried fixing a few of the names in-game but after a few updates Inara is still showing the old values. Are case changes picked up, or do I need to e.g. add a character to the name to force a refresh?

Thanks
09 May 2024, 8:08pm
As the game may be reporting the ships names in the journal all uppercase (doesn't matter how the player entered the name), Inara is doing some name "beautification" to not have all the ship names "shouty". But, you can adjust the ship name in the manual ship edit on Inara - as long as the name will remain the same (ignoring upper/lower case), it will stick through the updates.
10 May 2024, 7:24am
ArtieAs the game may be reporting the ships names in the journal all uppercase (doesn't matter how the player entered the name), Inara is doing some name "beautification" to not have all the ship names "shouty". But, you can adjust the ship name in the manual ship edit on Inara - as long as the name will remain the same (ignoring upper/lower case), it will stick through the updates.


Understood, thanks Artie.
01 Sep 2024, 4:18pm
Hail Artie

I'm having a problem with my bot not being able to perform CMDR name lookups - I'm getting a 403 response 'forbidden' when trying to 'getCommanderProfile'

However, I tried troubleshooting this through Postman and it was working when I used the same API key.

IS there any chance this was blocked your side?
01 Sep 2024, 4:39pm
SuperFixxxeRHail Artie

I'm having a problem with my bot not being able to perform CMDR name lookups - I'm getting a 403 response 'forbidden' when trying to 'getCommanderProfile'

However, I tried troubleshooting this through Postman and it was working when I used the same API key.

IS there any chance this was blocked your side?

Hello, maybe unintentionally, please send me an IP address your bot is using into PM and I will take a look into it.
01 Sep 2024, 4:44pm
Thanks for the quick reply - sent
06 Oct 2024, 10:37pm
o7 Commanders.

Anyone having an issue with Total Asset reporting the wrong amount? My ship/Commander balance is correct. I noticed it at some point after recently defecting to a different power. I have tried to re-link my account through the Frontier store, clearing browser cache for inara and all sites but it persists. Are there any other options I can try?
07 Oct 2024, 1:34pm
BigOniono7 Commanders.

Anyone having an issue with Total Asset reporting the wrong amount? My ship/Commander balance is correct. I noticed it at some point after recently defecting to a different power. I have tried to re-link my account through the Frontier store, clearing browser cache for inara and all sites but it persists. Are there any other options I can try?

Hello, looking into your journal that's exactly the value that the game is reporting there, so there is nothing to fix (on Inara's end at least). Is the game showing a different value? Also, be aware that credits stored on your fleet carrier are not counted towards the total assets by the game for some odd reason (I guess that's the issue?).
07 Oct 2024, 11:13pm
Artie
BigOniono7 Commanders.

Anyone having an issue with Total Asset reporting the wrong amount? My ship/Commander balance is correct. I noticed it at some point after recently defecting to a different power. I have tried to re-link my account through the Frontier store, clearing browser cache for inara and all sites but it persists. Are there any other options I can try?


Hello, looking into your journal that's exactly the value that the game is reporting there, so there is nothing to fix (on Inara's end at least). Is the game showing a different value? Also, be aware that credits stored on your fleet carrier are not counted towards the total assets by the game for some odd reason (I guess that's the issue?).



Hi Artie. Yes, the in game amount is correct for credit balance, only the overall assets were in question. I have looked at my statistics on inara and somewhere between three and seven days ago (yesterday) both values were reporting correctly. Within that same time frame I also transferred 9.5 billion to my fleet carrier and that seems to be about the difference. I didn't know fleet carrier balance was not reflected in overall assets on inara. Thanks for clarification and your assistance!
26 Oct 2024, 2:53pm
xeno hunter is stuck, completely, ignored regardless of how many interceptors killed. This is a bit annoying to be honest, i.p. because the issue is since 2 years now.
26 Oct 2024, 3:44pm
Kruppsxeno hunter is stuck, completely, ignored regardless of how many interceptors killed. This is a bit annoying to be honest, i.p. because the issue is since 2 years now.

Please import your journal via the "Import game data" button on your Commander page. The xeno-kills were never updated via API and this is the only way to get the numbers of the kills for specific Thargoid types (and also to confirm the stats for basically all the medals).
26 Oct 2024, 4:41pm
Thank you. I was certain that it will work via API.

Post a reply

You must be signed in to post here.
Inara API is... well... see sticky post for the details.