---
title: "Get Country"
method: POST
path: "/v1/site/country"
tags: ["site"]
---

# Get Country

`POST /v1/site/country`

## Request

- Base URL: `https://api.shapemaker.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.shapemaker.io/v1/site/country`
- Auth: OAuth 2
  - Password
  - Token URL: `/v1/auth`

This endpoint retrieves the country of the latitude and longitude provided.

## Request body

- SiteCountryInput
  - `latitude` number, required
  - `longitude` number, required

## Response `200`

Successful Response

- CountryView
  - `longName` string, required
  - `shortName` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/shapemaker/apis/shapemaker-api.md) - [All operations](https://skmtc.dev/shapemaker/apis/shapemaker-api/llms.txt) - [OpenAPI document](https://skmtc.dev/shapemaker/apis/shapemaker-api/revisions/b8461cf1236c?raw)
