API Reference

Comprehensive documentation for integrating with our cloud services.

REST API

Our RESTful API for managing resources in our platform using standard HTTP methods.

View documentation

CLI Reference

Command-line interface for automating and managing your cloud resources.

View CLI reference

SDK Libraries

Client libraries in various programming languages for easy integration.

View SDKs

API Services

Database API

Manage your database instances, backups, and configurations programmatically.

GET /api/v1/databases
POST /api/v1/databases
GET /api/v1/databases/:id
PUT /api/v1/databases/:id
DELETE /api/v1/databases/:id

Infrastructure API

Manage your infrastructure resources including compute, storage, and networking.

GET /api/v1/clusters
POST /api/v1/clusters
GET /api/v1/clusters/:id
PUT /api/v1/clusters/:id
DELETE /api/v1/clusters/:id

Webhooks API

Configure webhooks to receive real-time notifications about events in your account.

GET /api/v1/webhooks
POST /api/v1/webhooks
GET /api/v1/webhooks/:id
PUT /api/v1/webhooks/:id
DELETE /api/v1/webhooks/:id

Code Examples

// Creating a new database instance
const phineUp = require('phineup-sdk');

const client = new phineUp.Client({
  apiKey: 'your-api-key'
});

async function createDatabase() {
  try {
    const database = await client.databases.create({
      name: 'production-db',
      type: 'postgresql',
      version: '14',
      region: 'us-east-1',
      plan: 'business',
      highAvailability: true
    });
    
    console.log(`Database created: ${database.id}`);
    return database;
  } catch (error) {
    console.error('Error creating database:', error);
  }
}

createDatabase();

API Rate Limits

To ensure the stability and availability of our API for all users, we implement rate limiting on all API endpoints. The rate limits vary depending on your subscription tier.

PlanRate LimitBurst Limit
Developer60 requests per minute100 requests
Business300 requests per minute500 requests
Enterprise1000 requests per minute2000 requests

Ready to Start Building?

Get your API key and start integrating Phine Up's cloud services into your applications.