API playground

Build and inspect a multi-source search request.

Configure retrieval, review the generated request, and inspect how WebSearchAPI.ai turns live sources into structured evidence.

Your API key is sent only with the request you submit.

Try the API

From one query to usable evidence.

The form, generated code, and response stay synchronized as you configure retrieval.

  1. 01

    Add your API key

    Use a WebSearchAPI.ai key from your organization settings.

  2. 02

    Shape the retrieval

    Set the query, source mix, result depth, extraction, and output.

  3. 03

    Inspect the output

    Review the code, source provenance, content, and structured response.

Request Configuration

Set up your search parameters

Enter your WebSearchAPI.ai API key or get one from Organization Settings.

Advanced Options

Number of search results to return (1-10)

Crawl and extract content from search results(uses more credits)

Localization Settings

Response

View the API response

API Request Examples

# Loading code example...

Usage Instructions

This cURL command can be used in your terminal or integrated into your application as an HTTP request.

This playground allows you to test the WebSearchAPI.ai search capabilities directly in your browser.

Give your AI a wider view of the live web.

Search multiple engines and public communities, fetch the evidence, and return one ranked, model-ready result set.