Variables are fixed values that you save in your Data Fetcher workspace and can reuse across multiple requests. You can use variables in request URLs, headers, parameters, and other input fields throughout your requests. Variables are especially useful for API keys, base URLs, or other values that you use frequently. If a value changes, you only need to update the variable in one place, instead of editing every request that uses it.Documentation Index
Fetch the complete documentation index at: https://help.datafetcher.com/llms.txt
Use this file to discover all available pages before exploring further.
How to create and use a variable
You can create a variable directly from any compatible input field:- Look for any input field that displays a + button on the right-hand side.
- Click the + button to open the table field / variables modal.
- In the modal that opens, click Variable to switch to the variables tab.
- Enter a Variable name, and Variable value.
- Click + Add. Your variable is now available to use in any request within this workspace.
- Click Confirm.
- The input field will now display a variable reference that looks like:
-*-currency-*-
How to edit and delete variables
You can edit or delete existing variables through the same modal:- Follow steps 1-3 above to open the variables tab.
- Find the variable you want to manage.
- Click the three horizontal dots (⋯) on the right-hand side of the variable.
- Select your desired action from the dropdown menu (edit or delete).
Changes to variables will affect all requests that use them within your
workspace.
Common use cases for variables
- API keys and tokens - Store sensitive authentication information once and use it across multiple requests
- Base URLs - Define common API endpoints that multiple requests share
- Configuration values - Store settings like currency codes, region identifiers, or format preferences