VPS.org API

REST API ஆவணமாக்கல்

திட்டங்கள் API

கிடைக்கக்கூடிய VPS திட்டங்கள், விலை நிர்ணயம் மற்றும் வள விவரக்குறிப்புகள் பற்றிய தகவல்களை மீட்டெடுக்கவும்.

முனைப்புள்ளிகள் 2 endpoints
அடிப்படை பாதை /api/v1/plans
பெறு /api/v1/plans/

அனைத்து திட்டங்களையும் பட்டியலிடுங்கள்

விலை மற்றும் வளத் தகவலை உள்ளடக்கிய அனைத்து VPS திட்டங்களின் பட்டியலை மீளெடு

வினவல் அளவுருக்கள்

அளபுரு வகை அவசியம் & விவரக்குறிப்புகள்
location string இல்லை Filter plans by datacenter location

மாதிரி கோரிக்கை

cURL
Python
JavaScript
PHP
curl -X GET "https://admin.vps.org/api/v1/plans/" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json"
import requests

url = "https://admin.vps.org/api/v1/plans/"
headers = {
    "Authorization": "Bearer YOUR_API_TOKEN",
    "Content-Type": "application/json"
}

response = requests.get(url, headers=headers)
print(response.json())
const response = await fetch('https://admin.vps.org/api/v1/plans/', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Content-Type': 'application/json'
  }
});

const plans = await response.json();
console.log(plans);
$ch = curl_init('https://admin.vps.org/api/v1/plans/');
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    'Authorization: Bearer YOUR_API_TOKEN',
    'Content-Type: application/json'
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

$response = curl_exec($ch);
$plans = json_decode($response, true);
curl_close($ch);

எடுத்துக்காட்டு பதில்

{
  "count": 4,
  "results": [
    {
      "id": 1,
      "name": "Starter VPS",
      "slug": "starter",
      "vcpus": 1,
      "memory": 2048,
      "storage": 40,
      "bandwidth": 1024,
      "price_monthly": 5.00,
      "price_hourly": 0.007,
      "available": true,
      "locations": ["us-west", "us-east", "eu-central"],
      "description": "Perfect for small projects and testing"
    },
    {
      "id": 2,
      "name": "Standard VPS",
      "slug": "standard",
      "vcpus": 2,
      "memory": 4096,
      "storage": 80,
      "bandwidth": 2048,
      "price_monthly": 10.00,
      "price_hourly": 0.015,
      "available": true,
      "locations": ["us-west", "us-east", "eu-central", "asia-pacific"],
      "description": "Ideal for web applications and small databases"
    },
    {
      "id": 3,
      "name": "Performance VPS",
      "slug": "performance",
      "vcpus": 4,
      "memory": 8192,
      "storage": 160,
      "bandwidth": 4096,
      "price_monthly": 20.00,
      "price_hourly": 0.030,
      "available": true,
      "locations": ["us-west", "us-east", "eu-central", "asia-pacific"],
      "description": "High-performance for demanding applications"
    },
    {
      "id": 4,
      "name": "Enterprise VPS",
      "slug": "enterprise",
      "vcpus": 8,
      "memory": 16384,
      "storage": 320,
      "bandwidth": 8192,
      "price_monthly": 40.00,
      "price_hourly": 0.060,
      "available": true,
      "locations": ["us-west", "us-east", "eu-central", "asia-pacific"],
      "description": "Enterprise-grade resources for mission-critical workloads"
    }
  ]
}

பதில் புலங்கள்

புலங்கள் வகை & விவரக்குறிப்புகள்
id integer தனித்துவமான திட்ட அடையாளங்காட்டி
name string மனிதர்கள் படிக்கக்கூடிய திட்டத்தின் பெயர்
slug string URL-க்கு ஏற்ற திட்ட அடையாளங்காட்டி
vcpus integer Number of virtual CPU cores
memory integer RAM in megabytes (MB)
storage integer Disk space in gigabytes (GB)
bandwidth integer Monthly data transfer in gigabytes (GB)
price_monthly decimal Monthly subscription price in USD
price_hourly decimal Hourly billing rate in USD
available boolean Whether plan is currently available for purchase
locations array List of datacenter locations where plan is available
description string Brief description of plan use case

பதில் நிலை குறியீடுகள்

200 திட்டப் பட்டியல் வெற்றிகரமாக மீட்டெடுக்கப்பட்டது.
401 அங்கீகரிக்கப்படாதது - தவறான அங்கீகார டோக்கன் அல்லது காணவில்லை.
பெறு /api/v1/plans/{plan_id}/

திட்ட விவரங்களைப் பெறுங்கள்

குறிப்பிட்ட VPS திட்டம் பற்றிய விரிவான தகவல்களை பெறுக.

பாதை அளவுருக்கள்

