{
  "openapi": "3.1.0",
  "info": {
    "title": "Global IP Transit, IXP Peering (PeeringDB), Subsea Wavelength & Colocation Cross-Connect TCO Calculator",
    "version": "1.0.0",
    "description": "Telecom & Network Infrastructure FinOps / 95th-Percentile IP Transit vs 100G/400G IXP Peering, Cross-Connects & Fiber RTT",
    "x-polar-products": {
      "portal_tiers": [
        {
          "sku_key": "peering_ixp_bgp_dataset",
          "product_id": "c6710a21-a336-466e-90ea-f19f5233d5b8",
          "name": "Global IXP Density & RIPEstat BGP Dataset",
          "price_usd": null,
          "billing": "one_time",
          "checkout_url": "https://buy.polar.sh/polar_cl_2ol2leF2kSFRPvypQCMiUnDzV33PTQp4Aqq8I2RLfHB"
        },
        {
          "sku_key": "neteng_peering_pro_license",
          "product_id": "f50602e1-d447-4480-94df-c58e627a9ed5",
          "name": "Pro SNMP 95th-Pct Analyzer & Peering API",
          "price_usd": null,
          "billing": "one_time",
          "checkout_url": "https://buy.polar.sh/polar_cl_LbJNMSYJEiNh0fGHfvYe3roHZabHpoLb5toSM3cp8LD"
        },
        {
          "sku_key": "vp_network_transit_rfp_pack",
          "product_id": "28cb0dd0-697b-402d-afd6-0ccff2186c24",
          "name": "VP Network Transit RFP & Cross-Connect Pack",
          "price_usd": null,
          "billing": "one_time",
          "checkout_url": "https://buy.polar.sh/polar_cl_wEG8vEjMEHdSI73zjggCFsv6Km1EYUB7ycfwI08DIhw"
        }
      ],
      "master_all_portals_pass": {
        "master_all_portals_pro_monthly": {
          "product_id": "18e0b844-b764-41f0-9c3d-186362784997",
          "name": "All-Portals Master Pro API & Batch CSV License Key (Monthly)",
          "price_usd": 79,
          "billing": "monthly",
          "checkout_url": "https://buy.polar.sh/polar_cl_0P1axu2nXEDXECK8Z0k7I3sMndeo3hsdqpepv1LUcJT"
        },
        "enterprise_annual_data_pass": {
          "product_id": "8a5266eb-3aaf-4fb3-9aef-0e5bbfd17dc3",
          "name": "Annual Enterprise FinOps & Compliance Data Pass (All Portals)",
          "price_usd": 499,
          "billing": "yearly",
          "checkout_url": "https://buy.polar.sh/polar_cl_SPWfsAxuQAVHif3soxwqbq5zPAdNZFkN5CtQK3cZRft"
        }
      }
    }
  },
  "externalDocs": {
    "description": "AI-Agent & MCP Tool Discovery Catalog",
    "url": "https://p2-peering-ixp-transit-calc.pages.dev/agent-catalog.json"
  },
  "servers": [
    {
      "url": "https://p2-peering-ixp-transit-calc.pages.dev",
      "description": "Public static Pages dataset & discovery server"
    },
    {
      "url": "https://p2-core-api.evsmtoken.workers.dev",
      "description": "Authenticated P2 Core Pro API"
    }
  ],
  "paths": {
    "/data/meta.json": {
      "get": {
        "operationId": "getPortalMeta",
        "summary": "Get live dataset freshness metadata and upstream source list",
        "servers": [
          {
            "url": "https://p2-peering-ixp-transit-calc.pages.dev"
          }
        ],
        "responses": {
          "200": {
            "description": "Metadata JSON with fetched_at, record_count, and sources",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/llms.txt": {
      "get": {
        "operationId": "getLlmsTxt",
        "summary": "Get LLM-readable portal summary and endpoint directory",
        "servers": [
          {
            "url": "https://p2-peering-ixp-transit-calc.pages.dev"
          }
        ],
        "responses": {
          "200": {
            "description": "Plain text discovery guide",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/v1/license/verify": {
      "post": {
        "operationId": "verifyPolarLicense",
        "summary": "Verify a Polar.sh Pro License Key via p2-core-api",
        "servers": [
          {
            "url": "https://p2-core-api.evsmtoken.workers.dev"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "key"
                ],
                "properties": {
                  "key": {
                    "type": "string"
                  },
                  "portal": {
                    "type": "string",
                    "default": "p2-peering-ixp-transit-calc"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "License verification result",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/v1/pro/p2-peering-ixp-transit-calc/dataset": {
      "get": {
        "operationId": "getProDataset",
        "summary": "Fetch authenticated full Pro JSON dataset for p2-peering-ixp-transit-calc",
        "servers": [
          {
            "url": "https://p2-core-api.evsmtoken.workers.dev"
          }
        ],
        "security": [
          {
            "PolarBearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Full Pro dataset JSON",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid Polar License Key"
          }
        }
      }
    },
    "/data/bgp-routing-and-interconnect.json": {
      "get": {
        "operationId": "getPublic_bgp_routing_and_interconnect_json",
        "summary": "Get public live open-data benchmark JSON (bgp-routing-and-interconnect.json)",
        "servers": [
          {
            "url": "https://p2-peering-ixp-transit-calc.pages.dev"
          }
        ],
        "responses": {
          "200": {
            "description": "Public benchmark dataset JSON",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/data/peeringdb-ixp-catalog.json": {
      "get": {
        "operationId": "getPublic_peeringdb_ixp_catalog_json",
        "summary": "Get public live open-data benchmark JSON (peeringdb-ixp-catalog.json)",
        "servers": [
          {
            "url": "https://p2-peering-ixp-transit-calc.pages.dev"
          }
        ],
        "responses": {
          "200": {
            "description": "Public benchmark dataset JSON",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "PolarBearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "Polar License Key"
      }
    }
  }
}