Skip to main content

Effective 10 September 2024, API Documentation can be found on our Equinix Product Documentation site.
The content on this page will not be updated after 1 Oct 2024 and will be inaccessible after 31st Dec 2024.


Power APIs

GET Power Data

 GET /power/v1/current
MethodGET
Endpoint/power/v1/current
HeadersAuthorization, Content-Type
Path ParametersNot applicable
Query ParametersaccountNo, ibx, levelType, levelValue
Body ParametersNot applicable

The Get Power Current API, returns the power consumption info for all level values, given a customer account number, IBX and level type of ibx, cage, cabinet or circuit.

 

If you are unaware of how to obtain an authorization token, refer Requesting Access and Refresh tokens under Getting Access Token.

Sample curl request

curl -X
GET "https://api.equinix.com/power/v1/current?accountNo=1&ibx=CH1&levelType=IBX&levelValue=CH1"
-H "accept: application/json"
-H "Authorization: Bearer PMQuChryibV7JFRfNuA3fLV8Hw1x"

Query parameters

ParameterDescription
accountNo string
REQUIRED
Customer account number.
Example: 1234
ibx string
REQUIRED
IBX data center identifier.
Example: CH1
levelType string
REQUIRED
Determines the level at which the power value reading is taken.
Applicable values:
  • IBX
  • CAGE
  • CABINET
  • CIRCUIT
LevelValue string
REQUIRED
Value for the corresponding levelType:
  • IBX data center identifier (levelType: IBX)
  • cage space identifier (levelType: CAGE)
  • cabinet space identifier (levelType: CABINET)
  • circuit serial number (levelType: CIRCUIT)
Example: CH1
{
"payLoad": {
"ibx": "CH1",
"accountNo": "1",
"levelType": "IBX",
"levelValue": "CH1",
"isAlarm": null,
"kva": 175.334,
"amps": null,
"soldKva": 1370.285,
"cabinetRating": null,
"contractualKva": 373.9,
"percentageKva": 46.893,
"comparisonData": {
"datapoint": "percentageKva",
"yesterday": -0.106,
"lastweek": -0.034,
"lastmonth": 2.379,
"lastquarter": 2.964
},
"peakKvaLastSevenDays": 176.195,
"peakKvaLastSevenDaysPercentage": 47.123,
"peakKvaLastSevenDaysContractualKva": 373.899,
"peakKvaLastSevenDaysTime": null,
"soldAmps": null,
"primaryKva": 111.586,
"redundantKva": 63.747,
"kw": 92.28,
"powerFactor": null,
"readingTime": "1550379600000",
"lastUpdatedTime": "1550379960000",
"customerName": "EQUINIX"
},
"status": {
"type": "INFO",
"statuscode": "1000",
"msg": "OK"
}
}

Response payload body description

Field Name TypeExampleDescription
ibxstringABCIBX code.
accountNumberstringABCCustomer account number.
levelTypestringibx 
Enum:Array [4]
Power hierarchy node levelType, linked to the power data.
levelValuestringABCPower hierarchy node levelValue, linked to the power data.
isAlarmstringtrueBoolean based on breaker trip alarm.
kvanumber54.402Power consumption in KVA.
ampsnumber123Instantaneous current amp reading on circuits.
soldKvanumber598.349Maximum amp draw, allowable on a circuit.
cabinetRatingnumber341.54Maximum kVA draw allowed for the cabinet when the levelType is cabinet. Null otherwise.
contractualKvanumber341.54The maximum power draw contractually allowable in a private cage.
percentageKvanumber341.54Calculated field KVA divided by contractualKva.
comparisonDataobjectComparisonData{...}
peakKvaLastSevenDaysnumber55.296
peakKvaLastSevenDaysPercentagenumber55.296
peakKvaLastSevenDaysContractualKvanumber55.296
peakKvaLastSevenDaysTimeinteger55.296
soldAmpsinteger123Circuit description when the levelType is a circuit. Null otherwise.
primaryKvanumber28.31Sum of instantaneous power draw reading on all the primary circuits within the levelType.
redundantKvanumber26.092Sum of instantaneous power draw reading on all the redundant circuits within the levelType.
kwnumber92.81The measure of real power expressed in KiloWatt. Applicable to IBX data centers that have the capability of energy meter reading.
powerFactorstringNAThe ratio between real power and apparent power in a circuit.(kW/kVA)|value will be “NA” for AMER and APAC regions
readingTimestring1497410400000Date-time when the latest value was read in (epoch - milliseconds).
lastUpdatedTimestring1497410520000Date-time when the latest value was updated (epoch - milliseconds).
customerNamestringABC
 

