# DescribeEipRemoteRegions

## 1. API Description

This API is used to query the information on remote regions supporting the sale of elastic IPs.

## 2. Input Parameters

The following request parameter list only provides API request parameters.

<table><thead><tr><th width="182.08880615234375">Parameter Name</th><th width="134">Required</th><th width="117">Type</th><th>Description</th></tr></thead><tbody><tr><td>regionId</td><td>Yes</td><td>String</td><td>Region ID.</td></tr><tr><td>eipV4Type</td><td>Yes</td><td>String</td><td><a href="../../datastructure#eipv4type">Network types of public IPv4.</a></td></tr></tbody></table>

## 3. Output Parameters

<table><thead><tr><th width="176.25640869140625">Parameter Name</th><th width="146">Type</th><th>Description</th></tr></thead><tbody><tr><td>requestId</td><td>String</td><td>The unique request ID, which is returned for each request. RequestId is required for locating a problem.</td></tr><tr><td>peerRegionIds</td><td>Array of String</td><td>Information on remote region IDs.</td></tr></tbody></table>

## 4. Code Example

{% tabs %}
{% tab title="Example" %}
**Query remote region IDs.**

<pre class="language-json"><code class="lang-json"><strong>POST /api/v2/zec HTTP/1.1
</strong>Host: console.zenlayer.com
Content-Type: application/json
X-ZC-Action: DescribeEipRemoteRegions
&#x3C;Common Request Params>

Request:
{
  "regionId": "xxx",
  "eipV4Type": "xxx"
}

Response:
{
  "requestId": "TBFC01FCF-6439-4530-ADBC-16809F0C3E8F",
  "response": {
    "requestId": "TBFC01FCF-6439-4530-ADBC-16809F0C3E8F",
    "peerRegionIds": ["xxx","xxx"]
  }
}
</code></pre>

{% endtab %}
{% endtabs %}

## 5. Developer Resources

Zenlayer Cloud API 2.0 integrates [SDKs](https://docs.console.zenlayer.com/test/ci-develop-en/api-introduction/software-toolkit/sdk/introduction) to make it easier for you to call APIs. More programming languages will be supported.

## 6. Error Codes

No error codes related to the API business logic. For other error codes, see [Common Error Codes](https://docs.console.zenlayer.com/test/ci-develop-en/api-introduction/instruction/commonerrorcode).
