API Illustration
Developer API

RESTful Proxy
API Platform

Powerful RESTful API ile proxy management, automation ve integration. Developer-friendly dokümantasyon, SDK'lar ve 24/7 teknik destek.

RESTful
API Design
99.9%
API Uptime
<100ms
Response Time

API Özellikleri

Developer ihtiyaçları için özel olarak tasarlanmış proxy API

RESTful Design

Modern REST API standardları ile tasarlanmış, intuitif endpoint structure ve HTTP verbs.

API Key Authentication

Güvenli API key authentication ile hızlı ve kolay entegrasyon. Rate limiting ve usage tracking.

Real-time Monitoring

Proxy durumu, bant genişliği kullanımı ve performance metrikleri için real-time API endpoints.

Auto-scaling

Traffic ihtiyacınıza göre otomatik proxy scaling ve intelligent load balancing.

Comprehensive SDKs

Python, Node.js, PHP, Java için hazır SDK'lar. Code examples ve integration guides.

Multi-region Support

Global API endpoints ile düşük latency. Regional proxy management ve failover support.

Temel API Endpoints

Proxy management için kullanabileceğiniz temel API endpoints

POST /v1/residential-rotating-proxy

Create Proxy Package

Yeni residential rotating proxy paketi oluşturur.

{
  "traffic_gb": 50,
  "packet_name": "My Package",
  "proxy_username": "user123",
  "proxy_password": "pass123"
}
GET /v1/proxies

List All Proxies

Hesabınızdaki tüm proxy paketlerini listeler.

{
  "success": true,
  "data": [
    {
      "proxy_id": "prx_123",
      "status": "active",
      "traffic_gb": 50,
      "used_gb": 15.2
    }
  ]
}
GET /v1/balance

Account Balance

Hesap bakiyesi ve kullanım bilgilerini getirir.

{
  "success": true,
  "data": {
    "balance": 125.50,
    "currency": "USD",
    "total_usage": 1250.30,
    "active_proxies": 5
  }
}
POST /v1/proxy/:id/sync

Sync Proxy Status

Proxy durumunu senkronize eder ve güncel bilgileri getirir.

{
  "success": true,
  "data": {
    "proxy_id": "prx_123",
    "status": "active",
    "last_sync": "2025-01-15T10:30:00Z",
    "bandwidth_used": 15.2
  }
}

Code Examples

Popüler programlama dilleri için hazır kod örnekleri

Python
import requests

class OldProxyAPI:
    def __init__(self, api_key):
        self.api_key = api_key
        self.base_url = "https://oldproxy.com/api"
        self.headers = {
            "X-API-Key": api_key,
            "Content-Type": "application/json"
        }
    
    def create_proxy(self, traffic_gb, packet_name=None):
        url = f"{self.base_url}/v1/residential-rotating-proxy"
        data = {
            "traffic_gb": traffic_gb,
            "packet_name": packet_name
        }
        
        response = requests.post(url, json=data, headers=self.headers)
        return response.json()
    
    def get_proxies(self):
        url = f"{self.base_url}/v1/proxies"
        response = requests.get(url, headers=self.headers)
        return response.json()

# Usage
api = OldProxyAPI("your-api-key-here")
result = api.create_proxy(50, "My Proxy Package")
print(result)
JavaScript (Node.js)
const axios = require('axios');

class OldProxyAPI {
    constructor(apiKey) {
        this.apiKey = apiKey;
        this.baseURL = 'https://oldproxy.com/api';
        this.headers = {
            'X-API-Key': apiKey,
            'Content-Type': 'application/json'
        };
    }

    async createProxy(trafficGB, packetName = null) {
        try {
            const response = await axios.post(
                `${this.baseURL}/v1/residential-rotating-proxy`,
                {
                    traffic_gb: trafficGB,
                    packet_name: packetName
                },
                { headers: this.headers }
            );
            return response.data;
        } catch (error) {
            throw new Error(`API Error: ${error.message}`);
        }
    }

    async getProxies() {
        try {
            const response = await axios.get(
                `${this.baseURL}/v1/proxies`,
                { headers: this.headers }
            );
            return response.data;
        } catch (error) {
            throw new Error(`API Error: ${error.message}`);
        }
    }
}

// Usage
const api = new OldProxyAPI('your-api-key-here');
api.createProxy(50, 'My Proxy Package')
    .then(result => console.log(result))
    .catch(error => console.error(error));
PHP
apiKey = $apiKey;
    }
    
    private function makeRequest($method, $endpoint, $data = null) {
        $url = $this->baseURL . $endpoint;
        
        $headers = [
            'X-API-Key: ' . $this->apiKey,
            'Content-Type: application/json'
        ];
        
        $ch = curl_init();
        curl_setopt($ch, CURLOPT_URL, $url);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
        
        if ($method === 'POST' && $data) {
            curl_setopt($ch, CURLOPT_POST, true);
            curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
        }
        
        $response = curl_exec($ch);
        curl_close($ch);
        
        return json_decode($response, true);
    }
    
    public function createProxy($trafficGB, $packetName = null) {
        $data = [
            'traffic_gb' => $trafficGB,
            'packet_name' => $packetName
        ];
        
        return $this->makeRequest('POST', '/v1/residential-rotating-proxy', $data);
    }
    
    public function getProxies() {
        return $this->makeRequest('GET', '/v1/proxies');
    }
}

// Usage
$api = new OldProxyAPI('your-api-key-here');
$result = $api->createProxy(50, 'My Proxy Package');
print_r($result);

?>
cURL
# Create a new proxy package
curl -X POST https://oldproxy.com/api/v1/residential-rotating-proxy \
  -H "X-API-Key: your-api-key-here" \
  -H "Content-Type: application/json" \
  -d '{
    "traffic_gb": 50,
    "packet_name": "My Proxy Package"
  }'

# Get all proxies
curl -X GET https://oldproxy.com/api/v1/proxies \
  -H "X-API-Key: your-api-key-here"

# Get account balance
curl -X GET https://oldproxy.com/api/v1/balance \
  -H "X-API-Key: your-api-key-here"

# Sync proxy status
curl -X POST https://oldproxy.com/api/v1/proxy/prx_123/sync \
  -H "X-API-Key: your-api-key-here"

# Add bandwidth to existing proxy
curl -X POST https://oldproxy.com/api/v1/proxy/prx_123/add-bandwidth \
  -H "X-API-Key: your-api-key-here" \
  -H "Content-Type: application/json" \
  -d '{
    "traffic_gb": 25
  }'

Developer Benefits

API-first yaklaşımımızla geliştirici deneyimini önceliyoruz

Comprehensive Documentation

Interactive API docs, code examples, tutorials ve troubleshooting guides.

24/7 Developer Support

Dedicated developer support team, Slack community ve priority ticket system.

Rate Limiting & Quotas

Intelligent rate limiting, usage alerts ve predictable pricing model.

Security & Compliance

OAuth 2.0, API key rotation, GDPR compliance ve SOC 2 certification.

API Entegrasyonuna Bugün Başlayın

Developer-friendly API ile proxy management'ı otomatikleştirin

RESTful API Design
99.9% API Uptime
Developer Support