---
title: "Retrieve spatial data for a circular geofence."
url: "https://developers.vzconnect.com/apis/geofence-api-1/versions/97ac0c29-6cea-4076-8841-35f03eedbd6c/operations/getCircleGeofenceSpatialData"
---

> Full API specification: https://developers.vzconnect.com/apis/geofence-api-1/versions/97ac0c29-6cea-4076-8841-35f03eedbd6c.md

# Retrieve spatial data for a circular geofence.

`GET` `/geo/v1/geofences/circles/{placeid}/spatialdata`

Operation ID: `getCircleGeofenceSpatialData`

Retrieve the granular spatial data for a circular Geofence identified by its PlaceID.

## Path parameters

- `placeid` (string, required) - The PlaceID that uniquely identifies the circular Geofence within the REVEAL account.

## Responses

- `200` - Successfully retrieved spatial data for the circular geofence.
- `400` - Bad request. The geofence exists but is not a circle.
- `401` - Unauthorized. Authentication credentials are missing or invalid.
- `404` - Geofence not found with the specified PlaceID.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Geofence API
  version: "1.0"
servers:
  - url: https://api.us.vzconnect.com
paths:
  /geo/v1/geofences/circles/{placeid}/spatialdata:
    get:
      summary: Retrieve spatial data for a circular geofence.
      description: Retrieve the granular spatial data for a circular Geofence
        identified by its PlaceID.
      operationId: getCircleGeofenceSpatialData
      tags:
        - Geofence API
      x-kong-route-defaults:
        strip_path: false
        paths:
          - ~/geo/v1/geofences/circles/[^/]+/spatialdata/?$
      parameters:
        - name: placeid
          in: path
          required: true
          description: The PlaceID that uniquely identifies the circular Geofence within
            the REVEAL account.
          schema:
            type: string
            example: "369852"
      responses:
        "200":
          description: Successfully retrieved spatial data for the circular geofence.
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/CircleSpatialData"
              example:
                ShapeType: Circle
                Latitude: 41.396927
                Longitude: -81.455925
                RadiusInKm: 0.27561
        "400":
          description: Bad request. The geofence exists but is not a circle.
        "401":
          description: Unauthorized. Authentication credentials are missing or invalid.
        "404":
          description: Geofence not found with the specified PlaceID.
components:
  schemas:
    CircleSpatialData:
      type: object
      description: Granular spatial data for a circular Geofence.
      properties:
        ShapeType:
          type: string
          description: Circle, Rectangle, or Polygon.
          example: Circle
        Latitude:
          type: number
          format: double
          example: 41.396927
        Longitude:
          type: number
          format: double
          example: -81.455925
        RadiusInKm:
          type: number
          format: double
          description: The designated radius in kilometers used to create the circular
            Geofence referenced.
          example: 0.27561
```
