Billing

Get a user's recent API client IPs

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.

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

Path parameters

idstring required

User id

Query parameters

fromstring

Lower bound in RFC3339 format

tostring

Upper bound in RFC3339 format

limitinteger

Maximum IPs to return. Defaults to 50 and clamps to 100.

Headers

x-api-keystring required

Admin API key required unless an Admin JWT is already present

Response

Recent API client IPs

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "from": "2026-04-01T00:00:00Z",
    "items": [
      {
        "error_count": 6,
        "ip": "203.0.113.10",
        "last_seen_at": "2026-04-22T12:00:00Z",
        "last_user_agent": "Mozilla/5.0",
        "request_count": 90,
        "success_count": 84
      }
    ],
    "to": "2026-05-01T00:00:00Z"
  },
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.