Volver al catálogo

Brave Search

brave_search

Access Brave's independent search index, grounded AI answers, suggestions, spellcheck, and related search products through one API.

Acciones
17
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (17)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Check Search SpellingBRAVE_SEARCH_CHECK_SPELLINGAcción

Return Brave spelling corrections for a search phrase; an empty result means no correction was suggested and requires the Spellcheck product.

Parámetros de entrada

  • querystringObligatorio

    Search phrase to check for spelling corrections (1-400 characters and at most 50 words).

  • countrystring

    Two-letter country code, or ALL, used to localize corrections.

  • languagestring

    Language code used as a hint for spelling analysis.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Generate Grounded AnswerBRAVE_SEARCH_GENERATE_GROUNDED_ANSWERAcción

Generate one non-streaming web-grounded answer from a single user message using Brave Answers. The connected API key must have the separately activated Answers product.

Parámetros de entrada

  • seedinteger

    OpenAI-compatible seed accepted but currently ignored by Brave.

  • modelstringenum

    Brave Answers model; brave-pro is the higher-capability mode.

    brave-probrave
  • countrystring

    Country code used to localize grounding searches.

  • languagestring

    Language code for the answer and grounding searches.

  • metadataobject

    OpenAI-compatible metadata accepted but currently ignored by Brave.

  • safe_searchstring

    Brave safe-search setting for grounding retrieval.

  • user_messagestringObligatorio

    The single user question or instruction to answer with web grounding.

  • web_search_optionsobject

    Optional context-size and approximate-location search tuning.

  • max_completion_tokensinteger

    Maximum number of tokens Brave may generate in the answer.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Legacy SummaryBRAVE_SEARCH_GET_LEGACY_SUMMARYAcción

Fetch one current poll result for a legacy Brave Summarizer key produced by web search with summary=true. This deprecated API is available only to accounts grandfathered into the discontinued Pro AI plan; new accounts cannot obtain access. Complete and failed are terminal statuses, while any other status should be retried later by calling the action again.

Parámetros de entrada

  • summary_keystringObligatorio

    Key returned by a Brave web search made with summary=true. The connected API key must have the discontinued, grandfathered Pro AI entitlement.

  • inline_referencesboolean

    Include source references inline in the summary token stream.

  • include_entity_infoboolean

    Include entity information associated with a completed summary.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get LLM Context (GET)BRAVE_SEARCH_GET_LLM_CONTEXTAcción

Retrieve token-budgeted web snippets and source metadata for grounding or RAG using URL-friendly parameters.

Parámetros de entrada

  • countinteger

    Search recall input used during context extraction; it is not a strict count of returned grounding entries.

  • querystringObligatorio

    Question or search query whose supporting context should be extracted (1-600 characters and at most 75 words).

  • countrystring

    Two-letter country code, or ALL for worldwide source retrieval.

  • gogglesany

    One Goggles URL or inline definition, or a list of at most 3 definitions used to rerank or filter source retrieval.

  • freshnessstring

    Limit source retrieval by recency (pd, pw, pm, or py) or an inclusive YYYY-MM-DDtoYYYY-MM-DD date range.

  • spellcheckboolean

    Allow Brave to correct the query.

  • safe_searchstringenum

    Adult-content filtering level.

    offmoderatestrict
  • enable_localboolean

    Force local grounding on or off; omit to let Brave infer local recall from location headers.

  • location_citystring

    Caller city used to infer local grounding.

  • search_languagestring

    Language code for source content.

  • location_countrystring

    Caller country code used to infer local grounding.

  • location_latitudenumber

    Caller latitude for local grounding; provide with location_longitude.

  • location_longitudenumber

    Caller longitude for local grounding; provide with location_latitude.

  • location_state_codestring

    Caller state or region code used to infer local grounding.

  • location_state_namestring

    Caller state or region name used to infer local grounding.

  • location_postal_codestring

    Caller postal code used to infer local grounding.

  • context_threshold_modestringenum

    Relevance threshold policy for including context.

    disabledstrictlenientbalanced
  • enable_source_metadataboolean

    Include expanded source metadata in the response.

  • maximum_number_of_urlsinteger

    URL extraction budget; this is not a strict cap on generic grounding entries.

  • maximum_number_of_tokensinteger

    Overall token budget for extracted context.

  • maximum_number_of_snippetsinteger

    Overall snippet extraction budget.

  • maximum_number_of_tokens_per_urlinteger

    Per-source token extraction budget.

  • maximum_number_of_snippets_per_urlinteger

    Per-source snippet extraction budget.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get LLM Context (POST)BRAVE_SEARCH_GET_LLM_CONTEXT_POSTAcción

