Getting started
Conventions, authentication, rate limits and error handling. Read this before writing anything against the API.
The Tophhie Cloud API is a REST API running on Cloudflare Workers. It exposes data about Tophhie Cloud services along with a few general-purpose tools, and most of it needs no authentication at all.
| Base URL | https://api.tophhie.cloud |
| Development | https://api.tophhie.dev |
| Version | 1.1.0 |
| Authentication | None for public endpoints |
| Rate limit | 500 requests per 30 seconds, per IP |
| Support | api-support@tophhie.cloud |
Try it without setting anything up:
curl https://api.tophhie.cloud/healthGetting started
Conventions, authentication, rate limits and error handling. Read this before writing anything against the API.
Endpoint reference
Every endpoint, its parameters and its responses, generated from the API’s own OpenAPI document.
The API is organised into groups, each with its own prefix:
| Group | Prefix | What it does |
|---|---|---|
| Health | /health |
Service health check |
| Tophhie Social | /pds |
Repository counts, handle availability, storage usage, uptime |
| Blog | /blog |
Posts, authors and metadata from the Tophhie Cloud blog |
| Domains | /domains |
Tophhie Cloud domains and their published records |
| Entra ID | /entra |
Object ID and SID conversion, public tenant lookup |
| Microsoft 365 | /m365 |
Message Center publishing (internal) |
| Apple OS versions | /appleosversion |
Latest OS version for a given Apple device model |
| IP checker | /ipcheck |
Information about an IP address |
| Generator | /generate |
GUIDs and timestamp ticks |
| Policies | /policies |
Policies applied across Tophhie Cloud |
| Bookings | /bookings |
Redirect to a user’s Microsoft Bookings page (experimental) |
Most endpoints are public and unauthenticated. A small number are internal: they exist to let Tophhie Cloud automation drive its own infrastructure, and they require an API key that is not issued to third parties.
Internal endpoints are documented here rather than hidden, because the API already publishes them in its own OpenAPI document and a reader deserves to know why a call returns 403 rather than guessing. They are clearly marked in the reference. See Authentication.
The API publishes its own OpenAPI 3 document, which is what the reference on this site is generated from:
curl https://api.tophhie.cloud/openapi.jsonThere is also a Swagger UI at api.tophhie.cloud/docs if you would rather explore interactively or send test requests.
This is a personal-scale API and it changes. Endpoints marked experimental, such as
/bookings, may change shape or disappear. There is no deprecation policy and no
versioned URL path, so the version number in the OpenAPI document is the only signal
you have. Pin nothing you cannot afford to fix.