# Replacing Query Tags with REST API

**URL:** <https://forum.inductiveautomation.com/t/replacing-query-tags-with-rest-api/113591>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [January 28, 2026, 10:24am UTC](https://forum.inductiveautomation.com/t/replacing-query-tags-with-rest-api/113591 "2026-01-28T10:24:19Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [January 28, 2026, 8:41pm UTC](https://forum.inductiveautomation.com/t/replacing-query-tags-with-rest-api/113591/6 "2026-01-28T20:41:52Z")

</div>

> [@Aiasa21](#):
>
> I don’t understand what you mean with “_cache all of the results in a top-level dictionary_”

search the forum for this terminology to see discussions on it, but basically you have a global variable in a project script that caches your api results. You only need to use the API if it doesn't already exist in the dictionary.  
examples:  
[Global Scripting Variables (Library Script Top-Level Vars) - Ignition - Inductive Automation Forum](https://forum.inductiveautomation.com/t/global-scripting-variables-library-script-top-level-vars/60516)  
[Imperial/Metric conversion: Where do you put your single source of truth? - Ignition - Inductive Automation Forum](https://forum.inductiveautomation.com/t/imperial-metric-conversion-where-do-you-put-your-single-source-of-truth/113313/21)

---

_[View the full topic](https://forum.inductiveautomation.com/t/replacing-query-tags-with-rest-api/113591)._
