API Documentation

Integrate GloboAnalytics analytics into your applications with our REST API

Getting Started

Base URL

https://api.globorank.com

Authentication

All API requests require a Bearer token in the Authorization header. You can generate an API token in your account settings.

Authorization: Bearer YOUR_API_TOKEN

Rate Limiting

The API is limited to 100 requests per minute per IP address. Responses include rate limit headers.

Error Codes

400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found
409 Conflict
429 Too Many Requests

Endpoints

Account

GET/api/v1/account
Get current account information including plan details and usage.

Websites

GET/api/v1/websites
List all websites for the authenticated user with pagination support.
POST/api/v1/websites
Create a new website to track.
GET/api/v1/websites/{id}
Get details of a specific website.
PATCH/api/v1/websites/{id}
Update website settings.
DELETE/api/v1/websites/{id}
Delete a website and all its analytics data.

Statistics

GET/api/v1/stats/{id}
Get analytics statistics for a website. Returns overview data by default, or specific stat type if specified.