API Documentation
Claude Guard keeps API access simple and dependency-free.
| Method | Path | Purpose |
|---|---|---|
| GET | /ip | Return the server-observed client IP as text/plain. |
| GET | /json | Return IP, GeoIP, proxy/hosting/mobile flags, request language, and timestamp as JSON. |
| GET | /headers | Return request headers and server-observed IP as JSON. |
| GET | /api/rules | Return all signals, rules, and regions from SQLite. |
| GET | /api/health | Return service health. |
| POST | /api/check | Evaluate browser-collected signals. Existing response format is unchanged. |
Examples
curl https://claude6.top/ip
curl https://claude6.top/json
curl https://claude6.top/headers