Retrieve token-budgeted web snippets and source metadata for grounding or RAG with a JSON body, suited to complex requests.

Parámetros de entrada

  • countinteger

    Search recall input used during extraction; not a strict output-entry count.

  • querystringObligatorio

    Question or search query whose supporting context should be extracted; at most 75 words.

  • countrystring

    Two-letter country code, or ALL for worldwide source retrieval.

  • gogglesany

    One Goggles definition, or a list of at most 3, used to rerank or filter source retrieval.

  • freshnessstring

    Limit source retrieval by recency using pd, pw, pm, py, or an inclusive YYYY-MM-DDtoYYYY-MM-DD date range.

  • spellcheckboolean

    Allow Brave to correct the query.

  • safe_searchstringenum

    Adult-content filtering level.

    offmoderatestrict
  • enable_localboolean

    Force local grounding on or off; omit to use Brave's automatic behavior.

  • search_languagestring

    Language code for source content.

  • context_threshold_modestringenum

    Relevance threshold policy for including context.

    disabledstrictlenientbalanced
  • enable_source_metadataboolean

    Include expanded source metadata in the response.

  • maximum_number_of_urlsinteger

    URL extraction budget; not a strict cap on generic grounding entries.

  • maximum_number_of_tokensinteger

    Overall token budget for extracted context.

  • maximum_number_of_snippetsinteger

    Overall snippet extraction budget.

  • maximum_number_of_tokens_per_urlinteger

    Per-source token extraction budget.

  • maximum_number_of_snippets_per_urlinteger

    Per-source snippet extraction budget.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Local DescriptionsBRAVE_SEARCH_GET_LOCAL_DESCRIPTIONSAcción

Fetch AI-generated Markdown descriptions for up to 20 ephemeral POI IDs returned recently by place or web search.

Parámetros de entrada

  • poi_idsstring[]Obligatorio

    Ephemeral POI IDs from Search Places or a web search. IDs remain valid for about 8 hours. Each ID is sent as a repeated ids query parameter.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Local POIsBRAVE_SEARCH_GET_LOCAL_POISAcción

Fetch structured details for up to 20 ephemeral POI IDs returned recently by place or web search. Unknown or expired IDs may return null entries in the results array.

Parámetros de entrada

  • unitsstringenum

    Measurement system for distances and related values.

    imperialmetric
  • poi_idsstring[]Obligatorio

    Ephemeral POI IDs from Search Places or a web search. IDs remain valid for about 8 hours. Each ID is sent as a repeated ids query parameter.

  • ui_languagestring

    Language and region code for response labels.

  • search_languagestring

    Language code for POI content.

  • location_latitudenumber

    Caller latitude for localized distance information; provide with location_longitude.

  • location_longitudenumber

    Caller longitude for localized distance information; provide with location_latitude.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Rich ResultBRAVE_SEARCH_GET_RICH_RESULTAcción

Resolve a fresh callback key from a rich-enabled web search into its real-time vertical result, such as weather, finance, sports, conversions, or definitions.

Parámetros de entrada

  • callback_keystringObligatorio

    Fresh callback key returned by Search Web when enable_rich_callback is true and a rich match exists.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Search SuggestionsBRAVE_SEARCH_GET_SEARCH_SUGGESTIONSAcción

