---
title: "Read Chrome DevTools Protocol discovery"
method: GET
path: "/cdp/sessions/{sessionId}/json/version"
tags: ["Remote CDP"]
---

# Read Chrome DevTools Protocol discovery

`GET /cdp/sessions/{sessionId}/json/version`

## Request

- Base URL: `https://api.adscrawl.net`
- URL: `https://api.adscrawl.net/cdp/sessions/{sessionId}/json/version`
- Auth: API key in query parameter `token`
- TypeScript: <https://skmtc.dev/adscrawl/apis/adscrawl-api/docs/cdp/sessions/:sessionId/json/version/get.ts> (a function with typed inputs; its response is checked against the schema)

Authenticate using the data token already embedded in cdpBaseUrl. webSocketDebuggerUrl is rewritten to a public session-scoped URL. Use returned URLs rather than constructing connection URLs manually.

## Response `200`

Chrome discovery metadata.

- object
  - `Browser` string
  - `Protocol-Version` string
  - `User-Agent` string
  - `webSocketDebuggerUrl` string, uri

## Other responses

- `default`: Error response. Typical statuses are 400 invalid input, 401 invalid authentication, 402 payment/credits required, 403 ownership mismatch, 404 missing resource, 409 state or quota conflict, 410 expired session, 429 rate/concurrency limit, 500 internal failure, 502 upstream failure, 503 capacity/runtime unavailable, or 504 timeout. Not every status applies to every operation. Use HTTP status and code when present.

---

[API](https://skmtc.dev/adscrawl/apis/adscrawl-api.md) - [All operations](https://skmtc.dev/adscrawl/apis/adscrawl-api/llms.txt) - [OpenAPI document](https://skmtc.dev/adscrawl/apis/adscrawl-api/revisions/aa45d0651921?raw)
