# Reported IP outcomes

`GET /api/v1/ip/feedback/summary`

- Authentication: Secret API key as a bearer token
- Billing: Free.
- Group: IP

The last 90 days of outcomes you reported: totals per outcome, how many distinct addresses they cover, and the split between IPv4 and IPv6. No address appears, because none is stored.

## Example request

```bash
curl https://spaw.co/api/v1/ip/feedback/summary \
  -H "Authorization: Bearer sk_live_…"
```

## Responses

### 200 — The summary.

```json
{
    "success": true,
    "data": {
        "window_days": 90,
        "total": 412,
        "addresses": 377,
        "outcomes": {
            "abuse": 208,
            "fraud": 96,
            "bot": 101,
            "chargeback": 7
        },
        "by_version": {
            "4": 401,
            "6": 11
        }
    }
}
```

### 401 — The key is missing, malformed, or revoked.

```json
{
    "success": false,
    "error": {
        "code": "UNAUTHENTICATED",
        "message": "Provide a valid API key as a bearer token.",
        "request_id": "req_01m1kgdm4xngzmbmff68g94w0c"
    }
}
```

### 429 — Over 5 requests per second for the key. Retry after the limit resets.

```json
{
    "success": false,
    "error": {
        "code": "RATE_LIMITED",
        "message": "Too many requests. Retry after the limit resets.",
        "request_id": "req_01m1kgdm4xngzmbmff68g94w0c"
    }
}
```

## Error codes

- `UNAUTHENTICATED` — https://spaw.co/docs/errors/UNAUTHENTICATED
- `RATE_LIMITED` — https://spaw.co/docs/errors/RATE_LIMITED

---

Canonical page: https://spaw.co/docs/api/ip-feedback-summary · OpenAPI document: https://spaw.co/openapi.json · All endpoints: https://spaw.co/docs/api
