# GET /admin/api/unstable/redirects/count.json

**Resource:** [online-store/redirect](../resources/online-store-redirect.md)
**Retrieves a count of URL redirects**
**Operation ID:** `deprecated_unstable_get_redirects_count`

https://shopify.dev/docs/admin-api/rest/reference/online-store/redirect#count-unstable

## Parameters

| Name | In | Type | Required | Description |
|------|------|------|----------|-------------|
| `path` | query | any | No | Count redirects with given path. |
| `target` | query | any | No | Count redirects with given target. |

## Responses

| Status | Description |
|--------|-------------|
| 200 |  |

