Skip to content
| Marketplace
Sign in
Visual Studio Code>Testing>TopReq API ClientNew to Visual Studio Code? Get it now.
TopReq API Client

TopReq API Client

WEB WE DO SRL

|
1 install
| (0) | Free
TopReq API Client: a lightweight, fast, and easy-to-use API client for testing HTTP, GraphQL, WebSocket, and SSE in VS Code. Data stays local for privacy.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

TopReq API Client

A lightweight, fast, and easy-to-use API client for testing HTTP, GraphQL, WebSocket, and SSE inside VS Code. Your data stays on this machine — nothing is synced to a TopReq cloud.

Features

  • Local Storage — collections, requests, environments, and history stay on this machine
  • Create and save requests into collections from the Activity Bar
  • GET / POST / PUT / PATCH / DELETE
  • Query params, headers, auth (None / Basic / Bearer / API key / JWT), and JSON body
  • Inspect status, timing, size, and response body (Pretty / Raw with syntax highlighting)
  • Environment variables with {{variable}} substitution
  • Request history
  • GraphQL over HTTP, SSE, and raw WebSocket streaming

Getting Started

  1. Install TopReq API Client from the Extensions view (Ctrl+Shift+X / Cmd+Shift+X).
  2. Click the TopReq icon in the Activity Bar.
  3. Open a request from Examples in Collections, or create one with New Request.
  4. Edit method, URL, params, headers, auth, or body.
  5. Press Send (or Ctrl+Enter / Cmd+Enter).
  6. Inspect status, timing, size, and the response pane.

Keyboard Shortcuts

Action macOS Windows / Linux
Open TopReq ⌘⇧T Ctrl+Shift+T
New Request (Collections focused) ⌘N Ctrl+N
Send Request (TopReq focused) ⌘Enter Ctrl+Enter
Save Request (TopReq focused) ⌘S Ctrl+S

Examples & Environments

Fresh installs include an Examples collection with one working demo per protocol:

  • HTTP GET / HTTP POST
  • GraphQL
  • SSE
  • WebSocket

TopReq also ships a Local environment with empty baseUrl and apiKey variables for your own APIs.

Use variables anywhere in URL, headers, auth, or body:

{{baseUrl}}/users
Authorization: Bearer {{apiKey}}

Missing variables are reported before the request is sent.

Create a separate collection for real work; keep Examples as a reference you can delete later.

Layout

  1. Activity Bar — TopReq container
  2. TopReq Sidebar — collections tree and actions
  3. Request Editor — protocol, method/URL, params, headers, auth, body/query/message
  4. Response Viewer — status/size/time for HTTP+GraphQL, live event console for SSE/WS

Settings

Setting Default Purpose
topreq.history.maxEntries 50 Max request history entries
topreq.request.timeoutMs 30000 HTTP/GraphQL fetch timeout
topreq.confirmDelete true Modal confirm before delete
topreq.openPanelOnActivate false Open the editor panel when the TopReq sidebar becomes visible

Local Storage & Privacy

API client data is stored locally to enhance privacy and security.

  • What: collections, folders, requests, environments, open tabs, and request history (including recent response bodies)
  • Where: VS Code globalState for your profile on this machine (topreq.store.v2)
  • Scope: machine-local only — TopReq does not sync data to a cloud service

Requirements

  • VS Code 1.125.0 or newer

Release Notes

See the Changelog tab on the Marketplace page (also in CHANGELOG.md in the extension package).

Support

See SUPPORT.md in the extension package for how to report issues.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft