Team accounts with unlimited members now available to everyone! Invite your teammates and ship faster together, even on the Free Plan.
/Data API/Overview

Neon Data API

A fully managed REST interface for your Neon database

Beta

The Neon Data API is in Beta. Share your feedback on Discord or via the Neon Console.

The Neon Data API provides a secure, stateless HTTP interface to your database. It lets you access and manage your data directly from web browsers, serverless functions, and edge runtimes using standard HTTP methods. Key benefits include:

  • Browser & edge compatibility

    Standard Postgres drivers do not work in web browsers and struggle in edge runtimes. The Data API allows you to query your database from Cloudflare Workers, Vercel Edge, or directly from a browser-based frontend using standard HTTP requests.

  • Connectionless scalability

    Eliminate connection pool exhaustion. Because the API uses short-lived HTTP requests instead of persistent TCP connections, it handles thousands of concurrent users and serverless auto-scaling.

  • Secure by default

    The API validates JWTs from any authentication provider and respects PostgreSQL Row-Level Security (RLS) policies, ensuring users only access the data they are explicitly permitted to see. Use Neon Auth, or bring your own provider like Auth0, Clerk, Firebase, and others.

  • CI/CD integration

    Test your Data API integrations in isolated branch environments using the Neon Create Branch GitHub Action, which can retrieve branch-specific Data API URLs for your workflows.

PostgREST compatibility

The Neon Data API is fully compatible with PostgREST. This compatibility allows you to query your database using any standard HTTP client (such as Postman or cURL) or integrate easily using client libraries, including @neondatabase/neon-js and @neondatabase/postgrest-js.

Quickstart

Need help?

Join our Discord Server to ask questions or see what others are doing with Neon. For paid plan support options, see Support.

Was this page helpful?
Edit on GitHub

On this page

Copy neon init command