---
title: "Get Country Code By Ip"
method: GET
path: "/v1/website/get_country_code_by_ip"
tags: ["website"]
---

# Get Country Code By Ip

`GET /v1/website/get_country_code_by_ip`

## Request

- Base URL: `https://api.linktodm.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.linktodm.com/v1/website/get_country_code_by_ip`
- Auth: none declared

## Query parameters

- `ip_address` string, nullable

## Headers

- `X-Forwarded-For` unknown

## Response `200`

Successful Response

- CountryResponse: Stub schema.
  - `iso_code` string, required
  - `name` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/linktodm/apis/salesmorph.md) - [All operations](https://skmtc.dev/linktodm/apis/salesmorph/llms.txt) - [OpenAPI document](https://skmtc.dev/linktodm/apis/salesmorph/revisions/4af0ad5dbe92?raw)
