> ## Documentation Index
> Fetch the complete documentation index at: https://docs.iqrush.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Inspect rank movement — HTTP

> Read how source ranks move between a reference and checkpoint run.

Read how source ranks move between a reference and checkpoint run.

**Method:** `GET`

**Path:** `/projects/{project_id}/runs/{run_id}/rank-displacement`

Use the HTTP base for your authorized environment and an `Authorization: Bearer` header. See [authentication](/developers/guides/04-authentication) and [HTTP setup](/developers/guides/06-http-quickstart).

## Parameters

This table covers the standard read profile. It excludes internal application routes and advanced analysis controls.

| Name | Location | Type | Required | Default | Meaning |
| - | - | - | - | - | - |
| `project_id` | path | string | Yes | — | Project ID from list\_projects. Select the project in the intended workspace and environment. |
| `run_id` | path | string | Yes | — | Run ID from list\_runs for this project. Use the exact returned value and check readiness before reading measurements. |
| `aggregation_level` | query | string | No | `"domain"` | domain requests source-domain results; url requests individual-page results. Keep the same reporting unit when comparing measurements. |
| `group_by` | query | string | No | `null` | JSON-encoded array. Split results into rows by the requested dimensions. Check both filters\_applied.group\_by and each row’s group\_by\_values before labeling the groups. |
| `filters` | query | string | No | `null` | JSON-encoded array. Select measured answers with objects containing dimension and values. Use labels from list\_dimension\_options; inspect returned warnings for filters that were not applied. |
| `reference` | query | string | No | `null` | JSON-encoded object. Choose the comparison run: previous\_run, first\_run, or specific\_run. For specific\_run, include run\_id. The request’s run\_id is the checkpoint. |
| `subject` | query | string | No | `null` | JSON-encoded object. Choose sources with kind: leaderboard, all, owned, or specified. For specified, provide domains containing exact source keys for the requested reporting unit. |

## Request example

Set `IQRUSH_API_BASE` and `IQRUSH_ACCESS_TOKEN` through secure configuration. Replace project/run IDs and sample selections with values returned by your account. JSON objects and arrays are encoded as query strings.

```bash theme={null}
curl --fail-with-body --silent --show-error --get \
  --header "Authorization: Bearer ${IQRUSH_ACCESS_TOKEN}" \
  --header "Accept: application/json" \
  --data-urlencode aggregation_level=domain \
  --data-urlencode 'reference={"type":"previous_run"}' \
  --data-urlencode 'subject={"kind":"owned"}' \
  "${IQRUSH_API_BASE%/}/projects/${IQRUSH_PROJECT_ID}/runs/${IQRUSH_RUN_ID}/rank-displacement"
```

## Read the response

Read `data.domain_details` for rank movement, `data.tier_events` for entries and exits across the reported evidence boundary, and `data.n_changed_domains` for the combined changed-domain count. Retain available intervals and correction metadata.

Rank displacement and citation-share change are not interchangeable. A selected subject can return only part of the landscape.

### Fields to use

These selected fields explain the example and the result to preserve. Field presence depends on the response; this is not a complete response schema.

| Field | Meaning and use |
| - | - |
| `data.domain_details[].domain_or_url` | Source whose rank movement is reported. |
| `data.domain_details[].rank_baseline` | Rank in the reference measurement. |
| `data.domain_details[].rank_checkpoint` | Rank in the checkpoint measurement. |
| `data.domain_details[].rank_displacement` | Rank comparison with difference, uncertainty, and comparability. A positive rank-number change means a lower position. |
| `data.domain_details[].entered` | Whether the source entered the comparison’s reported evidence boundary. |
| `data.domain_details[].exited` | Whether the source exited that boundary; this does not mean it vanished from the internet. |

Selected response fields from IQRush Dev. Lists are shortened and project/run IDs are placeholders; this is not the full response.

```json theme={null}
{
  "data_ready": true,
  "data": {
    "reference_type": "previous_run",
    "domain_details": [
      {
        "domain_or_url": "colorescience.com",
        "rank_baseline": 6,
        "rank_checkpoint": 7,
        "rank_displacement": {
          "value_a": 6,
          "value_b": 7,
          "diff": 1,
          "ci_diff": {
            "lower": -2,
            "upper": 6.025000000000006,
            "level": 0.95
          },
          "significant": false,
          "comparable": true
        },
        "entered": false,
        "exited": false
      }
    ]
  }
}
```

Read the actual returned scope, counts, and interval levels before interpreting these fields.

MCP equivalent: [`get_rank_displacement`](/developers/tools/get_rank_displacement). Use the parameters and defaults on this page for HTTP.

## If the result is unavailable

Check HTTP status and the response’s `error` field before using data. A successful empty response does not establish a zero value. Preserve `not_available`, `not_available_reason`, `unavailable_reason`, and `linked` where returned. [Errors and recovery](/developers/guides/13-errors) shows observed examples.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.