APIForge
Enterprise-level API testing tool for VS Code

A modern, feature-rich API client built directly into Visual Studio Code. Test REST, GraphQL, WebSocket, and gRPC APIs without leaving your editor.
Features
Comprehensive Protocol Support
- REST APIs — Full support for all HTTP methods (GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS).
- GraphQL — Built-in query editor with syntax highlighting, variables support, and schema introspection.
- WebSocket — Real-time, persistent WebSocket connections with message history and event logging.
- gRPC — Protocol buffer support (coming soon).
Modern, Native UI
- Seamless Integration — Built with Svelte and Tailwind CSS to perfectly match your active VS Code theme (dark, light, high contrast).
- Split Panes — View your request and response side-by-side.
- Syntax Highlighting — Beautifully formatted JSON, XML, HTML, and GraphQL responses with collapsible tree view.
Advanced Authentication
- Basic Auth (username & password)
- Bearer Token / JWT
- API Keys (header or query parameter)
- OAuth 2.0 with PKCE
Organization & Workflows
- Collections — Group related requests into folders and collections. Rename, duplicate, and organize with ease.
- Environments — Define variables for
development, staging, and production. Switch between them with a single click.
- History — Automatically track all your past requests and their full response data.
- Code Generation — Instantly generate code snippets in cURL, Fetch, Axios, Python (Requests), Go, and more.
- Assertions & Testing — Write tests to validate response status codes, headers, and JSON body properties.
- Import/Export — Migrate data seamlessly with support for OpenAPI, Postman, and Thunder Client formats.
- Pre-request & Post-response Scripts — Run custom JavaScript before and after requests.
Installation
- Open Visual Studio Code.
- Go to the Extensions view (
Ctrl+Shift+X on Windows/Linux, Cmd+Shift+X on macOS).
- Search for "APIForge".
- Click Install.
- Once installed, click the APIForge icon in the Activity Bar to get started!
Quick Start
- Click the APIForge icon in the Activity Bar.
- Click the + button to create a new request.
- Select your HTTP method (e.g.,
GET) and enter a URL (e.g., https://jsonplaceholder.typicode.com/users).
- Configure any necessary Headers, Query Parameters, or Body data.
- Click Send and view the response instantly!
Keyboard Shortcuts
| Action |
Windows/Linux |
macOS |
| Open APIForge |
Ctrl+Shift+A |
Cmd+Shift+A |
| New Request |
Ctrl+N |
Cmd+N |
| Send Request |
Ctrl+Enter |
Cmd+Enter |
Configuration
APIForge can be customized via your VS Code settings.json:
{
"apiforge.defaultTimeout": 30000,
"apiforge.maxHistoryItems": 100,
"apiforge.followRedirects": true,
"apiforge.validateSSL": true,
"apiforge.proxy.enabled": false,
"apiforge.proxy.url": ""
}
Data Storage & Version Control
APIForge stores your collections and environments locally in a .apiforge folder at the root of your workspace:
.apiforge/
├── collections/
│ └── my-collection.json
├── environments/
│ ├── development.json
│ └── production.json
└── apiforge.config.json
Benefits:
- Version Control — Commit your API collections to Git alongside your code.
- Team Collaboration — Share configurations effortlessly with your team.
- Security — Sensitive data (like tokens) is kept local and secure using VS Code's SecretStorage API.
Development
Prerequisites
Setup
# Clone the repository
git clone https://github.com/sitharaj88/apiforge.git
cd apiforge
# Install dependencies
npm install
cd webview-ui && npm install && cd ..
# Build the extension and webview
npm run build
# Watch for changes during development
npm run dev
Debugging
- Open the project in VS Code.
- Press
F5 to launch the Extension Development Host.
- The extension will load in a new VS Code window.
Contributing
Contributions are always welcome! Whether it's a bug report, feature request, or a pull request, please feel free to contribute on GitHub.
Author
Sitharaj Seenivasan — @sitharaj88
License
Licensed under the Apache License 2.0.
Acknowledgments
Support
If you find APIForge helpful, consider buying me a coffee! Your support helps keep the project actively maintained and free for everyone.

| |