Endpoint
GET /v1/context
Edge intelligence API
One endpoint for IP, geolocation and bot signals with minimal integration overhead.
GET /v1/context
IP, country, city, ASN, timezone, bot score
Optional API key via x-api-key
Quick Start
npm i che.is
import { loadUser, userCountry, userIP } from "che.is";
await loadUser();
console.log(userCountry, userIP);
curl -X GET "https://api.che.is/v1/context" \
-H "accept: application/json"
Response
| Field | Type | Example |
|---|---|---|
ip |
string | null | 203.0.113.10 |
country |
string | null | US |
city |
string | null | Miami |
timezone |
string | null | America/New_York |
isBot |
boolean | null | false |
botScore |
number | null | 95 |
Playground
Run a request to see response details.
Deployment
npm install
npm run dev
npm run deploy
No backend views needed. The landing ships from public/ and calls the API directly.