Return typo-tolerant autocomplete suggestions for a partial query, optionally with rich entity metadata; requires the Autosuggest product.

Parámetros de entrada

  • richboolean

    Include entity titles, descriptions, and image URLs when available; requires paid Autosuggest support for rich suggestions.

  • countinteger

    Maximum number of suggestions to return; Brave may return fewer.

  • querystringObligatorio

    Partial or complete query to autocomplete (1-400 characters and at most 50 words).

  • countrystring

    Two-letter country code, or ALL, used to localize suggestions.

  • languagestring

    Language code used as a hint when generating suggestions.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search ImagesBRAVE_SEARCH_SEARCH_IMAGESAcción

Search Brave's image index and return up to 200 image matches in one non-paginated response.

Parámetros de entrada

  • countinteger

    Maximum image results to return; this endpoint has no next page.

  • querystringObligatorio

    Image search query (1-400 characters and at most 50 words).

  • countrystring

    Two-letter country code, or ALL for worldwide results.

  • spellcheckboolean

    Allow Brave to correct the search query.

  • safe_searchstringenum

    Adult-content filtering level.

    offstrict
  • search_languagestring

    Language code for image result context.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search News (GET)BRAVE_SEARCH_SEARCH_NEWS_GETAcción

Search Brave's news index with URL-friendly parameters and return one requested page of current news results.

Parámetros de entrada

  • countinteger

    Maximum news results on this page.

  • querystringObligatorio

    News search query. Brave accepts at most 50 words.

  • offsetinteger

    Zero-based result page number, not an item offset.

  • countrystring

    Two-letter country code used to localize results.

  • gogglesany

    One Goggle URL or inline definition, or a list of up to three, used to rerank or filter results.

  • freshnessstring

    Limit news by recency using pd, pw, pm, py, or an inclusive YYYY-MM-DDtoYYYY-MM-DD date range.

  • operatorsboolean

    Interpret supported Brave search operators in the query.

  • spellcheckboolean

    Allow Brave to correct the search query.

  • safe_searchstringenum

    Adult-content filtering level.

    offmoderatestrict
  • ui_languagestring

    Language and region code for response labels.

  • extra_snippetsboolean

    Include additional snippets when available.

  • search_languagestring

    Language code for news content.

  • include_fetch_metadataboolean

    Include fetch timestamps and related metadata when available.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search News (POST)BRAVE_SEARCH_SEARCH_NEWS_POSTAcción

Search Brave's news index with a JSON body, suited to long queries or complex Goggles, and return one requested result page.

Parámetros de entrada

  • countinteger

    Maximum number of news results on this page; the provider may return fewer.

  • querystringObligatorio

    News search query of at most 400 characters and 50 words; use POST when the complete request may exceed practical URL limits.

  • offsetinteger

    Zero-based result page number, not an item offset.

  • countrystring

    Two-letter supported country code used to localize results, or ALL for worldwide results.

  • gogglesany

    One Goggle URL or inline definition, or a list of at most three, used to rerank or filter results.

  • freshnessstring

    Limit news by recency using pd, pw, pm, py, or an inclusive YYYY-MM-DDtoYYYY-MM-DD date range.

  • operatorsboolean

    Interpret supported Brave search operators in the query.

  • spellcheckboolean

    Allow Brave to correct the search query and search using the corrected form.

  • safe_searchstringenum

    Adult-content filtering level.

    offmoderatestrict
  • ui_languagestring

    Language and region code for response labels.

  • extra_snippetsboolean

    Include up to five additional alternative snippets for each result when available.

  • search_languagestring

    Language code for news content.

  • include_fetch_metadataboolean

    Include provider fetch timestamps and related metadata when available.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search PlacesBRAVE_SEARCH_SEARCH_PLACESAcción

Search Brave's geographic index for POIs and named places. Returns all matching result buckets and ephemeral POI IDs for prompt follow-up with local detail and description tools.

