# AIsa Brave LLM Context

> AIsa Brave LLM Context is a paid API for AI agents from AIsa MPP Data APIs at api.aisa.one, paid per call via MPP, $0.005/call, status unknown (last checked 2026-10-18).

Performs a web search via Brave and returns LLM-optimized context snippets with source metadata for a given query

## Facts

- Endpoint: GET https://api.aisa.one/apis/v1/brave/llm/context?utm_source=zero.xyz
- Price: $0.005/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Provider: AIsa MPP Data APIs
- Website: https://aisa.one
- Tags: web-search, financial-data, prediction-markets, weather, travel, data, search
- Canonical page: https://www.zero.xyz/c/aisa-mpp-data-apis-aisa-brave-llm-context-0b7c816e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JrkozqWztO4lKX-xD7i00

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability aisa-mpp-data-apis-aisa-brave-llm-context-0b7c816e
```

Example prompt: Search the web for 'latest Federal Reserve interest rate decision 2024' using up to 10 results from the US and give me the relevant context snippets to answer my question.

## When to prefer this

Choose this endpoint when you need web search results pre-formatted as LLM context with source citations — especially when you want Brave's privacy-focused index with optional freshness filtering, country targeting, and custom re-ranking via Goggles. Prefer it over raw search endpoints when the agent needs to ground its answers in cited web content rather than just a list of URLs.

## Known failure modes

- Empty or missing query parameter returns validation error
- Query exceeding 600 characters or 75 words is rejected
- Unsupported country code causes parameter error
- Count value outside 1-50 range returns validation error
- No results found for highly specific or obscure query returns empty sources
- Freshness filter with invalid date format causes error
- Rate limiting or payment failure returns 402 or 429 error

## How this service works

<!-- aisa-pricing:start -->
Published reference price: $0.005 USD per successful request. Account-specific pricing and final settlement may differ.
<!-- aisa-pricing:end -->

## Output

Returns a structured JSON object with an LLM-ready context string and a sources map keyed by URL, where each source contains the page title, hostname, query-relevant snippet, publication age (full date, ISO date, relative age, ISO 8601 timestamp), favicon URL, thumbnail details, and site name.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "q"
 ],
 "properties": {
  "q": {
   "type": "string",
   "title": "Q",
   "maxLength": 600,
   "minLength": 1,
   "description": "The user’s search query term. Query can not be empty. Maximum of 600 characters and 75 words in the query."
  },
  "count": {
   "type": "integer",
   "title": "Count",
   "default": 20,
   "maximum": 50,
   "minimum": 1,
   "description": "The maximum number of search results considered to select the LLM context data. The default is 20 and the maximum is 50."
  },
  "country": {
   "allOf": [
    {
     "enum": [
      "AR",
      "AU",
      "AT",
      "BE",
      "BR",
      "CA",
      "CL",
      "DK",
      "FI",
      "FR",
      "DE",
      "GR",
      "HK",
      "IN",
      "ID",
      "IT",
      "JP",
      "KR",
      "MY",
      "MX",
      "NL",
      "NZ",
      "NO",
      "CN",
      "PL",
      "PT",
      "PH",
      "RU",
      "SA",
      "ZA",
      "ES",
      "SE",
      "CH",
      "TW",
      "TR",
      "GB",
      "US",
      "ALL"
     ],
     "type": "string",
     "title": "SearchCountry"
    },
    {
     "default": "US"
    }
   ],
   "description": "The search query country, where the results come from. The country string is limited to 2 character country codes of supported countries."
  },
  "goggles": {
   "anyOf": [
    {
     "type": "string"
    },
    {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    {
     "type": "null"
    }
   ],
   "title": "Goggles",
   "description": "Goggles act as a custom re-ranking on top of Brave’s search index. The parameter supports both a url where the Goggle is hosted or the definition of the Goggle. For more details, see the <a href=\"/documentation/resources/goggles\">Goggles documentation</a>. The parameter can be a single Goggle or a list of up to 3 Goggles."
  },
  "freshness": {
   "type": "string",
   "title": "Freshness",
   "default": "",
   "examples": [
    "",
    "pm",
    "2022-04-01to2022-07-30"
   ],
   "description": "<p>Filters search results by page age. The age of a page is determined by the most relevant date reported by the content, such as its published or last modified date. The following values are supported:</p>\n<ul>\n<li><strong>pd</strong> - Pages aged 24 hours or less.</li>\n<li><strong>pw</strong> - Pages aged 7 days or less.</li>\n<li><strong>pm</strong> - Pages aged 31 days or less.</li>\n<li><strong>py</strong> - Pages aged 365 days or less.</li>\n<li><
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "title": "LLMContextAPIResponse",
 "properties": {
  "sources": {
   "type": "object",
   "title": "Sources",
   "default": {},
   "description": "Metadata for all referenced URLs, keyed by URL.",
   "additionalProperties": {
    "type": "object",
    "title": "Source",
    "properties": {
     "age": {
      "anyOf": [
       {
        "type": "array",
        "items": {
         "type": "string"
        }
       },
       {
        "type": "null"
       }
      ],
      "title": "Age",
      "description": "The page’s date rendered four ways, in fixed positions: full date, <code>YYYY-MM-DD</code>, relative age, and an ISO 8601 timestamp. Empty when the page has no known date."
     },
     "title": {
      "type": "string",
      "title": "Title",
      "default": "",
      "description": "The page title."
     },
     "favicon": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Favicon",
      "description": "URL to the site’s favicon image."
     },
     "snippet": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Snippet",
      "description": "The most query-relevant passage of the source page."
     },
     "hostname": {
      "type": "string",
      "title": "Hostname",
      "default": "",
      "description": "The source hostname."
     },
     "site_name": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "title": "Site Name",
      "description": "The site name (e.g. ‘Wikipedia’)."
     },
     "thumbnail": {
      "anyOf": [
       {
        "type": "object",
        "title": "Thumbnail",
        "required": [
         "src"
        ],
        "properties": {
         "alt": {
          "anyOf": [
           {
            "type": "string"
           },
           {
            "type": "null"
           }
          ],
          "title": "Alt",
          "description": "The alt text for the thumbnail image."
         },
         "src": {
          "type": "string",
          "title": "Src",
          "description": "The served URL of the picture thumbnail."
         },
         "logo": {
          "anyOf": [
           {
            "type": "boolean"
           },
           {
            "type": "null"
           }
          ],
          "title": "Logo",
          "description": "Whether the thumbnai
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aisa-mpp-data-apis-aisa-brave-llm-context-0b7c816e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.aisa.one](https://www.zero.xyz/host/api.aisa.one/llms.txt)