If you get “Access Denied” error, contact your local Equinix Service Desk for Equinix Smart View portal access.


 GET /power/v1/trending
MethodGET
Endpoint/power/v1/trending
HeadersAuthorization, Content-Type
Path ParametersNot applicable
Query ParametersaccountNo, ibx, levelType, levelValue
Body ParametersNot applicable

Get Trending Data for Power Consumption for input asset (ibx / cage / cabinet / circuit ). The trending power data for draw kVA to max allowed (%) for the given input asset.

 

If you are unaware of how to obtain an authorization token, refer Requesting Access and Refresh tokens under Getting Access Token.

Sample curl request

curl -X 
GET "https://api.equinix.com/power/v1/trending?accountNo=1&ibx=CH1&levelType=IBX&levelValue=CH1&fromDate=1460429200000&toDate=1460908800000&interval=1d"
-H "content-type: application/json"
-H "authorization: Bearer asxQMSbBwcNzI2fCCNwSwTh3phV2'

Query parameters

ParameterDescription
accountNo string
REQUIRED
Customer account number.
Example: 1234
ibx string
REQUIRED
IBX data center identifier.
Example: CH1
levelType string
REQUIRED
Determines the level at which the power value reading is taken.
Applicable values:
  • IBX
  • CAGE
  • CABINET
  • CIRCUIT
LevelValue string
REQUIRED
Value for the corresponding levelType:
  • IBX data center identifier (levelType: IBX)
  • cage space identifier (levelType: CAGE)
  • cabinet space identifier (levelType: CABINET)
  • circuit serial number (levelType: CIRCUIT)
Example: CH1
fromDate string
REQUIRED
Unix timestamp in milliseconds.
Example: 1460429200000
toDate string
REQUIRED
Unix timestamp in milliseconds.
Example: 1460429200000
{
"payLoad": {
"accountNumber": "1",
"ibx": "CH1",
"levelType": "IBX",
"levelValue": "CH1",
"interval": "1d",
"data": [
{
"datetime": "20160412",
"value": "126.57762661666668"
},
{
"datetime": "20160413",
"value": "126.63028427466666"
},
{
"datetime": "20160415",
"value": "126.51104850258822"
},
{
"datetime": "20160416",
"value": "126.22532176866669"
},
{
"datetime": "20160417",
"value": "126.2215849868889"
}
]
},
"status": {
"type": "INFO",
"statuscode": "1000",
"msg": "OK"
}
}

Response payload body description

Field nameTypeExampleDescription
ibxstringAB1IBX code
accountNostring123Customer account number
levelTypestringIBX, CAGE, CABINET, CIRCUITIndicates the level type.
levelValuestringAB1Indicates the level value for the given level type.
intervalstring5m, 15m, 1h, 1dEnum value indicating the interval at which the data is collected.
dataobjectThe array of data and corresponding collected value.
datetimestring20160417Instantaneous current amp reading on circuits.
valuestring126.2215849868889Maximum amp draw, allowable on a circuit.
 

If you get “Access Denied” error, contact your local Equinix Service Desk for Equinix Smart View portal access.


POST Power Data For a Given Level Type

 POST /power/v1/current
MethodPOST
Endpoint/power/v1/current
HeadersAuthorization, Content-Type
Path ParametersNot applicable
Query ParametersNot applicable
Body ParametersaccountNo, ibx, levelType

