API and backend hosting that's always on

Ship REST, GraphQL, webhooks and workers in always-on containers with no cold starts. HTTPS on the first deploy, your own domain, a database in the same datacenter and logs for every request.

<5s

Deploy time

11

Production runtimes

< 50ms

Median CDN latency

0

Cold starts

What's included

Everything a production API needs

From the first deploy to production traffic, with no add-ons and no per-request billing.

HTTPS on the first deploy

Just tick Web Publishing at deploy and the API gets a free squareweb.app subdomain with a TLS certificate. Swap in your own domain whenever you want.

Your own domain and load balancing

Point your brand's domain and serve the same endpoint from several applications with automatic failover.

Database in the same datacenter

MongoDB, PostgreSQL, MySQL and Redis hosted right next to your API, with a direct connection and 1 ms average latency.

Environment variables

Secrets and settings integrated with the application: injected at runtime, editable from the dashboard and through the API too.

Request logs and performance

Status code, cache, method, route and user agent for every request. On Pro and Enterprise, edge and origin latency by percentile (p50, p95, p99) and the slowest routes.

Error monitoring

4xx and 5xx error rates over time, the routes that fail most, a breakdown by HTTP method and email alerts about the application's status.

From the first route to production in three steps

No Dockerfile, no pipeline to maintain and no server to configure.

1

Push the code

Connect the GitHub repository, use the CLI or upload a .zip. The runtime is detected and the API is up in seconds.

2

Connect the data

Provision a database in the same workspace, copy the connection string and store it in the API's environment variables.

3

Point the domain and operate

Set up your own domain, follow logs, latency and errors, and restore a snapshot if you ever need to.

Combine with other services

Everything in the same dashboard, on the same infrastructure and the same invoice.

A plan for every stage of your project

Start small and scale when you need to, with no loyalty contracts.

4.9 out of 5 · 402 reviews on Google + Trustpilot
Hosted in a partner datacenter with certifications
Tier 3ISO 27001SOC 2 Type IIAlways-On DDoS Protection
Explore our infrastructure

Frequently asked questions about API hosting

Frameworks, HTTPS, your own domain, databases and observability.

Great software starts with infrastructure you can trust.

Ready to scale your project?

Join 250k+ developers and companies that chose Square Cloud as their infrastructure partner.