Parámetros de entrada

  • countinteger

    Maximum combined results across all place buckets.

  • querystring

    Place or POI query; omit only to explore general POIs near an anchor.

  • unitsstringenum

    Measurement system for distances and related values.

    imperialmetric
  • countrystring

    Two-letter country code, or ALL, used to localize place results.

  • latitudenumber

    Latitude anchor for the search area; provide with longitude.

  • locationstring

    Named place anchor to use instead of latitude and longitude.

  • longitudenumber

    Longitude anchor for the search area; provide with latitude.

  • spellcheckboolean

    Allow Brave to correct the place query.

  • geolocationstring

    Coordinate string in <latitude>x<longitude> format used for distance calculation, for example 37.7749x-122.4194.

  • safe_searchstringenum

    Adult-content filtering level.

    offmoderatestrict
  • ui_languagestring

    Language and region code for response labels.

  • radius_metersnumber

    Distance bias in meters, not a hard result cutoff.

  • search_languagestring

    Language code for place content.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search Videos (GET)BRAVE_SEARCH_SEARCH_VIDEOS_GETAcción

Search Brave's video index with URL-friendly parameters and return one requested page of video results.

Parámetros de entrada

  • countinteger

    Maximum number of video results on this page; Brave may return fewer.

  • querystringObligatorio

    Video search query of at most 400 characters and 50 words.

  • offsetinteger

    Zero-based result page number, not an item offset.

  • countrystring

    Supported two-letter country code used to localize results, or ALL for worldwide results.

  • freshnessstring

    Limit videos by recency using pd, pw, pm, or py, or by an inclusive YYYY-MM-DDtoYYYY-MM-DD date range.

  • operatorsboolean

    Interpret supported Brave search operators in the query.

  • spellcheckboolean

    Allow Brave to correct the query and search using the corrected form.

  • safe_searchstringenum

    Adult-content filtering level.

    offmoderatestrict
  • ui_languagestring

    Language and region code for response labels.

  • search_languagestring

    Language code for video content.

  • include_fetch_metadataboolean

    Include fetch timestamps and related metadata when available.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search Videos (POST)BRAVE_SEARCH_SEARCH_VIDEOS_POSTAcción

Search Brave's video index with a JSON body, suited to long requests, and return one requested result page.

Parámetros de entrada

  • countinteger

    Maximum number of video results on this page; Brave may return fewer.

  • querystringObligatorio

    Video search query of at most 400 characters and 50 words; use POST when the request may exceed practical URL limits.

  • offsetinteger

    Zero-based result page number, not an item offset.

  • countrystring

    Supported two-letter country code used to localize results, or ALL for worldwide results.

  • freshnessstring

    Limit videos by recency using pd, pw, pm, py, or an inclusive YYYY-MM-DDtoYYYY-MM-DD date range.

  • operatorsboolean

    Interpret supported Brave search operators in the query.

  • spellcheckboolean

    Allow Brave to correct the query and search using the corrected form.

  • safe_searchstringenum

    Adult-content filtering level.

    offmoderatestrict
  • ui_languagestring

    Language and region code for response labels.

  • search_languagestring

    Language code for video content.

  • include_fetch_metadataboolean

    Include provider fetch timestamps and related metadata when available.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search Web (GET)BRAVE_SEARCH_SEARCH_WEB_GETAcción

Search Brave's web index with URL-friendly parameters and return one requested result page plus any matching vertical, local, rich-callback, or legacy-summary metadata.

