---
title: "Comparison Detail Other Country"
method: GET
path: "/{country_prefix}/api/v1/comparisons/{pair_key}"
tags: ["comparisons"]
---

# Comparison Detail Other Country

`GET /{country_prefix}/api/v1/comparisons/{pair_key}`

## Request

- Base URL: `https://statsmapped.com`
- URL: `https://statsmapped.com/{country_prefix}/api/v1/comparisons/{pair_key}`
- Auth: none declared

## Path parameters

- `country_prefix` 'ireland' | 'united-kingdom', required
- `pair_key` string, required

## Response `200`

Successful Response

- ComparisonResponse
  - `country` string
  - `permalink` string, nullable
  - `points` ComparisonPoint[], required
    - `country` string
    - `area_id` string, required
    - `area_name` string, required
    - `x` number, required
    - `y` number, required
  - `x` ComparisonAxis, required
    - `country` string
    - `label` string, required
    - `unit` string, nullable
    - `series_key` string, nullable
    - `period` string, nullable
    - `periodicity` string, nullable
    - `publisher` string, nullable
    - `readable_slug` string, nullable
    - `licence_class` string, nullable
    - `licence_restrictions` string[]
    - `attribution` string, nullable
  - `y` ComparisonAxis, required
    - `country` string
    - `label` string, required
    - `unit` string, nullable
    - `series_key` string, nullable
    - `period` string, nullable
    - `periodicity` string, nullable
    - `publisher` string, nullable
    - `readable_slug` string, nullable
    - `licence_class` string, nullable
    - `licence_restrictions` string[]
    - `attribution` string, nullable
  - `stats` ComparisonStats, required
    - `country` string
    - `n` integer, required
    - `r` number, required
    - `rho` number, required
    - `loo_min` number, required
    - `loo_max` number, required
    - `most_influential_area` string, required
  - `caveats` Caveat[]
    - `country` string
    - `kind` string, required
    - `severity` string, required
    - `label` string, required
    - `body` string, required
    - `source_url` string, nullable
    - `origin` string, required
    - `interpretive` boolean
    - `stats` CaveatStats
      - `country` string
      - `median` number, required
      - `n` integer, required
      - `modified_z` number, required
      - `peer_basis` string, required
  - `province_groups` ProvinceGroup[], nullable
    - `country` string
    - `province_id` string, required
    - `province_name` string, required
    - `points` ComparisonPoint[], required
      - `country` string
      - `area_id` string, required
      - `area_name` string, required
      - `x` number, required
      - `y` number, required

## Other responses

- `400`: Bad request
- `401`: Missing or invalid credentials
- `403`: Not authorized for this request
- `404`: Not found
- `422`: Validation error
- `429`: Rate limited

---

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