API Reference

Complete REST API documentation for the NetLoc8 geolocation service.

Base URL

HTTP
https: //api.netloc8.com

All endpoints are prefixed with /v1. The API is deployed across 300+ edge locations for global low-latency access.

Authentication

Most endpoints require an API key via the X-API-Key header. See the Authentication guide for details.

Bash
curl -H "X-API-Key: YOUR_KEY" https://api.netloc8.com/v1/ip/me

Common Headers

HeaderDescription
X-API-KeyYour API key (secret or publishable)
Content-Typeapplication/json (for POST/PATCH requests)
OriginRequired for publishable key requests (CORS)

Rate Limits

Rate limits depend on your plan tier. When exceeded, the API returns429 Too Many Requests.

PlanMonthly CapRate Limit
Free5,00010 req/min per key
Starter25,000120 req/min per key
Pro100,000600 req/min per key

Endpoints

Public Endpoints

These endpoints require no authentication:

EndpointDescription
GET /v1Service metadata
GET /.well-known/openapi.jsonOpenAPI 3.1 specification
GET /healthHealth check (200 or 503)
GET /v1/billing/plansList available plans