Big Kaiju Creator(2025)v2

Big Kaiju Creator(2025)v2 · GPT-Aktionen

Brave Search API

API for querying Brave's independent search index.

  • GET /web/searchPerform a web search query

    Sends a search query to Brave Search and returns matching web results.

Ursprüngliches API-Schema
{
  "openapi": "3.1.0",
  "info": {
    "title": "Brave Search API",
    "description": "API for querying Brave's independent search index.",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://api.search.brave.com/res/v1",
      "description": "Brave Search API server"
    }
  ],
  "paths": {
    "/web/search": {
      "get": {
        "operationId": "searchWeb",
        "summary": "Perform a web search query",
        "description": "Sends a search query to Brave Search and returns matching web results.",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": true,
            "description": "The search query string.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "count",
            "in": "query",
            "required": false,
            "description": "Number of search results to return (max 30).",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "description": "Offset for pagination.",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "safesearch",
            "in": "query",
            "required": false,
            "description": "Enable safe search filter.",
            "schema": {
              "type": "string",
              "enum": [
                "strict",
                "moderate",
                "off"
              ]
            }
          },
          {
            "name": "spellcheck",
            "in": "query",
            "required": false,
            "description": "Enable spellcheck suggestions (\"true\" or \"false\").",
            "schema": {
              "type": "string",
              "enum": [
                "true",
                "false"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response with search results.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "web": {
                      "type": "object",
                      "properties": {
                        "results": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "title": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              },
                              "description": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "apiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "BSAlx2WFjFxrfeSpwPY1UMTHHkP9FaS"
      }
    },
    "schemas": {}
  }
}