To access data services, you reference the unique service URL for the data from your application.
Steps
You can access hosted layer (items) with tools in your portal or ArcGIS Pro. If you are building applications, you can also use client APIs or the REST API.
Tools
- ...
- ...
- ...
APIs
- ...
- ...
- ...
List items
To access hosted layer (items) that you own, you need to sign in to your portal. This gives you access to items in your account.
Find items by ID
If you know the ID for a hosted layer (item), you can access the item page directly with a URL.
https://www.arcgis.com/home/item.html?id=<ITEM_ID>Example: https
If the item is is private, you will be prompted to sign in and redirected to the item ID URL:
https://<ORG_ID>.maps.arcgis.com/home/item.html?id=<ITEM_ID>Search for items by ID
If you would like to search for all hosted layer (items) that are public, you can do so using ArcGIS Online.
Example: https
To get data, you need the service URL for your hosted layer (item) and you can access the layer directly or with a query to the service. The easiest way to find the URL is to go to the item page.
To access feature layer data, you execute a query to request a subset of the features from the feature layer. To learn more, go to Hosted feature layers.
Public
https://<HOST>/<UNIQUE_ID>/ArcGIS/rest/services/<SERVICE_NAME>/<LAYER_ID>/query?where=1=1&outFields=*&f=geojsonPrivate
https://<HOST>/<UNIQUE_ID>/ArcGIS/rest/services/<SERVICE_NAME>/<LAYER_ID>/query?where=1=1&outFields=*&f=geojson&token=<ACCESS_TOKEN>Example
Tutorials

Import data to create a feature layer
Use data management tools to import files and create a feature layer in a feature service.

Define a new feature layer
Use data management tools to define and create a new empty feature layer in a feature service.

Manage a feature layer
Use a hosted feature layer item to set the properties and settings of a feature layer in a feature service.

Create a vector tile service
Use data management tools to create a new vector tile service from a feature service.

Create a map tile service
Use ArcGIS Online or scripting APIs to publish a map tile service.
Workflows
Create a feature service for an app
Learn how to import parcel data, create and style a feature layer, and then access the features in an app.

Create a feature layer view for an editor app
Learn how to import parcel data, create and style a feature layer view, and then access the features in an editing app.

Create a vector tile service for an app
Learn how to import parcel data, style a feature layer, and then create a vector tile service for an app.

Create a map tile service for an app
Learn how to import contour data, style a feature layer, and create a map tile service for an app.

Services
Feature service
Add, update, delete, and query feature data.
Vector tile service
Store and access vector tile data.
Map tile service
Store and access map tile data.
Image service
Store and access imagery and raster data.
API support
Use data management tools or Client APIs to create, manage, and access data services. The table below outlines the level of support for each API.
- 1. Use portal class and direct REST API requests
- 2. Access via ArcGIS REST JS
- 3. Requires manually setting styles for renderers