Overview
The Fetch node loads an API from a URL, so the project can pull in the API response. The Fetch node allows you to Get or Post to the API, customize relevant header information for the specific API, and create an error response. Any API can be used with Play’s Fetch node. API responses contains key-value pairs, which are labels (keys) for data entries (values). Each API has different keys and different headers, so make sure to read the selected API’s documentation.
Read this article on using external data to learn how to pull values from an API into your Play prototype using the associated keys.
Action Properties
URL
Enter the URL for the selected API.HTTP Method
Choose how to interact with the API:- Get: Request data from the API.
- Post: Send data to the API to create/update a resource.
Headers
If applicable to the selected API, add the necessary headers. We’ve added several common headers:- “Content-Type” = “application/json”
- “Accept” = “application/json”
- “Cache-Control” = “no-cache”
- “Authorization” = “Bearer YOUR_ACCESS_TOKEN” (Enter your own API token)

