A plugin to quickly make API requests in Intellij based IDE:
- Create request using url, method, body and header in an editor dialog.
- Create collections of environment variables, for e.g. development, production etc.
- Quickly access and execute API requests via quick select popup.
Install plugin from JetBrains Marketplace
- Clone this project
- Build the plugin
./gradlew buildPlugin - Use
Install Plugin from Diskaction to install the plugin located at/build/distributions/api-bank.zip
- Open the editor via
Tools -> API Bank -> Request Editoror use hotkeyalt+shift+e(win) oroption+shift+e(mac) - Click the
+icon on top-left - Enter your request details, e.g.
- Name:
Create User - Method:
POST - Url:
https://jsonplaceholder.typicode.com/posts - Body:
{ "title": "Hello", "body": "World!", "userId": 55 }. - Add a new header row by clicking
+icon with key asContent-typeand value asapplication/json; charset=UTF-8. - Click the green play icon (or double-click the item name from the list on the left) to execute.
- Name:
- Only one set can be active at a time denoted by green checkmark.
- Use syntax
${{my_key}}to use variable in a request. - In request body, use quotes for string variable types. Don't use quotes for numbers and boolean. e.g,
{ "name": "${{my_string_var}}" }{ "count": ${{my_number_var}} }{ "isValid": ${{my_boolean_var}} }
- Plugin provides
${{UUID}}by default that generates random UUID.
- Open the popup via
Tools -> API Bank -> Request Quick Selector use shortcut keyalt+shift+s(win) oroption+shift+s(mac) - Select a request to execute
- A notification bubble will show up displaying the response code and message.
By default, the request and environment files are saved in current project's .idea folder.
If you use multiple IDE
instances and need to share the same api requests, you can copy the files .idea/api_detail_persistent.json and
.idea/variable_collection_persistent.json to a folder common to all IDE instances such as /User/apk-bank-collecion.
MIT License
Copyright (c) [2025] [Prabin Timsina]
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.




