Skip to main content
Question

Get Settings from AGOL layers


marta.podsiad
Supporter
Forum|alt.badge.img+9

Hi,

Does anyone know how to retrieve the information from the Settings tab of a layer published to Esri ArcGIS Online (AGOL)? I’m specifically trying to get the Data Source URL.

 

The Request URL I’m using doesn’t return that information. Any ideas?

 

2 replies

nielsgerrits
VIP
Forum|alt.badge.img+54

I think you should not use the service url but the item to find this.

For example:

https://www.arcgis.com/sharing/rest/content/items/c1a3bf98b1d148a6917ad85662d82704?f=pjson

This will return a json with “sourceUrl”.

Also see https://developers.arcgis.com/rest/users-groups-and-items/item/


j.botterill
Influencer
Forum|alt.badge.img+40
  • Influencer
  • May 15, 2025

You can also use the REST api endpoint under AGOL. To get to the services directory, on the item page you will find URL in the bottom right corner

https://support.esri.com/en-us/knowledge-base/how-to-access-the-rest-and-admin-endpoints-of-an-arcgis-000027990

The at the bottom of the endpoint you have alot of options from there to explore


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings