https://{host}/capacity/v1. Each provider hosts the API under its own host name.
Authentication
OAuth 2.0 client credentials. Read the token URL from authentication.tokenUrl in the capabilities document.
Scopes
capacity.query: run queries and list locations. capacity.signal: create, read, amend, withdraw, and delete your signals. capacity.subscribe: create, read, amend, and delete your subscriptions and read their events.
Errors
RFC 9457 problem details with a stable code and field-level errors
Paging
limit (1 to 200, default 50) and cursor, the pagination.next value of the previous page
Concurrency
If-Match with the ETag of the version that you amend. A stale value returns 412.
Idempotency
Idempotency-Key on create, at most 128 characters. A repeat of the same key within 24 hours returns the first result and creates nothing.
Compatibility
Ignore unknown properties. Treat an unknown Grade value as NOT_DISCLOSED. Treat any other unknown enumeration value as unknown without failing.
A location at one level. REGION uses AMER, EMEA, or APAC. COUNTRY uses ISO 3166-1 alpha-2. METRO, CAMPUS, and FACILITY use the provider's own codes, as listed by /locations, for example FR for a Frankfurt metro. A campus is a group of facilities on one site. To name a metro without knowing the provider's code, set scheme to STANDARD and send the UN/LOCODE without a space, for example DEFRA.
Field
Required
Type
Meaning
level
Yes
LocationLevel
code
Yes
string
At most 32 characters.
scheme
No
PROVIDER, STANDARD
Applies to METRO only. Absent means PROVIDER. Default: PROVIDER.
Everything within radiusKm of a point. A provider that lists areaLocations as false in its capabilities returns 422 with code UNSUPPORTED_LOCATION_LEVEL. The provider answers an area with one result per named location that it chooses to report inside the area, or with one result for the area as a whole. It does not have to reveal where its facilities are.
Field
Required
Type
Meaning
level
Yes
AREA
center
Yes
object
radiusKm
Yes
number
Distance from the center in kilometers. Maximum 1000.
How much capacity is needed. Three forms are valid: 1. cabinets and density. Total power is derived as the cabinet count times the density target, or the max when no target is given, or the min when only the min is given. 2. power, cabinets, and density. power is the total and density constrains each cabinet. 3. power alone, for a need that is not yet expressed in cabinets. In form 2 the provider returns 422 with code INCONSISTENT_DEMAND when the total cannot fit: power is greater than count times density max, or less than count times density min.
Field
Required
Type
Meaning
power
No
Power
powerBasis
No
IT_LOAD, CIRCUIT_CAPACITY
What power measures. IT_LOAD is the power drawn by the equipment. CIRCUIT_CAPACITY is the rated capacity of the circuits. Default: IT_LOAD.
powerFactor
No
number
Used to convert between apparent and real power. Absent means the provider's default from the capabilities document. Maximum 1.
cabinets
No
CabinetDemand
density
No
DensityRange
spaceType
No
CABINET, CAGE, SUITE, HALL, BUILDING
The form of space wanted.
contiguous
No
boolean
True when the cabinets must be adjacent in one space.
Power per cabinet as a minimum, a target, and a maximum. Any subset is valid, and at least one of the three is present. Where more than one is present, min is not greater than target and target is not greater than max.
When the capacity is needed. Every property is optional. A requirement with no neededForService states an immediate need. That default applies to requests only.
Field
Required
Type
Meaning
neededForSale
No
FlexibleDate
When you need to be able to contract for the capacity.
neededForService
No
FlexibleDate
When the capacity must be usable. Absent means now.
latestAcceptable
No
FlexibleDate
The last service date that still works. Absent means neededForService is firm.
termMonths
No
integer
Intended length of the commitment in months. Minimum 1.
ramp
No
List of RampStep
Phased need, in date order. The last step is 100 percent. Absent means the full demand at neededForService.
The answer for one location. Only location, grade, and supportedFeatures are required. supportedFeatures has one entry for each desired feature. When grade is AVAILABLE or POSSIBLE, the entry for each feature that the request marked required is AVAILABLE or POSSIBLE. The location grade already states that the required features can be met. An entry for a required feature can be NOT_DISCLOSED only when grade is NOT_DISCLOSED or UNAVAILABLE. An entry for a feature that is not required can be NOT_DISCLOSED with any grade.
Field
Required
Type
Meaning
location
Yes
LocationRef
The location answered. It can be coarser than the one requested.
requested
No
LocationRef
The requested location, where the answer is at a coarser level.
grade
Yes
Grade
timing
No
Timing
density
No
DensityRange
The per-cabinet density the location supports for this requirement.
cabinets
No
CabinetBand
power
No
PowerBand
supportedFeatures
Yes
List of SupportedFeature
interconnection
No
List of InterconnectionResult
reasons
No
List of Reason
nextStepUrl
No
string (uri)
Where to continue the conversation with the provider.
A band for the number of cabinets. min alone reads as "at least". max alone reads as "up to". A provider that does not want to reveal inventory returns min no greater than the requested count and omits max.
Whether a party is reachable. Saying that a named party is present discloses something about that party. A provider grades presence AVAILABLE only for a party whose presence is already public or that has agreed to be listed, and NOT_DISCLOSED otherwise.
Field
Required
Type
Meaning
party
Yes
PartyRef
within
No
InterconnectionScope
presence
Yes
Grade
required
No
boolean
roundTripMs
No
object
Band for round-trip latency to the party, in milliseconds.
What the provider can do with the signal. Absent values take the most restrictive default.
Field
Required
Type
Meaning
sharing
No
NONE, AGGREGATED
NONE: the provider uses the signal only for its own capacity planning. AGGREGATED: the provider can also include it in totals that do not identify the customer, for example a load forecast given to a utility. Default: NONE.
contactPermitted
No
boolean
True when the provider can contact you about the signal. Requires contact. Default: false.
The provider sends at most one answer event per subscription in this interval. Changes inside the interval are coalesced into one event that carries the latest answer. Minimum 0.
The answer to the subscribed requirement changed. data.reason is INITIAL, GRADE_CHANGE, DETAIL_CHANGE, or REFRESH. REFRESH means that the previous answer expired and nothing else changed.
org.opencapacity.signal.updated
The state of the followed signal changed
org.opencapacity.subscription.updated
The state of the subscription changed
org.opencapacity.subscription.verification
The provider verifies a webhook endpoint. data.challenge has the value to echo.
A problem document has type, title, status, and code, and can have detail, instance, and errors. Each entry of errors has a pointer, a JSON Pointer to the field in the request body, and a detail.
Code
INVALID_REQUEST
INCONSISTENT_DEMAND
UNSUPPORTED_LOCATION_LEVEL
UNKNOWN_LOCATION
TOO_MANY_LOCATIONS
UNAUTHENTICATED
FORBIDDEN
NOT_FOUND
STATE_CONFLICT
PRECONDITION_FAILED
NOT_IMPLEMENTED
RATE_LIMITED
QUOTA_EXCEEDED
INTERNAL_ERROR
A 429 response has a Retry-After header with the number of seconds to wait before the next request.
The following problem document is the response to a demand whose total power doesn't fit the cabinet count and the density:
JSON
{
"type": "https://opencapacity.example/problems/inconsistent-demand",
"title": "Demand is inconsistent",
"status": 422,
"code": "INCONSISTENT_DEMAND",
"detail": "power of 5 MW is greater than 40 cabinets at a density max of 100 kVA.",
"errors": [
{
"pointer": "/requirement/demand/power",
"detail": "Must not exceed cabinets.count times density.max."
}
]
}