Given a customer account number, IBX and level type of ibx, cage, cabinet or circuit, returns the power consumption info for all level values.

 

If you are unaware of how to obtain an authorization token, refer Requesting Access and Refresh tokens under Getting Access Token.

Sample curl request

curl -X 
POST "https://api.equinix.com/power/v1/current
-H "content-type: application/json"
-H "authorization: Bearer R2KsiEM1ATlhBr8YdJqkHhbqZfdq"
-d '{
"accountNo": "1",
"ibx": "CH1",
"levelType": "IBX"
}'

Body parameters

ParameterDescription
accountNo string
REQUIRED
Customer account number.
Example: 1234
ibx string
REQUIRED
IBX data center identifier.
Example: CH1
levelType string
REQUIRED
Determines the level at which the power value reading is taken.
Applicable values:
  • IBX
  • CAGE
  • CABINET
  • CIRCUIT
{
"payLoad": {
"data": [
{
"ibx": "CH1",
"accountNo": "1",
"levelType": "IBX",
"levelValue": "CH1",
"isAlarm": null,
"kva": 175.951,
"amps": null,
"soldKva": 1370.285,
"cabinetRating": null,
"contractualKva": 373.9,
"percentageKva": 47.058,
"comparisonData": {
"datapoint": "percentageKva",
"yesterday": 0.213,
"lastweek": 0.497,
"lastmonth": 2.751,
"lastquarter": 3.049
},
"peakKvaLastSevenDays": 176.195,
"peakKvaLastSevenDaysPercentage": 47.123,
"peakKvaLastSevenDaysContractualKva": 373.899,
"peakKvaLastSevenDaysTime": null,
"soldAmps": null,
"primaryKva": 111.794,
"redundantKva": 64.157,
"kw": "NA",
"powerFactor": "NA",
"readingTime": "1550506500000",
"lastUpdatedTime": "1550506860000",
"customerName": "EQUINIX"
}
]
},
"status": {
"type": "INFO",
"statuscode": "1000",
"msg": "OK"
}
}

Response payload body description

Field nameTypeExampleDescription
ibxstringAB1IBX code
accountNostring123Customer account number
levelTypestringIBXIndicates the level type.
levelValuestringAB1Indicates the level value for the given level type.
isAlarmstringtrue, falseBoolean based on breaker trip alarm.
kvanumber54.402Power consumption in KVA
ampsnumber123Instantaneous current amp reading on circuits.
soldKvanumber598.349Maximum amp draw, allowable on a circuit.
cabinetRatingnumber341.54Maximum kVA draw allowed for the cabinet when the level type is cabinet. Null otherwise.
contractualKvanumber341.54The maximum power draw contractually allowable in a power cage.
percentageKvanumber341.54Calculated field kVA divided by the contractual kVA.
comparisionDataobjectcomparisonData{...}
peakKvaLastSevenDaysnumber55.296
PeakKvaLastSevenDaysPercentagenumber55.296
PeakKvaLastSevenDaysContractualKvanumber55.296
PeakKvaLastSevenDaysTimenumber55.296
soldAmpsnumber123Circuit description when the level type is a circuit. Null otherwise.
primaryKvanumber28.31Sum of instantaneous power draw reading on all the primary circuits within the level type.
redundantKvanumber26.092Sum of instantaneous power draw reading on all the redundant circuits within the level type.
kwnumber92.81The measure of real power expressed in KiloWatt. Applicable to IBX data centers that have the capability of energy meter reading.
powerFactorstringNAThe ratio between the real power and apparent power in a circuit (KW/KVA). Value will be "NA" for AMER and APAC regions.
readingTimestring1497410400Date-time when the latest value was read in (epoch - milliseconds).
lastUpdatedTimestring1497410400Date-time when the latest value was updated in (epoch - milliseconds).
customerNamestringABCName of the customer.
 

If you get “Access Denied” error, contact your local Equinix Service Desk for Equinix Smart View portal access.