---
title: "Get Latest Binding Constraints For Location"
method: GET
path: "/constraints/locations/{location_gs_entity_id}/latest-binding"
tags: ["Constraints"]
---

# Get Latest Binding Constraints For Location

`GET /constraints/locations/{location_gs_entity_id}/latest-binding`

## Request

- Base URL: `https://api.gridstatus.io/v1`
- URL: `https://api.gridstatus.io/v1/constraints/locations/{location_gs_entity_id}/latest-binding`
- Auth: none declared
- TypeScript: <https://skmtc.dev/gridstatus/apis/grid-status-api/docs/constraints/locations/:location_gs_entity_id/latest-binding/get.ts> (a function with typed inputs; its response is checked against the schema)

Get the constraints moving a location's price in the latest interval
within ``lookback_minutes`` in which any constraint bound, largest impact
first. Constraints the location has no shift factor for are left out.

## Path parameters

- `location_gs_entity_id` string, required

## Query parameters

- `dataset_id` string, required
- `lookback_minutes` integer: How far back from now to look for the latest binding interval. The default covers ISOs that publish shadow prices late (ERCOT's SCED shadow prices can lag by over an hour).
- `limit` integer: Maximum number of constraints to return, largest impact first
- `as_of` string, date-time, nullable: Look back from this time instead of now, to see what was binding at a past moment (ISO 8601)
- `api_key` string, nullable: API key for authentication (query)

## Headers

- `x-api-key` string, nullable: API key for authentication (header)

## Response `200`

Successful Response

- LocationLatestBindingResponse
  - `interval_start_utc` string, date-time, nullable, required: Latest interval in the lookback window with any binding constraint; null if none.
  - `constraints` LocationLatestBindingConstraint[], required
    - `constraint_gs_entity_id` string, required
    - `constraint_name` string, required
    - `contingency_gs_entity_id` string, nullable, required
    - `contingency_name` string, nullable, required
    - `shadow_price` number, required
    - `shift_factor` number, required
    - `impact` number, required: shadow_price × shift_factor, signed per market, in $/MWh. Positive raises the location's congestion price.

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-30** `7bd80b24a469`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gridstatus/apis/grid-status-api/changes/constraints/locations/:location_gs_entity_id/latest-binding/get.md)

---

[API](https://skmtc.dev/gridstatus/apis/grid-status-api.md) - [All operations](https://skmtc.dev/gridstatus/apis/grid-status-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gridstatus/apis/grid-status-api/revisions/7bd80b24a469?raw)
