# Evemarketer API syntax question

**URL:** <https://forums.eveonline.com/t/evemarketer-api-syntax-question/413333>\
**Category:** Third Party Developers\
**Created:** [July 21, 2023, 11:36am UTC](https://forums.eveonline.com/t/evemarketer-api-syntax-question/413333 "2023-07-21T11:36:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tourniquet\_Ufa](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/tourniquet_ufa/32/379329_2.png) [@Tourniquet\_Ufa](https://forums.eveonline.com/u/Tourniquet_Ufa)\
**Post date:** [July 21, 2023, 11:36am UTC](https://forums.eveonline.com/t/evemarketer-api-syntax-question/413333/1 "2023-07-21T11:36:32Z")

</div>

I’m trying to build a spreadsheet to give me fast access to market values. I’m using the following “=importxml(“[https://api.evemarketer.com/ec/marketstat?typeid=35&usesystem=30000142](https://api.evemarketer.com/ec/marketstat?typeid=35&usesystem=30000142)”, “//sell/min”)” to look up the value of pyerite (type id is 35) in Jita (system id 30000142). I want to do the same thing, but by referring to a cell (D2) in the spreadsheet instead of specifying the number 35 for the typeid. Anyone know what the correct syntax is for that?

---

<div class="post-metadata">

**Author:** ![Tourniquet\_Ufa](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/tourniquet_ufa/32/379329_2.png) [@Tourniquet\_Ufa](https://forums.eveonline.com/u/Tourniquet_Ufa)\
**Post date:** [July 21, 2023, 10:55pm UTC](https://forums.eveonline.com/t/evemarketer-api-syntax-question/413333/2 "2023-07-21T22:55:56Z")

</div>

I figured it out, sharing in case someone else has the same question:  
=IMPORTXML(“[https://api.evemarketer.com/ec/marketstat?usesystem=“&30000142&”&typeid=“&D2,”//sell/min](https://api.evemarketer.com/ec/marketstat?usesystem=%22&30000142&%22&typeid=%22&D2,%22//sell/min)”)

---

<div class="post-metadata">

**Author:** ![Brock\_Khans](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/brock_khans/32/409174_2.png) [@Brock\_Khans](https://forums.eveonline.com/u/Brock_Khans)\
**Post date:** [July 22, 2023, 6:46am UTC](https://forums.eveonline.com/t/evemarketer-api-syntax-question/413333/3 "2023-07-22T06:46:20Z")

</div>

Evemarketer has had some stability problems, especially with the API. You may also want to consider [Fuzzwork Market Data](https://market.fuzzwork.co.uk/api/)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/eveonline/original/3X/4/1/41ec4921cbaca7a6f9ea556e7cc20018461eae5e.png) [@system](https://forums.eveonline.com/u/system)\
**Post date:** [October 20, 2023, 6:47am UTC](https://forums.eveonline.com/t/evemarketer-api-syntax-question/413333/4 "2023-10-20T06:47:14Z")

</div>

Closed on October 20, 2023, 6:47am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
