Multiple APIs from different providers on the same page

I have a page that queries an API provider which works as expected but I want to add APIs from other providers on the same page. How can I achieve this?
Below is the example of the current API query:

Dim doc  As New XmlDocument()

Dim nsManager As New XmlNamespaceManager(doc.NameTable)
nsManager.AddNamespace("ns1", "urn:com:test:pf:model:xml:output")
nsManager.AddNamespace("ns2", "urn:com:test:pf:model:xml:common")
Dim nodes As XmlNodeList = doc.SelectNodes("//ns1:products/ns1:product", nsManager)

Dim dataSource As IEnumerable
dataSource = From node As XmlNode in nodes
Select Name = node.SelectSingleNode("ns2:name", nsManager).InnerText, _
Description = node.SelectSingleNode("ns2:description", nsManager).InnerText, _
Image = node.SelectSingleNode("ns2:productImage", nsManager).InnerText, _

Set up an Apollo server and let the front end deal with it??? I KID, I JOKE(kind of).

Ok I tried this method by loading 3 APIs in this way:

Dim doc As New XmlDocument()
dim doc1 = (“AP1”)
dim doc2 = (“AP2”)
dim doc3 = (“AP3”)


But this always load the last one API3 and ignores the first 2. Is there a way to get to load all three instead of only the third one?

I don’t know what you mean by API. I am not aware of a specific definition of that in the context of ASP.Net.

XmlDocument is a class, not an API. So I do not understand.

How do you know that or why do you think that is so?