---
title: "A side-by-side route comparison"
method: GET
path: "/data/comparisons/{file}"
---

# A side-by-side route comparison

`GET /data/comparisons/{file}`

## Request

- Base URL: `https://dubaisetupindex.com`
- URL: `https://dubaisetupindex.com/data/comparisons/{file}`
- Auth: none declared

Rows of facts (prices by visa count, timelines, renewal, licence and facility types) with one cell per subject, in subject order. The record is the same object the page at `url` renders: unknown facts keep `{ "kind": "unknown", "detail" }` and are never filled in. Quote with `attribution.citation`.

## Path parameters

- `file` string, required

## Response `200`

A side-by-side route comparison

- Record
  - `id` string, required
  - `type` 'free-zone' | 'mainland' | 'activity' | 'comparison' | 'country', required
  - `title` string, required
  - `url` string, uri, required: The canonical page. Cite this.
  - `updatedOn` string, date, nullable
  - `publish` object, nullable: `status: noindex` marks a page below the publication gate, with the reasons.
  - `links` object
    - `html` string, uri
    - `markdown` string, uri
    - `json` string, uri
  - `data` object, required: The page's facts. Facts are `FactCell`s.
  - `attribution` Attribution, required: A prebuilt citation and the CC BY 4.0 attribution. Copy `citation` or `citationMarkdown` verbatim rather than composing your own; the link is the part that must survive. Carry `attributionText` on any use or transformation of the data.
    - `required` boolean
    - `publisher` string
    - `url` string, uri, required
    - `license` string, uri, required: The licence of every record: https://creativecommons.org/licenses/by/4.0/.
    - `licenseName` string: CC BY 4.0
    - `terms` string, uri: The reuse terms, for people.
    - `attributionText` string, required: "Source: Dubai Setup Index (dubaisetupindex.com), licensed CC BY 4.0", with link and date. Required on any use or transformation. A figure sourced from a third party (Invest in Dubai, DET, a free zone authority or a partner's quote) keeps its source citation — the source named in the record, with its URL and checked date — alongside the licence attribution.
    - `attributionMarkdown` string
    - `citation` string, required
    - `citationMarkdown` string
    - `note` string

## Other responses

- `404`: No such page or record.

---

[API](https://skmtc.dev/dubaisetupindex/apis/dubai-setup-index-http-api.md) · [All operations](https://skmtc.dev/dubaisetupindex/apis/dubai-setup-index-http-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dubaisetupindex/apis/dubai-setup-index-http-api/revisions/d920a2710f63?raw)
