> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tronrental.com/llms.txt
> Use this file to discover all available pages before exploring further.

# त्वरित प्रारंभ

> 5 मिनट से कम में TRON ऊर्जा खरीदें

## 1. अपनी API कुंजी प्राप्त करें

[tronrental.com/dashboard/api](https://tronrental.com/dashboard/api) पर साइन अप करें और API कुंजी बनाएं।

## 2. कीमतें देखें

```bash theme={null}
curl https://api.tronrental.com/v1/prices
```

```json theme={null}
{
  "energy_trx": { "1h": "1.79" },
  "energy_sun": { "1h": "27.54" },
  "energy_volume": 65000,
  "energy_fixed_fee_trx": "0.2",
  "bandwidth_trx": { "1h": "0.34", "1d": "0.42" },
  "bandwidth_sun": { "1h": "400", "1d": "630" },
  "bandwidth_volume": 350,
  "trx_usd_rate": "0.234",
  "burn_cost_trx": "6.5",
  "savings_percent": "72.5"
}
```

ऊर्जा किराया **केवल 1 घंटा** (`"1h"`)। Bandwidth `"1h"` या `"1d"`। `energy_trx` केवल rental है; चेकआउट पर `energy_fixed_fee_trx` (0.2 TRX) जुड़ता है।

## 3. TRX जमा करें

अपना जमा पता प्राप्त करें:

```bash theme={null}
curl https://api.tronrental.com/v1/account/deposit \
  -H "X-API-Key: your_api_key"
```

वापस मिले `deposit_address` पर TRX या USDT भेजें। जमा स्वचालित रूप से क्रेडिट हो जाती है।

## 4. ऊर्जा खरीदें

```bash theme={null}
curl -X POST https://api.tronrental.com/v1/energy/buy \
  -H "X-API-Key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "target_address": "TYourRecipientAddress1234567890abc",
    "volume": 65000,
    "duration": "1h"
  }'
```

```json theme={null}
{
  "id": 12345,
  "price_trx": "2.75",
  "status": "pending",
  "txid": null,
  "reclaim_at": null,
  "activation_cost_trx": "0"
}
```

ऊर्जा कुछ सेकंड में लक्ष्य पते पर delegate हो जाएगी।

## 5. सत्यापित करें

ऑर्डर स्थिति देखें:

```bash theme={null}
curl https://api.tronrental.com/v1/orders \
  -H "X-API-Key: your_api_key"
```

```json theme={null}
{
  "orders": [
    {
      "id": 12345,
      "type": "energy",
      "target_address": "TYourRecipientAddress1234567890abc",
      "volume": 65000,
      "duration": "1h",
      "price_trx": "2.75",
      "status": "filled",
      "delegate_txid": "abc123...",
      "reclaim_at": null,
      "source": "api",
      "created_at": "2026-06-09T12:00:00Z"
    }
  ],
  "total": 1,
  "page": 1,
  "page_size": 50
}
```

<Tip>
  **65,000 ऊर्जा** उस पते पर एक USDT ट्रांसफर के लिए पर्याप्त है जिस पर पहले से USDT है।
  पहली बार USDT प्राप्त करने वाले पते के लिए **131,000 ऊर्जा** उपयोग करें।
</Tip>

## कोड उदाहरण

<CodeGroup>
  ```python Python theme={null}
  import requests

  API_KEY = "your_api_key"
  BASE = "https://api.tronrental.com/v1"
  headers = {"X-API-Key": API_KEY}

  resp = requests.post(
      f"{BASE}/energy/buy",
      headers=headers,
      json={
          "target_address": "TYourRecipientAddress1234567890abc",
          "volume": 65000,
          "duration": "1h",
      },
  )
  print(resp.json())
  ```

  ```javascript JavaScript theme={null}
  const API_KEY = "your_api_key";
  const BASE = "https://api.tronrental.com/v1";

  const res = await fetch(`${BASE}/energy/buy`, {
    method: "POST",
    headers: {
      "X-API-Key": API_KEY,
      "Content-Type": "application/json",
    },
    body: JSON.stringify({
      target_address: "TYourRecipientAddress1234567890abc",
      volume: 65000,
      duration: "1h",
    }),
  });
  console.log(await res.json());
  ```
</CodeGroup>
