REST API
REST API Reference
Section titled “REST API Reference”The Cosmos API is available at https://api.getcosmos.dev.
Interactive Documentation
Section titled “Interactive Documentation”For the full interactive API documentation with request/response examples, visit:
OpenAPI Specification
Section titled “OpenAPI Specification”The OpenAPI 3.1 specification is available at:
https://api.getcosmos.dev/openapi.jsonBase URL
Section titled “Base URL”https://api.getcosmos.devEndpoints
Section titled “Endpoints”System
Section titled “System”GET /about
Section titled “GET /about”Returns information about the API.
Response:
{ "name": "Cosmos API", "version": "0.0.1", "description": "API for the Cosmos ecosystem", "environment": "production", "timestamp": "2025-12-03T00:00:00.000Z"}Authentication
Section titled “Authentication”Coming soon - Authentication endpoints for user signup, login, and session management.
Rate Limiting
Section titled “Rate Limiting”The API uses Cloudflare’s built-in DDoS protection. Additional rate limiting may be applied in the future.
The API allows cross-origin requests from any origin for development purposes. In production, this may be restricted.