Parámetros de entrada

  • countinteger

    Maximum number of web results on this page; other vertical counts may differ.

  • querystringObligatorio

    Search query (1-600 characters and at most 75 words); supports Brave search operators when operators is enabled.

  • unitsstringenum

    Measurement system for applicable rich or local results.

    imperialmetric
  • offsetinteger

    Zero-based result page number, not an item offset.

  • countrystring

    Two-letter country code, or ALL for worldwide results.

  • gogglesany

    One Goggles URL or inline definition, or a list of at most 3 definitions.

  • summaryboolean

    Request a legacy Summarizer key. This requires a grandfathered Pro AI entitlement and the key can be passed to the legacy summary action.

  • freshnessstring

    Limit results by recency (pd, pw, pm, or py) or an inclusive date range formatted YYYY-MM-DDtoYYYY-MM-DD.

  • operatorsboolean

    Interpret supported Brave search operators in the query.

  • goggles_idstring

    Deprecated Goggles identifier; prefer goggles.

  • spellcheckboolean

    Allow Brave to correct the search query.

  • user_agentstring

    Optional caller identifier sent to Brave for this request.

  • api_versionstring

    Optional Brave API version header; omit to use the provider default.

  • safe_searchstringenum

    Adult-content filtering level.

    offmoderatestrict
  • ui_languagestring

    Language and region code for response labels.

  • cache_controlstring

    Optional HTTP cache directive for this search request.

  • location_citystring

    Caller city used as a local-search hint.

  • result_filterstring

    Comma-separated subset of discussions, faq, infobox, news, query, summarizer, videos, web, and locations to return.

  • extra_snippetsboolean

    Include additional result snippets when available.

  • search_languagestring

    Language code for result content.

  • location_countrystring

    Caller country code used as a local-search hint.

  • text_decorationsboolean

    Include Brave's text decoration markup in result text.

  • location_latitudenumber

    Approximate caller latitude used to localize results; provide with location_longitude.

  • location_timezonestring

    IANA timezone used to localize time-sensitive results.

  • location_longitudenumber

    Approximate caller longitude used to localize results; provide with location_latitude.

  • location_state_codestring

    Caller state or region code used as a local-search hint.

  • location_state_namestring

    Caller state or region name used as a local-search hint.

  • enable_rich_callbackboolean

    Return a callback key for a matching rich vertical; pass that fresh key promptly to the rich-result action.

  • location_postal_codestring

    Caller postal code used as a local-search hint.

  • include_fetch_metadataboolean

    Include provider fetch timestamps and related metadata when available.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search Web (POST)BRAVE_SEARCH_SEARCH_WEB_POSTAcción

Search Brave's web index with a JSON body, suited to long queries or complex Goggles, and return one requested result page plus matching vertical metadata.

Parámetros de entrada

  • countinteger

    Maximum number of web results on this page; other vertical counts may differ.

  • querystringObligatorio

    Search query (1-600 characters and at most 75 words); use this POST variant when the complete request may exceed practical URL limits.

  • unitsstringenum

    Measurement system for applicable rich or local results.

    imperialmetric
  • offsetinteger

    Zero-based result page number, not an item offset.

  • countrystring

    Two-letter country code, or ALL for worldwide results.

  • gogglesany

    One Goggles URL or inline definition, or a list of at most 3 definitions.

  • summaryboolean

    Request a legacy Summarizer key. This requires a grandfathered Pro AI entitlement and the key can be passed to the legacy summary action.

  • freshnessstring

    Limit results by recency (pd, pw, pm, or py) or an inclusive date range formatted YYYY-MM-DDtoYYYY-MM-DD.

  • operatorsboolean

    Interpret supported Brave search operators in the query.

  • goggles_idstring

    Deprecated Goggles identifier; prefer goggles.

  • spellcheckboolean

    Allow Brave to correct the search query.

  • safe_searchstringenum

    Adult-content filtering level.

    offmoderatestrict
  • ui_languagestring

    Language and region code for response labels.

  • result_filterstring

    Comma-separated subset of discussions, faq, infobox, news, query, summarizer, videos, web, and locations to return.

  • extra_snippetsboolean

    Include additional result snippets when available.

  • search_languagestring

    Language code for result content.

  • text_decorationsboolean

    Include Brave's text decoration markup in result text.

  • enable_rich_callbackboolean

    Return a callback key for a matching rich vertical; pass that fresh key promptly to the rich-result action.

  • include_fetch_metadataboolean

    Include provider fetch timestamps and related metadata when available.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not