---
title: "Returns a list of coordinates for a location string."
method: GET
path: "/Ymc/{ClientID}/Member/{MemberID}/LocationCoordinates"
tags: ["Ymc"]
---

# Returns a list of coordinates for a location string.

`GET /Ymc/{ClientID}/Member/{MemberID}/LocationCoordinates`

## Request

- Base URL: `https://ws.yourmembership.com`
- URL: `https://ws.yourmembership.com/Ymc/{ClientID}/Member/{MemberID}/LocationCoordinates`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/yourmembership/apis/ym-rest-services/docs/Ymc/:ClientID/Member/:MemberID/LocationCoordinates/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a list of coordinates for a location string.

## Path parameters

- `MemberID` integer, required
- `ClientID` integer, required

## Query parameters

- `input` string
- `ResponseStatus` string
- `BypassCache` boolean
- `DateCached` string, date-time
- `Device` string

## Response `200`

Returns a list coordinates with city, state, lat, long, given a location string.  If multiple locations are found, no long/lat will be available.

- LocationCoordinatesResponse: Returns a list coordinates with city, state, lat, long, given a location string. If multiple locations are found, no long/lat will be available.
  - `response` Data[]
    - `city` string
    - `state` string
    - `country` string
    - `latitude` number, double
    - `longitude` number, double
    - `place_id` string
  - `input` string
  - `MemberID` integer
  - `ClientID` integer
  - `ResponseStatus` ResponseStatus: ResponseStatus
    - `ErrorCode` string
    - `Message` string
    - `StackTrace` string
    - `Errors` ResponseError[]
      - `ErrorCode` string
      - `FieldName` string
      - `Message` string
      - `Meta` DictionaryStringString: Dictionary<String,String>
    - `Meta` DictionaryStringString: Dictionary<String,String>
  - `BypassCache` boolean
  - `DateCached` string, date-time
  - `Device` string

---

[API](https://skmtc.dev/yourmembership/apis/ym-rest-services.md) - [All operations](https://skmtc.dev/yourmembership/apis/ym-rest-services/llms.txt) - [OpenAPI document](https://skmtc.dev/yourmembership/apis/ym-rest-services/revisions/8d8a2e7e7d56?raw)
