APIYard
Back to APIs
DatabaseBearer TokenFree tier

Neon

Neon is a serverless Postgres platform with autoscaling, database branching for dev/test, and a generous free tier.

Base URL

https://console.neon.tech/api/v2
Postgresserverlessbranchingautoscalefree tier

Endpoints

GET/projects

List all Neon projects in your account.

const response = await fetch("https://console.neon.tech/api/v2/projects", {
  method: "GET",
  headers: {
  "Content-Type": "application/json",
  "Authorization": "Bearer YOUR_ACCESS_TOKEN"
  }
});

const data = await response.json();
console.log(data);

Response Preview

{
  "projects": [{
    "id": "odd-forest-12345",
    "name": "my-app",
    "region_id": "aws-us-east-2",
    "pg_version": 16,
    "created_at": "2024-01-01T00:00:00Z",
    "branch": { "id": "br-main-abc", "name": "main" }
  }]
}