---
title: "Get a user's recent API client IPs"
method: GET
path: "/admin/billing/users/{id}/usage/recent-ips"
tags: ["Billing"]
---

# Get a user's recent API client IPs

`GET /admin/billing/users/{id}/usage/recent-ips`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/admin/billing/users/{id}/usage/recent-ips`
- Auth: API key in header `x-api-key`

Admin-only endpoint that returns recent client IP addresses observed for the given user's product API traffic, ordered by last seen time -- the admin-scoped counterpart of /usage/me/recent-ips. Console, billing, usage, and user-management endpoints are excluded. Defaults to the last 30 days when from/to are omitted.

## Path parameters

- `id` string, required

## Query parameters

- `from` string
- `to` string
- `limit` integer

## Headers

- `x-api-key` string, required

## Response `200`

Recent API client IPs

- BillingAdminUserRecentIPsResponseDoc
  - `code` integer
  - `data` BillingAdminUserRecentIPsDoc
    - `from` string
    - `items` BillingAdminUserRecentIPItemDoc[]
      - `error_count` integer
      - `ip` string
      - `last_seen_at` string
      - `last_user_agent` string
      - `request_count` integer
      - `success_count` integer
    - `to` string
  - `msg` string

## Other responses

- `400`: Invalid query parameters
- `401`: Authentication required
- `403`: Admin plan required
- `500`: Internal server error

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/028417aa35bb?raw)
