# Possible to get a list of Historical Tag Providers for use in Client?

**URL:** <https://forum.inductiveautomation.com/t/possible-to-get-a-list-of-historical-tag-providers-for-use-in-client/111762>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [October 28, 2025, 8:20pm UTC](https://forum.inductiveautomation.com/t/possible-to-get-a-list-of-historical-tag-providers-for-use-in-client/111762 "2025-10-28T20:20:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mdemaris](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mdemaris/32/54639_2.png) [@mdemaris](https://forum.inductiveautomation.com/u/mdemaris)\
**Post date:** [October 28, 2025, 8:20pm UTC](https://forum.inductiveautomation.com/t/possible-to-get-a-list-of-historical-tag-providers-for-use-in-client/111762/1 "2025-10-28T20:20:15Z")

</div>

Hi all,

Is there a way to get a list of Tag History providers in Perspective? For instance, using something like:

```python
def getDatabaseTagList():
	parentPath = '[System]Gateway/Database'
	results = system.tag.browse(parentPath)
	obj = [{'value':idx, 'label':results[idx]['name']} for idx, result in enumerate(results.getResults())]
	return obj

```

Many of the names listed do not have historical tags associated and or are not recognized as a Historical Tag Provider.

I am using this code in the Script Console and manually going through the names found on the Developer GW:

```python
path='histprov:Sim_Coater:/drv:Ignition-TWCGHMIDT01:default'

def one(path):
	tag_paths = []
	results = system.tag.browseHistoricalTags(path).getResults()
	print(system.tag.browseHistoricalTags(path).getReturnedSize())
	for result in results:
		strPath = result.getPath()
		print(strPath)
		if result.hasChildren():
			one(strPath)

one(path)

```

Most of them do have tags, and many throw a `Nonetype object is not iterable`.  
What I am looking for is a way to create a dictionary object for a dropdown, so I can select the Provider, and run some cleanup scripts on the historical tags.

Thanks

---

<div class="post-metadata">

**Author:** ![tyler.bennett](https://avatars.discourse-cdn.com/v4/letter/t/f04885/32.png) [@tyler.bennett](https://forum.inductiveautomation.com/u/tyler.bennett)\
**Post date:** [October 29, 2025, 8:42am UTC](https://forum.inductiveautomation.com/t/possible-to-get-a-list-of-historical-tag-providers-for-use-in-client/111762/2 "2025-10-29T08:42:47Z")

</div>

Recalling that `system.tag.browse()` (no arguments) returns all realtime tag providers I tried `system.tag.browseHistoricalTags()` (no arguments) and it does appear to return all historical tag providers.
