BeatAPI · Schema

WebSearchRequest

CompanyArtificial IntelligencePlatformUnified APIData Integration

Properties

Name Type Description
query string Search query. Surrounding whitespace is trimmed before the length check.
type string Result type. Each type adds its own fields to every result.
max_results integer Number of results to return.
time_range string Only results from this period. Only for `web`, `news`, `images` and `videos`.
include_domains array Only return results from these domains. Only for `web`, `news`, `images` and `videos`.
exclude_domains array Leave out results from these domains. Only for `web`, `news`, `images` and `videos`.
country string ISO 3166-1 alpha-2 country code in lowercase, such as `us` or `cn`. With `country` and `language` both left out, a query written in Chinese, Japanese or Korean searches in that language and region.
language string Two-letter language code, such as `en` or `zh`.
View JSON Schema on GitHub

JSON Schema

beatapi-web-search-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/beatapi/json-schema/beatapi-web-search-request-schema.json",
  "title": "WebSearchRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/beatapi-web-search-api-openapi.yml#/components/schemas/WebSearchRequest",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "minLength": 1,
      "maxLength": 400,
      "pattern": "\\S",
      "description": "Search query. Surrounding whitespace is trimmed before the length check."
    },
    "type": {
      "type": "string",
      "enum": [
        "web",
        "news",
        "images",
        "videos",
        "scholar",
        "patents",
        "shopping",
        "places"
      ],
      "default": "web",
      "description": "Result type. Each type adds its own fields to every result."
    },
    "max_results": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10,
      "default": 5,
      "description": "Number of results to return."
    },
    "time_range": {
      "type": "string",
      "enum": [
        "day",
        "week",
        "month",
        "year"
      ],
      "description": "Only results from this period. Only for `web`, `news`, `images` and `videos`."
    },
    "include_domains": {
      "type": "array",
      "maxItems": 10,
      "items": {
        "type": "string",
        "minLength": 1
      },
      "description": "Only return results from these domains. Only for `web`, `news`, `images` and `videos`."
    },
    "exclude_domains": {
      "type": "array",
      "maxItems": 10,
      "items": {
        "type": "string",
        "minLength": 1
      },
      "description": "Leave out results from these domains. Only for `web`, `news`, `images` and `videos`."
    },
    "country": {
      "type": "string",
      "pattern": "^[a-z]{2}$",
      "description": "ISO 3166-1 alpha-2 country code in lowercase, such as `us` or `cn`. With `country` and `language` both left out, a query written in Chinese, Japanese or Korean searches in that language and region."
    },
    "language": {
      "type": "string",
      "pattern": "^[a-z]{2}$",
      "description": "Two-letter language code, such as `en` or `zh`."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/beatapi-web-search-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.