# ArcGIS Online — Pipedream Connect

> Connect people, locations, and data using interactive maps. Work with smart, data-driven styles and intuitive analysis tools. Share your insights with the world or specific groups.

- API slug: `arcgis_online` (use in MCP headers and tool keys)
- Auth: OAuth (Pipedream-managed)
- Categories: Data Analytics
- Website: https://www.esri.com/en-us/arcgis/products/arcgis-online/overview
- This page (HTML): https://pipedream.com/apps/arcgis-online
- Tools: 8 actions · 0 triggers

## Connect via MCP (recommended)

- Endpoint: `https://remote.mcp.pipedream.net/v3`
- Headers: `Authorization: Bearer <token>` · `x-pd-project-id` · `x-pd-environment` · `x-pd-external-user-id` · `x-pd-app-slug: arcgis_online`

```ts
import { Client } from "@modelcontextprotocol/sdk/client/index.js"
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js"
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const accessToken = await pd.rawAccessToken

const transport = new StreamableHTTPClientTransport(
  new URL("https://remote.mcp.pipedream.net/v3"),
  {
    requestInit: {
      headers: {
        Authorization: `Bearer ${accessToken}`,
        "x-pd-project-id": process.env.PIPEDREAM_PROJECT_ID!,
        "x-pd-environment": "production",
        "x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
        "x-pd-app-slug": "arcgis_online",
      },
    },
  },
)

const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)

const { tools } = await mcp.listTools()

// e.g. run Find Intersecting Features by Geometry:
const result = await mcp.callTool({
  name: "arcgis_online-query-intersecting-features-by-geometry",
  arguments: {
    featureService: "Feature Service",
    targetLayerIds: ["Target Layers"],
  },
})
```

Docs: [MCP guide](https://pipedream.com/docs/connect/mcp/developers.md)

## API proxy

For a ArcGIS Online endpoint with no pre-built tool, the proxy forwards your request with the connected user's credentials attached.

```bash
# The path segment is the target URL, URL-safe base64 encoded:
# https://api.example.com/v1/me

curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9hcGkuZXhhbXBsZS5jb20vdjEvbWU?external_user_id={external_user_id}&account_id=apn_xxxxxxx" \
  -H "Authorization: Bearer {access_token}" \
  -H "x-pd-environment: production"
```

Docs: [API proxy guide](https://pipedream.com/docs/connect/api-proxy.md)

## SDK

```ts
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "arcgis_online-query-intersecting-features-by-geometry",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    arcgis_online: { authProvisionId: "apn_xxxxxxx" },
    featureService: "Feature Service",
    targetLayerIds: ["Target Layers"],
  },
})
```

Docs: [Managed auth guide](https://pipedream.com/docs/connect/managed-auth/quickstart.md) · [Tools guide](https://pipedream.com/docs/connect/components.md)

## Actions (8)

### `arcgis_online-query-intersecting-features-by-geometry` — Find Intersecting Features by Geometry (Read-only)

Query target layers in a Feature Service for records whose geometry intersects an Esri JSON boundary you provide. Supports polygon (rings), polyline (paths), and point (x / y) geometries and returns per-layer attribute arrays. See the documentation

Full schema: https://pipedream.com/apps/arcgis-online/actions/query-intersecting-features-by-geometry.md

### `arcgis_online-query-intersecting-features-by-object-id` — Find Intersecting Features by Object ID (Read-only)

Load a feature by OBJECTID from the source layer, then query target layers in the same Feature Service for spatially intersecting features. Returns per-layer attribute arrays. See the documentation

Full schema: https://pipedream.com/apps/arcgis-online/actions/query-intersecting-features-by-object-id.md

### `arcgis_online-query-intersecting-features-by-search-query` — Find Intersecting Features by Search Query (Read-only)

Query one source feature by SQL WHERE clause, then use that feature's geometry to find intersecting records in target layers from the same Feature Service. Returns per-layer attribute arrays. See the documentation

Full schema: https://pipedream.com/apps/arcgis-online/actions/query-intersecting-features-by-search-query.md

### `arcgis_online-list-feature-services` — List Feature Services (Read-only)

List Feature Services accessible to the authenticated user. By default only returns services within the user's organization. See the documentation

Full schema: https://pipedream.com/apps/arcgis-online/actions/list-feature-services.md

### `arcgis_online-list-layer-fields` — List Layer Fields (Read-only)

List all fields (columns) on a Feature Service layer, including name, alias, type, and whether the field is editable. See the documentation

Full schema: https://pipedream.com/apps/arcgis-online/actions/list-layer-fields.md

### `arcgis_online-list-layers` — List Layers (Read-only)

List all layers in a Feature Service. Returns each layer's id, name, geometry type, and type. See the documentation

Full schema: https://pipedream.com/apps/arcgis-online/actions/list-layers.md

### `arcgis_online-search-by-column` — Search by Column (Read-only)

Search for features in a layer where a field matches a value. Builds a WHERE field = 'value' query with SQL-escaped single quotes. Returns matching features as a flat array of attribute objects (no geometries). See the documentation

Full schema: https://pipedream.com/apps/arcgis-online/actions/search-by-column.md

### `arcgis_online-update-row-by-object-id` — Update Row by Object ID (Write)

Update a single attribute on a feature identified by OBJECTID using the applyEdits operation. Dropdowns filter to editable layers and fields. See the documentation

Full schema: https://pipedream.com/apps/arcgis-online/actions/update-row-by-object-id.md

---

- All apps: https://pipedream.com/apps — index: https://pipedream.com/llms.txt
- Pipedream docs for agents: https://pipedream.com/docs/llms.txt
