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.

From R$12.49/mo

<5s

Deploy time

11

Production runtimes

~1 ms

Average latency to the database

0

Cold starts

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

    Tick Web Publishing at deploy and the API gets a squareweb.app subdomain with a TLS certificate, included on every plan. Swap in your own domain whenever you want.

  • Your own domain and load balancing

    From Standard, point your brand's domain and spread the same endpoint across 2, 5 or 10 applications, depending on the plan, with automatic failover.

  • Database in the same datacenter

    MongoDB, PostgreSQL, MySQL and Redis from Standard, hosted in the same datacenter as your API, with 1 ms average latency.

  • Environment variables

    Secrets and settings per application, available at runtime and editable from the dashboard or the API.

  • 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 and a breakdown by HTTP method, on every plan.

From the first route to production in three steps

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

  1. 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. 2

    Connect the data

    On Standard or above, create a database in the same workspace, copy the connection string and store it in the API's environment variables.

  3. 3

    Point the domain and follow along

    From Standard, connect your own domain. On any plan, follow logs, errors and metrics and restore a snapshot if you 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 + TrustpilotTrustpilot

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.

Which API frameworks are supported?

Express, Fastify, NestJS, Hono, FastAPI, Django REST, Flask, Spring Boot, Laravel, Rails, Gin, ASP.NET Core, Phoenix and any HTTP server that runs on Linux across the platform's eleven runtimes.

Is my API always on, or does it sleep without traffic?

Always on. Each API runs in an always-on container with dedicated resources, no serverless mode and no cold starts. The first request after hours of silence answers at the same latency as the thousandth.

How does HTTPS work?

Just tick Web Publishing at deploy: the API gets a squareweb.app subdomain with a TLS certificate, included on every plan. From the Standard plan up you point your own domain, and the certificate is issued and renewed automatically.

Can I connect a database?

Yes, from the Standard plan up. MongoDB, PostgreSQL, MySQL and Redis are hosted in the same workspace and the same datacenter as your API, with a direct connection and 1 ms average latency. Each database gets an automatic daily snapshot.

Is there per-request or per-traffic billing?

No. Traffic is unlimited on every plan, with no bandwidth metering and no per-request charges. The plan defines CPU, memory and storage.

How do I track errors and latency?

On every plan: logs for every request with status code and cache, plus 4xx and 5xx error rates with the routes that fail most. On Pro and Enterprise, the Performance tab adds edge and origin latency by percentile (p50, p95, p99), the slowest routes and a breakdown by country.

Which plan should I pick for a production API?

Hobby already hosts small APIs with HTTPS on the subdomain. For your own domain, a database and load balancing, Standard is the starting point for production.

Ready to scale your project?

Join the 500,000+ developers who have used Square Cloud to host their projects.

  • Predictable pricing
  • No billing surprises
  • Deploy in seconds
  • High availability
  • Scale with stability
  • Automatic restart
  • SSL and security included
  • Isolated containers