Official API Documentation

Build with our decentralized infrastructure using powerful REST and WebSockets APIs.

API Overview

Our APIs provide full programmatic control over resources, deployment, and system interactions. Use them to integrate eggythith.tsas into your existing toolchains or build new applications directly on our decentralized infrastructure.

  • RESTful endpoints for resource management
  • WebSocket support for real-time monitoring
  • Rate-limited with token authentication
  • Global API endpoints in all major regions
/api/v1/resources
POST | GET | DELETE
/api/v1/events
GET | WebSocket

Authentication

All API requests must include a valid API token for authentication using Bearer authorization.

GETTING STARTED

API Tokens

Create new API keys from your account settings page. We recommend rotating tokens regularly for security.

curl -X GET https://eggythith.tsas/api/v1/resources
-H 'Authorization: Bearer YOUR_API_TOKEN'
LIMITS

Rate Limiting

Endpoints have tiered rate limits based on your plan. Check the X-RateLimit header for remaining requests.

Standard Plan
1000 requests / min
Enterprise Plan
25,000+ requests / min
View API Plans

Available Endpoints

All endpoints follow the same authentication pattern and versioning convention.

/api/v1/resources

Resource Management

CRUD operations for managing compute/storage resources across our global node network.

GET POST DELETE
/api/v1/events

Event Streaming

Stream real-time diagnostic and usage events from all active resources.

GET WebSocket
/api/v1/billing

Billing & Usage

Get detailed consumption analytics and cost estimates for resources.

GET

Code Examples

Start building with our APIs using your preferred language or framework.

javascript
Fetch

fetch('https://eggythith.tsas/api/v1/resources', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN'
  }
})
.then(response => response.json())
.then(data => console.log(data));

python
Requests

import requests

response = requests.get(
    'https://eggythith.tsas/api/v1/resources',
    headers={'Authorization': 'Bearer YOUR_API_TOKEN'}
)
print(response.json())

Getting Started

Follow these steps to begin using our APIs in your applications.

1

Get API Token

Go to your account settings and generate a new Bearer token with appropriate permissions.

2

Test Endpoint

Use curl or Postman to verify authentication and test basic operations.

3

Integrate

Add error handling and retry logic while integrating into your application codebase.