Skip to main content
This topic describes the API procedure to join an Internet Exchange (IX) from a Port. Before you begin, obtain a valid access token. For more information, see Creating an API Key.

Use cases

Using the API to join an IX allows you to:
  • Automate IX provisioning as part of your network deployment workflows.
  • Integrate IX ordering into your infrastructure-as-code processes.
  • Programmatically manage peering infrastructure across multiple locations.

Prerequisites

Before joining an IX, ensure that:
  • You have an active Port in a location where an IX is available.
  • You can meet the IX requirements.

Steps to join an IX

To join an IX using the API:
  1. Get the productUid for your Port
  2. Find available IX locations
  3. Validate the IX order
  4. Order the IX

Getting your Port product ID

To join an IX, you need the productUid for the Port. Endpoint
From the returned product details, locate the productUid value for the Port you want to connect from.

Finding available IX locations

To find IX locations where you can connect, query the partner megaports endpoint with the IX connect type. Endpoint
Query Parameters Example Request
Response The response includes available IX locations with their productUid and locationId values.

Validating the IX order

Before ordering, validate the IX configuration to review pricing details and confirm the settings are correct. Endpoint
Request Body Parameters IX Configuration Parameters Example Request
Response A successful validation returns pricing details and confirms the configuration is valid.

Ordering the IX

After validation, use the same Request body to order the IX. Endpoint
Example Request Copy the validated body and send it to the buy endpoint.
Response A successful order returns details about the ordered IX, including its productUid.
After deployment, Megaport sends an email to your registered email address with additional information on how to finish the BGP configuration.

Helpful references

Last modified on August 21, 2026