Getting Started
Set up your TerraScale account and make your first API call in minutes.
Scale Your Database
Effortlessly
The most advanced database platform for modern applications.
Deploy globally. Scale infinitely. Build faster.
Built for developers, trusted by enterprises. Experience the next generation of database infrastructure.
Blazing fast queries with global edge caching and optimized indexing for sub-10ms latency.
Monitor your data and performance with real-time insights and comprehensive dashboards.
SOC 2 compliant with end-to-end encryption and advanced access controls.
Deploy worldwide across 19 regions with automatic failover and geographic distribution.
Simple APIs, powerful features. Deploy your database with just a few lines of code.
using TerraScale.Database.Client;
// Initialize the clientvar client = new TerraScaleDatabase(new TerraScaleDatabaseOptions{ ApiKey = "ts_live_your_api_key", Endpoint = "https://api.terrascale.io", DefaultDatabase = "my-database"});
// Store an itemawait client.PutItemAsync(new DatabaseItem{ PartitionKey = "user#123", SortKey = "profile", Attributes = new Dictionary<string, object?> { ["name"] = "John Doe", ["email"] = "john@example.com" }});
// Query itemsvar result = await client.QueryAsync(new QueryFilter{ PartitionKey = "user#123"});import { TerraScaleClient } from '@terrascale/sdk';
// Initialize the clientconst client = new TerraScaleClient({ apiKey: 'ts_live_your_api_key', endpoint: 'https://api.terrascale.io', defaultDatabase: 'my-database'});
// Store an itemawait client.putItem({ partitionKey: 'user#123', sortKey: 'profile', attributes: { name: 'John Doe', email: 'john@example.com' }});
// Query itemsconst result = await client.query({ partitionKey: 'user#123'});package main
import ( "github.com/terrascale/go-sdk")
func main() { // Initialize the client client := terrascale.NewClient(&terrascale.Config{ APIKey: "ts_live_your_api_key", Endpoint: "https://api.terrascale.io", DefaultDatabase: "my-database", })
// Store an item client.PutItem(&terrascale.Item{ PartitionKey: "user#123", SortKey: "profile", Attributes: map[string]interface{}{ "name": "John Doe", "email": "john@example.com", }, })
// Query items result, _ := client.Query(&terrascale.QueryInput{ PartitionKey: "user#123", })}# Store an itemcurl -X PUT "https://api.terrascale.io/api/v1/databases/my-database/items" \ -H "Authorization: Bearer ts_live_your_api_key" \ -H "Content-Type: application/json" \ -d '{ "pk": "user#123", "sk": "profile", "data": { "name": "John Doe", "email": "john@example.com" } }'
# Query itemscurl "https://api.terrascale.io/api/v1/databases/my-database/query?pk=user%23123" \ -H "Authorization: Bearer ts_live_your_api_key"Getting Started
Set up your TerraScale account and make your first API call in minutes.
API Reference
Complete API documentation with examples for all endpoints.
SDKs & Libraries
Official client libraries for C#, Go, and TypeScript.
Dashboard Guide
Learn how to use the TerraScale dashboard to manage your databases.
Join thousands of developers building scalable, reliable applications with TerraScale.