Microsoft Azure Peering Locations API

The PeeringLocations API from Microsoft Azure, for peeringlocations.

GitHub OpenAPI

Operations 1

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /subscriptions/{subscriptionId}/providers/Microsoft.Peering/peeringLocations List available peering locations · Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Peering… #
Ask an LLM
“Where can I set up a direct or exchange peering with Microsoft's network?”
“Can I filter peering locations by direct peering type?”
Tell an agent
List peering locations for {kind} peering in subscription {subscriptionId}.
Show {kind} peering locations that support direct peering type {directPeeringType}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-azure:microsoft-azure-peeringlocations-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-azure-peeringlocations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2019-09-01-preview
  title: Microsoft Azure PeeringManagementClient Peering Locations…
  description: APIs to manage Peering resources through the Azure Resource Manager.
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: PeeringLocations
paths:
  /subscriptions/{subscriptionId}/providers/Microsoft.Peering/peeringLocations:
    get:
      tags:
      - PeeringLocations
      description: Lists all of the available peering locations for the specified kind of peering.
      operationId: microsoftAzurePeeringlocationsList
      parameters:
      - name: kind
        in: query
        description: The kind of the peering.
        required: true
        schema:
          type: string
          enum:
          - Direct
          - Exchange
      - name: directPeeringType
        in: query
        description: The type of direct peering.
        required: false
        schema:
          type: string
          enum:
          - Edge
          - Transit
          - Cdn
          - Internal
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PeeringLocationListResult'
        default:
          description: Error response describing why the operation has failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-examples:
        List direct peering locations:
          $ref: ./examples/ListDirectPeeringLocations.json
        List exchange peering locations:
          $ref: ./examples/ListExchangePeeringLocations.json
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Peering…
components:
  schemas:
    PeeringLocation:
      description: Peering location is where connectivity could be established to the Microsoft Cloud Edge.
      type: object
      allOf:
      - $ref: '#/components/schemas/Resource'
      properties:
        kind:
          description: The kind of peering that the peering location supports.
          enum:
          - Direct
          - Exchange
          type: string
          x-ms-enum:
            name: kind
            modelAsString: true
        properties:
          $ref: '#/components/schemas/PeeringLocationProperties'
          description: The properties that define a peering location.
          x-ms-client-flatten: true
    PeeringLocationPropertiesExchange:
      description: The properties that define an exchange peering location.
      type: object
      properties:
        peeringFacilities:
          description: The list of exchange peering facilities at the peering location.
          type: array
          items:
            $ref: '#/components/schemas/ExchangePeeringFacility'
    ErrorResponse:
      description: The error response that indicates why an operation has failed.
      type: object
      properties:
        code:
          description: The error code.
          type: string
          readOnly: true
        message:
          description: The error message.
          type: string
          readOnly: true
    ExchangePeeringFacility:
      description: The properties that define an exchange peering facility.
      type: object
      properties:
        exchangeName:
          description: The name of the exchange peering facility.
          type: string
        bandwidthInMbps:
          format: int32
          description: The bandwidth of the connection between Microsoft and the exchange peering facility.
          type: integer
        microsoftIPv4Address:
          description: The IPv4 address of Microsoft at the exchange peering facility.
          type: string
        microsoftIPv6Address:
          description: The IPv6 address of Microsoft at the exchange peering facility.
          type: string
        facilityIPv4Prefix:
          description: The IPv4 prefixes associated with the exchange peering facility.
          type: string
        facilityIPv6Prefix:
          description: The IPv6 prefixes associated with the exchange peering facility.
          type: string
        peeringDBFacilityId:
          format: int32
          description: The PeeringDB.com ID of the facility.
          type: integer
        peeringDBFacilityLink:
          description: The PeeringDB.com URL of the facility.
          type: string
    PeeringLocationProperties:
      description: The properties that define a peering location.
      type: object
      properties:
        direct:
          $ref: '#/components/schemas/PeeringLocationPropertiesDirect'
          description: The properties that define a direct peering location.
        exchange:
          $ref: '#/components/schemas/PeeringLocationPropertiesExchange'
          description: The properties that define an exchange peering location.
        peeringLocation:
          description: The name of the peering location.
          type: string
        country:
          description: The country in which the peering location exists.
          type: string
        azureRegion:
          description: The Azure region associated with the peering location.
          type: string
    DirectPeeringFacility:
      description: The properties that define a direct peering facility.
      type: object
      properties:
        address:
          description: The address of the direct peering facility.
          type: string
        directPeeringType:
          description: The type of the direct peering.
          enum:
          - Edge
          - Transit
          - Cdn
          - Internal
          type: string
          x-ms-enum:
            name: directPeeringType
            modelAsString: true
        peeringDBFacilityId:
          format: int32
          description: The PeeringDB.com ID of the facility.
          type: integer
        peeringDBFacilityLink:
          description: The PeeringDB.com URL of the facility.
          type: string
    PeeringLocationPropertiesDirect:
      description: The properties that define a direct peering location.
      type: object
      properties:
        peeringFacilities:
          description: The list of direct peering facilities at the peering location.
          type: array
          items:
            $ref: '#/components/schemas/DirectPeeringFacility'
        bandwidthOffers:
          description: The list of bandwidth offers available at the peering location.
          type: array
          items:
            $ref: '#/components/schemas/PeeringBandwidthOffer'
    PeeringLocationListResult:
      description: The paginated list of peering locations.
      type: object
      properties:
        value:
          description: The list of peering locations.
          type: array
          items:
            $ref: '#/components/schemas/PeeringLocation'
        nextLink:
          description: The link to fetch the next page of peering locations.
          type: string
    PeeringBandwidthOffer:
      description: The properties that define a peering bandwidth offer.
      type: object
      properties:
        offerName:
          description: The name of the bandwidth offer.
          type: string
        valueInMbps:
          format: int32
          description: The value of the bandwidth offer in Mbps.
          type: integer
    Resource:
      description: The ARM resource class.
      type: object
      properties:
        name:
          description: The name of the resource.
          type: string
          readOnly: true
        id:
          description: The ID of the resource.
          type: string
          readOnly: true
        type:
          description: The type of the resource.
          type: string
          readOnly: true
      x-ms-azure-resource: true
  parameters:
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      description: The Azure subscription ID.
      required: true
      schema:
        type: string
    ApiVersionParameter:
      name: api-version
      in: query
      description: The client API version.
      required: true
      schema:
        type: string
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow.
x-provenance:
  method: harvested
  publisher: Microsoft Azure
  source: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/peering/resource-manager/Microsoft.Peering/preview/2019-08-01-preview/peering.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)