Using the API Debugger#
On the Enterprise plan, you can use the API Debugger to build and debug data extraction requests interactively.
Build a request#
To build a data extraction request:
Use the input URL field and the options distributed through the different tabs of the API Debugger to configure your request parameters.
See the API Debugger reference documentation for details about every option.
Click Show JSON format to show the JSON code that corresponds to the selected options.
You can copy the generated JSON code and use it.
Click Hide JSON format again to go back to the input fields to edit your request further or to build a new request.
Debug a request#
To debug a data extraction request:
Configure the target request on the API Debugger:
If you have the JSON code of the request, select Show JSON format and paste that JSON code.
Otherwise, use the input URL field and the options distributed through the different tabs of the API Debugger to configure your request parameters.
See the API Debugger reference documentation for details about every option.
Select Run to run your request on the API Debugger.
The API Debugger result view opens, showing the Zyte API output, and providing debugging tools.
You can edit your request parameters, be it in JSON format (click Show JSON format) or visually (click Hide JSON format), and re-run your request. The JSON format and visual views are always kept in sync.