IPRout

API Documentation

Build with the IPRout IP geolocation API.

Start with one authenticated request, then use the focused guides for response fields, errors, usage, multiple active keys, CORS origin controls, Pro request caps, security, and production troubleshooting.

Last updated August 14, 2026

Getting Started

Make the first request, understand the public contract, and choose caller or explicit lookup.

API Reference

Validate addresses, parse lookup and usage responses, and handle every documented status.

API Keys & Security

Protect credentials and configure multiple keys, CORS origins, caps, rotation, and privacy boundaries.

/docs/api-key-lifecycle

API Key Lifecycle

Create, store, use, rotate, and revoke IPRout API keys safely.

Open documentation →

/docs/multi-website-api-key-management

Multi-Website API Key Management

Design a multi-site IPRout setup with named active keys, per-key usage visibility, exact CORS origins, and configurable Pro request caps.

Open documentation →

/docs/multiple-active-api-keys

Multiple Active API Keys

Use separate active IPRout keys for applications, services, and deployment environments.

Open documentation →

/docs/cors-origin-restrictions

CORS Origin Restrictions for API Keys

Restrict paid-plan API keys to approved browser origins and understand exact origin matching.

Open documentation →

/docs/per-key-request-caps

Per-Key Request Caps

Set Pro API key request caps and understand Starter's fixed plan-level cap.

Open documentation →

/docs/usage-and-shared-quotas

Shared Quotas Across API Keys

Understand how multiple IPRout keys consume one shared monthly account quota.

Open documentation →

/docs/key-rotation-and-revocation

Rotate and Revoke API Keys

Rotate an IPRout API key without downtime and revoke exposed or retired credentials.

Open documentation →

/docs/security-best-practices

API Key Security Best Practices

Protect IPRout API credentials with server-side storage, origin restrictions, caps, and rotation.

Open documentation →

/docs/browser-integration-and-cors

Browser Integration and CORS

Understand when direct browser lookup is appropriate and how exact IPRout CORS origins constrain paid keys.

Open documentation →

/docs/privacy-and-data-handling

Privacy and IP Data Handling

Minimize, protect, retain, and explain IP-derived location and network information responsibly.

Open documentation →

Production Integration

Design server boundaries, retries, caching, tests, monitoring, compatibility, and operational configuration.

/docs/server-side-integration

Server-Side IP Lookup Integration

Keep IPRout keys private and integrate caller or explicit IP lookup from trusted application servers.

Open documentation →

/docs/environment-configuration

Environment and Secret Configuration

Configure IPRout base URLs and API keys across local, staging, CI, and production environments.

Open documentation →

/docs/http-timeouts-and-retries

HTTP Timeouts and Retry Strategy

Configure bounded IPRout request timeouts, backoff, and status-aware retries for production systems.

Open documentation →

/docs/caching-strategies

Caching IP Geolocation Responses

Cache IPRout lookup results responsibly while accounting for routing changes, privacy, and quota usage.

Open documentation →

/docs/monitoring-and-alerting

API Monitoring and Usage Alerts

Monitor IPRout latency, status codes, shared quota, key caps, and unexpected consumption.

Open documentation →

/docs/testing-and-mocking

Testing and Mocking IP Lookup

Test IPRout clients with fixtures, mocked HTTP failures, and controlled integration checks.

Open documentation →

/docs/migration-and-versioning

API Compatibility and Versioning

Design IPRout clients for additive response evolution and controlled application migrations.

Open documentation →

/docs/data-accuracy-and-limitations

IP Geolocation Accuracy and Limitations

Understand network-location uncertainty, VPN effects, nullable fields, and responsible use of IPRout data.

Open documentation →

/docs/troubleshooting

IP Geolocation API Troubleshooting

Diagnose IPRout authentication, invalid IP, CORS, quota, and response parsing problems.

Open documentation →

Implementation Use Cases

Apply IP context responsibly to localization, analytics, security review, personalization, and operations.

Tools & Specifications

Work with the OpenAPI contract and Postman documentation.