{
  "x402Version": 2,
  "id": 33382,
  "slug": "33382",
  "resource": "https://search.agent.s.brave.app/res/v1/llm/context",
  "description": "Web search that returns page text ready for an LLM prompt. Picks the passages most relevant to q from the top results and groups them by source URL. Use it to ground an answer in current web content without fetching pages. Size the context with maximum_number_of_tokens and maximum_number_of_urls.",
  "type": "http",
  "serviceName": "Brave Search",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1790784614/bazaar-icons/49aabc4ac5fb7f59.png",
  "resourceType": "AI Inference",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xbd9420A98a7Bd6B89765e5715e169481602D9c3d",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "grounding": {
            "properties": {
              "generic": {
                "items": {
                  "properties": {
                    "snippets": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "title": {
                      "type": "string"
                    },
                    "url": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": "array"
              }
            },
            "type": "object"
          },
          "sources": {
            "properties": {
              "https://brave.com/": {
                "properties": {
                  "hostname": {
                    "type": "string"
                  },
                  "title": {
                    "type": "string"
                  }
                },
                "type": "object"
              }
            },
            "type": "object"
          }
        },
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "maximum_number_of_tokens": 2048,
            "q": "brave browser"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "grounding": {
              "generic": [
                {
                  "snippets": [
                    "The Brave browser is a fast, private and secure web browser for PC, Mac and mobile."
                  ],
                  "title": "The browser that puts you first | Brave",
                  "url": "https://brave.com/"
                }
              ]
            },
            "sources": {
              "https://brave.com/": {
                "hostname": "brave.com",
                "title": "The browser that puts you first | Brave"
              }
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "count": {
                    "default": 20,
                    "maximum": 50,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "country": {
                    "description": "Country code such as US, or ALL",
                    "type": "string"
                  },
                  "freshness": {
                    "description": "pd, pw, pm, py, or a range like 2026-01-01to2026-06-30",
                    "type": "string"
                  },
                  "maximum_number_of_tokens": {
                    "default": 8192,
                    "maximum": 32768,
                    "minimum": 1024,
                    "type": "integer"
                  },
                  "maximum_number_of_urls": {
                    "default": 20,
                    "maximum": 50,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "q": {
                    "description": "Search query",
                    "maxLength": 600,
                    "type": "string"
                  },
                  "search_lang": {
                    "description": "Language code such as en",
                    "type": "string"
                  }
                },
                "required": [
                  "q"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "grounding": {
                    "properties": {
                      "generic": {
                        "items": {
                          "properties": {
                            "snippets": {
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "title": {
                              "type": "string"
                            },
                            "url": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        },
                        "type": "array"
                      }
                    },
                    "type": "object"
                  },
                  "sources": {
                    "properties": {
                      "https://brave.com/": {
                        "properties": {
                          "hostname": {
                            "type": "string"
                          },
                          "title": {
                            "type": "string"
                          }
                        },
                        "type": "object"
                      }
                    },
                    "type": "object"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "mppx": {
      "info": {
        "method": "GET"
      },
      "schema": {
        "type": "object"
      }
    }
  },
  "tags": [
    "search",
    "web",
    "news",
    "images",
    "llm",
    "bazaar",
    "mppx"
  ],
  "sourceHost": "search.agent.s.brave.app",
  "lastUpdated": "2026-10-08T15:31:41.708Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-08T15:31:41.405Z"
  },
  "metadata": {
    "serviceName": "Brave Search",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1790784614/bazaar-icons/49aabc4ac5fb7f59.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "maximum_number_of_tokens": 2048,
              "q": "brave browser"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "grounding": {
                "generic": [
                  {
                    "snippets": [
                      "The Brave browser is a fast, private and secure web browser for PC, Mac and mobile."
                    ],
                    "title": "The browser that puts you first | Brave",
                    "url": "https://brave.com/"
                  }
                ]
              },
              "sources": {
                "https://brave.com/": {
                  "hostname": "brave.com",
                  "title": "The browser that puts you first | Brave"
                }
              }
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "count": {
                      "default": 20,
                      "maximum": 50,
                      "minimum": 1,
                      "type": "integer"
                    },
                    "country": {
                      "description": "Country code such as US, or ALL",
                      "type": "string"
                    },
                    "freshness": {
                      "description": "pd, pw, pm, py, or a range like 2026-01-01to2026-06-30",
                      "type": "string"
                    },
                    "maximum_number_of_tokens": {
                      "default": 8192,
                      "maximum": 32768,
                      "minimum": 1024,
                      "type": "integer"
                    },
                    "maximum_number_of_urls": {
                      "default": 20,
                      "maximum": 50,
                      "minimum": 1,
                      "type": "integer"
                    },
                    "q": {
                      "description": "Search query",
                      "maxLength": 600,
                      "type": "string"
                    },
                    "search_lang": {
                      "description": "Language code such as en",
                      "type": "string"
                    }
                  },
                  "required": [
                    "q"
                  ],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "grounding": {
                      "properties": {
                        "generic": {
                          "items": {
                            "properties": {
                              "snippets": {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "title": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    },
                    "sources": {
                      "properties": {
                        "https://brave.com/": {
                          "properties": {
                            "hostname": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      },
      "mppx": {
        "info": {
          "method": "GET"
        },
        "schema": {
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "search.agent.s.brave.app",
    "manifest_name": "search.agent.s.brave.app",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "grounding": {
        "generic": [
          {
            "snippets": [
              "string"
            ],
            "title": "string",
            "url": "string"
          }
        ]
      },
      "sources": {
        "https://brave.com/": {
          "hostname": "string",
          "title": "string"
        }
      }
    },
    "type": "string"
  }
}