---
title: "Fetch metrics of blocked requests from a specific IP to a domain, categorized by rule and action"
method: GET
path: "/waap/v1/ip-info/blocked-requests"
tags: ["IP Spotlight"]
---

# Fetch metrics of blocked requests from a specific IP to a domain, categorized by rule and action

`GET /waap/v1/ip-info/blocked-requests`

Retrieve metrics, which enumerate blocked requests originating from a specific IP to a domain, grouped by rule name and taken action. Each metric provides insights into the request count blocked under a specific rule and the corresponding action that was executed.

## Query parameters

- `ip` union, required — The IP address to check
  - string, ipv4
  - string, ipv6
- `domain_id` integer, required — The identifier for a domain. When specified, the response will exclusively contain data pertinent to the indicated domain, filtering out information from other domains.

## Response `200`

Successful Response

- RuleBlockedRequests[]
  - `rule_name` string, required — The name of the rule that blocked the request
  - `action` string, required — The action taken by the rule
  - `count` integer, required — The number of requests blocked by the rule

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Unauthenticated
- `404` — Not Found
- `422` — Unprocessable Entity
- `500` — Internal Server Error

---

[API](https://skmtc.dev/g-core/apis/gcore-openapi.md) · [All operations](https://skmtc.dev/g-core/apis/gcore-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/g-core/gcore-openapi/revisions/09e652815095/schema)
