Brave Web API

The Web API from Brave — 1 operation(s) for web.

Operations 1

GET /web/search Web search #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/brave-browser-web-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

brave-browser-web-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Brave Search Images Web API
  description: The Brave Search API provides programmatic access to Brave's independent search index covering web, news, image, video, suggest, spellcheck, summarizer, and local POI endpoints. Requests authenticate via the X-Subscription-Token header issued through the Brave Search API dashboard.
  version: '1.0'
  contact:
    name: Brave Search API
    url: https://api-dashboard.search.brave.com/app/documentation
servers:
- url: https://api.search.brave.com/res/v1
  description: Production API
security:
- SubscriptionToken: []
tags:
- name: Web
paths:
  /web/search:
    get:
      summary: Web search
      description: Query Brave's web search index.
      operationId: webSearch
      tags:
      - Web
      parameters:
      - name: q
        in: query
        required: true
        schema:
          type: string
        description: Search query
      - name: count
        in: query
        schema:
          type: integer
          default: 20
          maximum: 20
      - name: offset
        in: query
        schema:
          type: integer
          default: 0
          maximum: 9
      - name: country
        in: query
        schema:
          type: string
        description: Two-character country code
      - name: search_lang
        in: query
        schema:
          type: string
        description: ISO 639-1 language code
      - name: ui_lang
        in: query
        schema:
          type: string
      - name: safesearch
        in: query
        schema:
          type: string
          enum:
          - false
          - moderate
          - strict
          default: moderate
      - name: freshness
        in: query
        schema:
          type: string
        description: pd, pw, pm, py or custom range
      - name: extra_snippets
        in: query
        schema:
          type: boolean
      - name: text_decorations
        in: query
        schema:
          type: boolean
      responses:
        '200':
          description: Search results
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebSearchResponse'
components:
  schemas:
    WebSearchResponse:
      type: object
      properties:
        query:
          type: object
          properties:
            original:
              type: string
            more_results_available:
              type: boolean
        web:
          type: object
          properties:
            results:
              type: array
              items:
                type: object
                properties:
                  title:
                    type: string
                  url:
                    type: string
                    format: uri
                  description:
                    type: string
                  age:
                    type: string
                  extra_snippets:
                    type: array
                    items:
                      type: string
        mixed:
          type: object
        infobox:
          type: object
        news:
          type: object
        videos:
          type: object
        type:
          type: string
  securitySchemes:
    SubscriptionToken:
      type: apiKey
      in: header
      name: X-Subscription-Token