அளபுரு வகை அவசியம் & விவரக்குறிப்புகள்
plan_id integer ஆம் தனித்துவமான திட்ட ஐடி

மாதிரி கோரிக்கை

cURL
Python
JavaScript
curl -X GET "https://admin.vps.org/api/v1/plans/2/" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json"
import requests

plan_id = 2
url = f"https://admin.vps.org/api/v1/plans/{plan_id}/"
headers = {
    "Authorization": "Bearer YOUR_API_TOKEN",
    "Content-Type": "application/json"
}

response = requests.get(url, headers=headers)
print(response.json())
const planId = 2;
const response = await fetch(`https://admin.vps.org/api/v1/plans/${planId}/`, {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Content-Type': 'application/json'
  }
});

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

எடுத்துக்காட்டு பதில்

{
  "id": 2,
  "name": "Standard VPS",
  "slug": "standard",
  "vcpus": 2,
  "memory": 4096,
  "storage": 80,
  "bandwidth": 2048,
  "price_monthly": 10.00,
  "price_hourly": 0.015,
  "available": true,
  "locations": ["us-west", "us-east", "eu-central", "asia-pacific"],
  "description": "Ideal for web applications and small databases",
  "features": [
    "SSD Storage",
    "99.9% Uptime SLA",
    "Free Backups",
    "24/7 Support",
    "DDoS Protection",
    "IPv6 Support"
  ],
  "recommended_for": [
    "WordPress sites with moderate traffic",
    "Small to medium web applications",
    "Development and testing environments",
    "Personal projects and portfolios"
  ]
}

பதில் நிலை குறியீடுகள்

200 Successfully retrieved plan details
401 அங்கீகரிக்கப்படாதது - தவறான அங்கீகார டோக்கன் அல்லது காணவில்லை.
404 கிடைக்கவில்லை - திட்டம் இல்லை.

விலை அறிவிப்பு

பில்லிங் விருப்பங்கள்

VPS.org உங்கள் தேவைகளுக்கு ஏற்றவாறு இரண்டு கட்டண விருப்பங்களை வழங்குகிறது:

மாதாந்திர பில்லிங்
  • எந்த ஆச்சரியங்களும் இல்லாமல் நிலையான மாதாந்திர கட்டணம் ஆச்சரியங்கள் இல்லை
  • நீண்ட கால, உற்பத்தி பணிகளை செய்ய சிறந்த
  • மணிக்கு மணிக்கு கட்டணத்தை விட 30% வரை சேமிக்கவும்
  • ஒவ்வொரு மாதத்தின் ஆரம்பத்தில் கட்டணம் வசூலிக்கப்படும்
  • மறைக்கப்படும் கட்டணங்கள் அல்லது அதிக கட்டணங்கள் இல்லை
மணிநேர பில்லிங்
  • நீங்கள் பயன்படுத்தும் மணிநேரங்களுக்கு மட்டுமே செலுத்தவும்
  • சோதனை மற்றும் குறுகிய கால திட்டங்களுக்கு மிகவும் பொருத்தமானது
  • மணிக்கு மணியாக கட்டணம்
  • அதிகபட்ச கட்டணம் மாத விகிதத்தில் வரையறுக்கப்பட்டது
  • உருவாக்க சூழல்களுக்கு சிறந்த

சேர்க்கப்பட்ட அம்சங்கள்

அனைத்து VPS திட்டங்கள் உள்ளன:

  • ✓ SSD சேமிப்பு
  • ✓ 99.9% செயல்திறன் SLA
  • ✓ இலவச தினசரி காப்புக்கோப்புகள்
  • ✓ 24/7 ஆதரவு
  • ✓ DDoS பாதுகாப்பு
  • ✓ IPv6 ஆதரவு
  • ✓ முழுமையான ரூட் அணுகல்
  • ✓ காட்சிகள்
  • ✓ தனிப்பட்ட பிணையங்கள்Name
  • ✓ API அணுகல்

கூடுதல் வளங்கள்

அதிக வளங்களை சேர்க்க வேண்டுமா? கூடுதல் சேவைகள் கிடைக்கும்:

சரியான திட்டத்தை தேர்ந்தெடுப்பது

விரைவு வழிகாட்டி

திட்டம் சிறந்தது வழக்கமான பயன்பாட்டு வழக்குகள்
Starter VPS Personal projects, testing Static websites, learning environments, small blogs
Standard VPS Small businesses, web apps WordPress sites, small e-commerce, development servers
Performance VPS Medium traffic applications High-traffic WordPress, SaaS applications, databases
Enterprise VPS Large-scale applications Enterprise apps, large databases, video streaming
Need help choosing? எங்கள் விற்பனைக் குழுவை இங்கே தொடர்பு கொள்ளவும் at sales@vps.org for personalized recommendations based on your specific requirements.