Web API Playground
Learn how to use the Web API Playground to build and test Search and Scrape requests, preview results, and export ready-to-use code.
Web API Playground is an interactive tool available in the Oxylabs dashboard. It allows you to build and test Web API requests without writing code.
With Web API Playground, you can run /search and /scrape requests side by side, adjust request parameters, switch output formats, preview results, and copy ready-to-use code in language of your choice.
It's designed for quick prototyping, exploring what the API returns for a target, and verifying a request before adding it to your project.
Who can use it?
Web API Playground is available to all Oxylabs dashboard users with access to Web API.
New users can start with a $5 welcome credit.
Existing customers can use the Playground alongside their regular API integrations as a testing and prototyping environment.
How to use it
Access Web API Playground
Log in to the Oxylabs dashboard and open your Web API product instance.

The Playground is located in the center of your Web API product instance Overview.

Enter the details
Depending on your chosen Web API Playground mode, check the corresponding tab below:
For /search, enter the keyword or phrase you want to search for.

Then, adjust the request for your use case by clicking the Options button:

Number of results (
max_results): Number of organic search items to return Default:10, maximum:20.Target localization (
location): Searchable dropdown accepting 2-letter ISO country codes (e.g.,US,DE,GB) to localize Web API search results.
For /scrape, enter the target page URL for scraping.

Then, adjust the request for your use case by clicking the Options button:

Location (location)
Country-level IP geo-targeting for localization and geo-fenced page access.
Device (device)
Configures request client headers and viewport emulation as Desktop (default) or Mobile.
JS rendering (run_js)
Enables headless browser JavaScript execution for client-side rendering.
Finally, click the Output button to configure delivery formats. Multiple output formats can be chosen:

HTML
Returns raw unparsed or rendered DOM HTML (default)
Markdown
Converts page DOM into clean, LLM-ready Markdown, discarding boilerplate script/style tags, LLM-friendly output option.
JSON
Returns structured programmatic data. (requires either schema or prompt-based extraction rules. Learn more about both extraction modes in AI Parsing page.)
Screenshot
Captures a full visual page render. Requires JS rendering, costs extra.
Selecting multiple options appends each value to the payload's output array (e.g. "output": ["html", "md"]).
Export
If you're happy with the results, switch to the Request tab, where you can copy the generated code in your preferred language and use it in your scripts or applications.
If you wish to integrate Web API into your AI agent or coding assistant, you can also choose the Copy to agents option which integrates Web API with your agent in a single prompt.

Last updated
Was this helpful?

