New Survey: Leveraging real-time data delivers higher revenue growth and increased developer productivity. Learn more.

Toggle Menu

Build Apps Faster with Your Favorite APIs

Astra DB includes Stargate, an open-source, data API layer that sits between your application and the database.

Every database you create automatically has GraphQL, REST, Document (schemaless JSON) and gRPC endpoints. Better yet, as your traffic scales, Stargate automatically scales.

Benefits of Stargate

Connect to the database easily

Eliminate installing and upgrading drivers, or relying on unsupported drivers

Empower your developers

Use the API that your team is most familiar with and reduce your learning curve

Focus on your business

Eliminate the burden of maintaining your own data access/abstraction layer



Fast becoming the world’s most popular API, GraphQL allows users to query multiple tables in one call and retrieve only the data needed. It reduces ‘overfetching’ and ‘underfetching’ common with other APIs such as REST. The GraphQL API enables fine-grained manipulation of JSON data by enabling direct interaction with specific key value pairs within the document.

Your developers can work with data in more of a natural language idiom, while eliminating unnecessary data transfer of data not being manipulated. And because GraphQL can query not just multiple databases but multiple data stores, GraphQL opens up the possibility of federating data from multiple sources.

GraphQL ExampleCreate a free-tier database and view the connect screen to recreate the simple video above.
Create a free-tier database and view the connect screen to recreate the simple video above.


The standard bearer for APIs because it’s mature and universally known, most developers already know the RESTful commands to interact with Astra DB. They can use familiar verbs; GET, PUT, POST and DELETE to create a new table, schema, index, add and retrieve data or work with an existing table.

REST API PreviewSee for yourself in less than 5 minutes by launching a Sample App in Astra’s Free Tier.
See for yourself in less than 5 minutes by launching a Sample App in Astra’s Free Tier.


The schemaless Document API provides enormous flexibility to work with JSON documents/models. It automatically creates the schema on-the-fly to accommodate any type of JSON structure. Powerful search capabilities allow you to search within a specific document or across the entire collection. Fetch the full JSON document or a subdocument from any collection. Leverage this API with storage attached indexes to support a wide range of query patterns for unmatched development agility.

Document API
gRPC Logo


Combining driver-level performance with a cloud native approach, Stargate’s gRPC clients offer new options for your microservices or applications when interacting with Astra DB. Creating drivers is complex and maintaining them is burdensome because they must be patched and versioned. Now you can get out of the business of creating, maintaining or using unsupported drivers with our clients for Go, Node.js, Rust and Java. And you can keep up with the rapid development of new front end technologies by easily creating clients on your own without the complexity of driver development.

gRPC Astra Console

Multi-cloud DBaaS built on Apache Cassandra™