Skip to main content

Endpoint

POST /generate_brands Uses web search to research current market trends and consumer preferences for brands in Portugal.

Request

category
string
required
Product category to find brands for (e.g., “smartphones”, “laptops”, “shoes”)
language
string
default:"PT-PT"
Language code for the request
loopos_core_context
string
Business context for the AI agent
session_extra_data
object
Additional session metadata

Response

brands
array
required
List of 5 to 15 most common brands for the given product category in Portugal
category
string
required
The product category that was analyzed
reasoning
string
Explanation of the brand selection process
references
array
List of reference sources used
market_notes
string
Additional market insights

Example Request

{
  "language": "PT-PT",
  "category": "smartphones",
  "loopos_core_context": "Circular economy marketplace"
}

Example Response

{
  "brands": ["Samsung", "Apple", "Xiaomi", "Huawei", "OnePlus"],
  "category": "smartphones",
  "reasoning": "Based on web search results...",
  "references": ["https://example.com/market-research"],
  "market_notes": "Portuguese consumers show strong preference..."
}