# Get package information

### **Endpoint:**

<mark style="color:green;">`GET`</mark> `https://proxy-seller.com/personal/api/v1/{YourApiKey}/residentsubuser/packages`

#### **Example:**

```
https://proxy-seller.com/personal/api/v1/fj4948ffhg58gh843gh/residentsubuser/package
```

### **Response:**

{% tabs %}
{% tab title="200: OK Success response " %}

```json
{
  "status": "success",
  "data": [
      {
        "rotation": "60",
        "traffic_limit": "7516192768",
        "expired_at": "d.m.Y",
        "is_link_date": true,
        "is_active": true,
        "package_key": "1234567890abcdefedcb",
        "traffic_usage": "10",
        "traffic_left": "10",
        "traffic_usage_sub": "10",
        "traffic_limit_sub": "10",
        "traffic_left_sub": "10"
      }
  ],
  "errors": []
}
```

{% endtab %}

{% tab title="200: OK Success response  Without subusers" %}

```json
{
    "status": "success",
    "data": [],
    "errors": []
}
```

{% endtab %}

{% tab title="200: OK Error response Wrong API key" %}

```json
{
    "status": "error",
    "data": null,
    "errors": [
        {
            "message": "Error api key",
            "code": 503,
            "customData": null
        },
        {
            "message": "IP not allowed",
            "code": 503,
            "customData": null
        },
        {
            "message": "Request limit reached",
            "code": 503,
            "customData": null
        }
    ]
}
```

{% endtab %}

{% tab title="200: OK Error response Wrong authorization IP" %}

```json
{
    "status": "error",
    "data": null,
    "errors": [
        {
            "message": "IP not allowed",
            "code": 503,
            "customData": null
        }
    ]
}
```

{% endtab %}
{% endtabs %}

### **Path parameters:**

<table data-full-width="false"><thead><tr><th width="156">Name</th><th width="180">Value</th><th>Description</th><th data-hidden></th></tr></thead><tbody><tr><td>Authorization</td><td><code>&#x3C;Your_API_Key></code></td><td>Your personal API key</td><td></td></tr></tbody></table>
