# Brave Search API Alternative: AI Answers as JSON

**Use case:** 

A Brave Search API alternative, no Brave key: get the AI Mode answer markdown, an ai_mode_present flag, and cited references as JSON. Pay per query.

## Input

```json
{
  "query": "what is quantum computing",
  "country": "us",
  "language": "en"
}
```

## Output

```json
{
  "result_type": {
    "label": "Result Type",
    "format": "string"
  },
  "query": {
    "label": "Query",
    "format": "string"
  },
  "country": {
    "label": "Country Code",
    "format": "string"
  },
  "ai_mode_present": {
    "label": "AI Mode Present",
    "format": "boolean"
  },
  "markdown": {
    "label": "Markdown",
    "format": "string"
  },
  "references": {
    "label": "References",
    "format": "array"
  },
  "note": {
    "label": "Note",
    "format": "string"
  },
  "fetched_at": {
    "label": "Fetched At",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Brave AI Mode API | Privacy-Search Intelligence](https://apify.com/johnvc/brave-ai-mode-api) with a specific input configuration. Visit the [Actor detail page](https://apify.com/johnvc/brave-ai-mode-api) to learn more, explore other use cases, and run it yourself.