Skip to main content
POST
/
broad-search
curl --request POST \
  --url https://api.octen.ai/broad-search \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "model": "anthropic/claude-sonnet-4.6",
  "messages": [
    {
      "role": "user",
      "content": "Latest trends and major players in the global AI chip market in 2026"
    }
  ],
  "max_queries": 5,
  "stream": false,
  "web_search_options": {
    "count": 10,
    "highlight": {
      "enable": true,
      "max_tokens": 300
    },
    "full_content": {
      "enable": true,
      "max_tokens": 2048
    }
  }
}
'
{
  "request_id": "20260403120000001ABCDE12345",
  "object": "chat.completion",
  "created": 1775361600,
  "model": "anthropic/claude-sonnet-4.6",
  "choices": [
    {
      "index": 0,
      "finish_reason": "stop",
      "message": {
        "role": "assistant",
        "content": "## Global AI Chip Market in 2026: Latest Trends & Major Players\n\n**The AI chip market was valued at approximately $102.9 billion in 2025, and is projected to grow at a 29.4% CAGR to $1.35 trillion by 2035.** NVIDIA continues to dominate with over 80% data center market share, but the custom ASIC chip wave is accelerating challenges to its position.[^1][^6]\n\n### Major Players Overview\n\n| Company | Core Strength | Key 2026 Developments |\n|---|---|---|\n| **NVIDIA** | Data center GPU, >80% market share | Blackwell/Rubin roadmap, $1T revenue target |\n| **Broadcom** | Custom ASIC chips | Expected to capture 60% of custom AI chip market by 2027 |\n| **AMD** | GPU alternative | MI450 chip volume ramp in H2, OpenAI/Meta large orders |\n| **Intel** | CPU + foundry | Gaudi 3 launch, Xeon 6 selected for Nvidia DGX systems |\n| **Google** | In-house TPU (Ironwood) | Surging HBM demand |\n| **Amazon AWS** | Trainium series | Anthropic training Claude on over 1M Trainium2 chips |"
      }
    }
  ],
  "queries": [
    "2026 global AI chip market trends",
    "AI chip market share 2026",
    "top AI chip manufacturers 2026",
    "NVIDIA AI chip dominance 2026",
    "AMD AI chip strategy 2026"
  ],
  "search_results": [
    {
      "query": "2026 global AI chip market trends",
      "results": [
        {
          "title": "AI Chip Market Size to Exceed USD 1354.35 Billion by 2035",
          "url": "http://globenewswire.com/news-release/2026/04/01/...",
          "highlight": "According to the SNS Insider, The AI Chip Market Size was valued at USD 102.89 Billion in 2025 and is expected to reach USD 1354.35 Billion by 2035...",
          "full_content": "",
          "authors": "SNS Insider pvt ltd",
          "time_published": "2026-04-01T07:30:00Z",
          "time_last_crawled": "2026-04-02T03:18:46Z"
        }
      ],
      "latency": 69
    },
    {
      "query": "AI chip market share 2026",
      "results": [
        {
          "title": "Another result title...",
          "url": "https://example.com/...",
          "highlight": "...",
          "full_content": "",
          "authors": "...",
          "time_published": "2026-03-28T00:00:00Z",
          "time_last_crawled": "2026-03-29T12:00:00Z"
        }
      ],
      "latency": 72
    }
  ],
  "meta": {
    "usage": {
      "num_search_queries": 20,
      "prompt_tokens": 35351,
      "completion_tokens": 942,
      "total_tokens": 36293
    },
    "latency": 24048
  }
}

Authorizations

x-api-key
string
header
required

API key used for request authentication. Obtain an API key before using the API. Note: A payment method is required to use the API.

Body

application/json

Request body for the Broad Search API.

messages
object[]
required

A list of messages comprising the conversation so far. User and assistant messages in chronological order for multi-turn conversations.

A single message in the conversation. Discriminated by role.

model
enum<string>
default:anthropic/claude-sonnet-4.6

The model to use for query decomposition and response synthesis.

Available options:
anthropic/claude-sonnet-4.6,
anthropic/claude-opus-4.6,
anthropic/claude-haiku-4.5,
google/gemini-3-flash-preview,
google/gemini-3.1-pro-preview,
google/gemini-3.1-flash-lite-preview,
openai/gpt-5.4,
openai/gpt-oss-120b,
moonshotai/kimi-k2.5,
minimax/minimax-m2.5
mode
enum<string>
default:full

Controls the execution depth. queries_only: only decompose the message into sub-queries without performing searches; queries_and_search: decompose into sub-queries and return search results without LLM synthesis; full: decompose, search, and synthesize a final response using the LLM.

Available options:
queries_only,
queries_and_search,
full
max_queries
integer
default:30

Maximum number of sub-queries to generate.

Required range: 1 <= x <= 30
web_search_options
object

Search-related options. Shares the same parameters and defaults as the Search API, except highlight.max_tokens defaults to 256 (instead of 512). Queries are automatically generated from the messages.

stream
boolean
default:false

Whether to enable streaming output. When true, returns chat.completion.chunk objects incrementally with types: queries, search_done, content, finish, and usage.

Response

Successful broad search response. When stream=false, returns a single chat.completion object with queries and search_results at the top level. When stream=true, returns a stream of chat.completion.chunk objects with types: queries (generated sub-queries), search_done (search results), content (incremental content), finish (completion signal), and usage (token usage).

A non-streaming Broad Search response. Returned when stream=false.

request_id
string
required

The unique identifier for this request.

object
enum<string>
required

The object type, always chat.completion for non-streaming responses.

Available options:
chat.completion
created
number
required

Unix timestamp (in seconds) of when the completion was created.

model
string
required

The model used for this completion.

choices
object[]
required

A list of completion choices containing the synthesized response.

queries
string[]

The list of sub-queries automatically generated from the user message by the system.

search_results
object[]

Search results grouped by query. Each auto-generated sub-query has a corresponding result group.

meta
object

Metadata for the Broad Search response.

warning
string | null

Warning message, if any.