Microsoft Edge Pages API

Page target management

GitHub OpenAPI

Operations 2

POST /json/close/{targetId} Microsoft Edge Close Target #
GET /json/close/{targetId} Microsoft Edge Close Target #

Documentation

Specifications

Code Examples

Schemas & Data

Other Resources

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-edge:microsoft-edge-pages-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-edge-pages-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Edge Pages API
  version: 1.0.0
  contact:
    name: Microsoft Edge Developer
    url: https://developer.microsoft.com/microsoft-edge/
  license:
    name: Microsoft Software License
    url: https://www.microsoft.com/legal/terms-of-use
  x-generated-from: documentation
  x-last-validated: '2026-04-18'
  description: 'Operations tagged Pages across 2 of this provider''s published API definitions: microsoft-edge-devtools-api.yaml, microsoft-edge-pages-api-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:9222
  description: Local Edge DevTools debugging endpoint
security: []
tags:
- name: Pages
  description: Page target management
paths:
  /json/close/{targetId}:
    post:
      operationId: closeTarget
      summary: Microsoft Edge Close Target
      description: Closes the specified target tab or page.
      tags:
      - Pages
      parameters:
      - name: targetId
        in: path
        required: true
        description: Target identifier
        schema:
          type: string
        example: ABC123
      responses:
        '200':
          description: Target closed successfully
          content:
            text/plain:
              schema:
                type: string
              examples:
                CloseTarget200Example:
                  summary: Default closeTarget 200 response
                  x-microcks-default: true
                  value: Target is closing
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    servers:
    - url: http://localhost:9222
      description: Local Edge DevTools debugging endpoint
    get:
      operationId: getJsonCloseByTargetId
      summary: Microsoft Edge Close Target
      description: Closes the specified target tab or page.
      tags:
      - Pages
      parameters:
      - name: targetId
        in: path
        required: true
        description: Target identifier
        schema:
          type: string
        example: ABC123
      responses:
        '200':
          description: Target closed successfully
          content:
            text/plain:
              schema:
                type: string
              examples:
                CloseTarget200Example:
                  summary: Default closeTarget 200 response
                  x-microcks-default: true
                  value: Target is closing
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
      x-source: https://learn.microsoft.com/en-us/microsoft-edge/devtools/protocol/
      x-note: The Edge page names the endpoint and its Target ID parameter but no HTTP method; GET is the Chromium remote-debugging convention.
      x-operation-id-source: normalized
      x-operation-id-original: closeTarget
x-refined-from:
- microsoft-edge-devtools-api.yaml
- microsoft-edge-pages-api-openapi.yml