Neon API logo

Neon API

Neon API

UnknownFreedeveloper-tools

Neon is serverless Postgres — separated storage and compute, scale-to-zero (no charge when idle), DB branching, 100% Postgres compatible.

Use it when

Scale-to-zero (5 min idle auto-stops compute, $0)

Watch for

Scale-to-zero cold start (new connection 1-3s)

First check

Sign up at neon.tech and create project for connection string. Use any Postgres client directly: psql postgresql://user:pass@host/db

Auth
api_key
CORS
?
HTTPS
Yes
Signup
?
Protocol
REST, PostgreSQL
Pricing
freemium

Uptime · 30-day window

Health history will appear here after the next daily check.
01

About this API

Neon is a serverless Postgres database company founded 2021; team mostly former Postgres core developers. Differentiating tech: completely separate storage from compute — storage on S3 (proprietary filesystem), compute is stateless PG instances. Architecture enables two magics: (1) Scale-to-zero — idle compute auto-stops, $0 cost, 1-3s to restart on next connection; (2) DB branching — each branch is storage copy-on-write, creates "copy" of multi-GB data in seconds. These features make Neon perfect for Vercel / Netlify / Cloudflare Workers serverless + preview deployments — each PR gets staging DB, auto-destroyed after merge. Vercel Postgres backend is Neon. Generous free tier (10 projects), top Postgres choice for personal / hobby projects.

02

What you can build

  • 1Serverless app backends (no charge when idle)
  • 2Vercel / Cloudflare Workers + Postgres
  • 3Preview deployments per-branch DB
  • 4Intermittent workloads (cron jobs)
03

Strengths & limitations

Strengths

  • Scale-to-zero (5 min idle auto-stops compute, $0)
  • DB branching (each git branch own DB copy created in seconds)
  • 100% Postgres compatibility (any PG tool works)
  • Generous free tier (10 projects + 3GB storage)

Limitations

  • Scale-to-zero cold start (new connection 1-3s)
  • Some Postgres extensions unsupported
  • Relatively young (founded 2021)
04

Example request

Generic template — replace <endpoint> with the real path from the docs.
curl https://neon.tech/<endpoint> \
  -H "Authorization: Bearer $API_KEY"
# Some providers use X-Api-Key instead — verify in the docs.
05

Getting started

Sign up at neon.tech and create project for connection string. Use any Postgres client directly: psql postgresql://user:pass@host/db

06

FAQ

Neon vs. Supabase?+

Just Postgres + serverless architecture: Neon (lighter). Want BaaS full-stack (auth + storage): Supabase.

Does cold start affect production?+

Only after 5 min idle. Production apps with frequent access keep connection warm.

07

Technical details

CORS: ?HTTPS: YesSignup: ?Open source: No
Auth type
api_key
Pricing
freemium
Rate limit
默认 100 req/分;账户级别
Protocols
REST, PostgreSQL
SDKs
javascript, python, go, rust
08

Tags