When not set, the API auto-detects intent from the query. You can force a specific intent using common aliases:
Alias
Description
Alias
Description
search
General web search
news
Latest news results
video
Video search
images
Image search
weather
Weather data
calculate
Math computation
wiki
Wikipedia/knowledge
knowledge
Academic knowledge
code
Programming results
recipe
Recipe results
place
Business search
places
Location search
questions
Q&A results
time
Time queries
The API also accepts full intent names (e.g., FallbackSearchIntent, VideoSearchIntent) and resolves matches flexibly through exact match, case-insensitive match, and substring match.
# Force news intentcurl "https://search-api.andisearch.com/api/v1/search?q=AI+startups&intent=news" \ -H "x-api-key: YOUR_API_KEY"
Response format: json or context. The context format returns results as markdown text, suitable for passing to language models.
metadata
string
basic
Metadata level: basic or full. With full, results include contentType and reader data.
extracts
boolean
false
Include longer text extracts from result pages
# Get results as markdown for LLM contextcurl "https://search-api.andisearch.com/api/v1/search?q=machine+learning&format=context" \ -H "x-api-key: YOUR_API_KEY"# Get results with text extractscurl "https://search-api.andisearch.com/api/v1/search?q=machine+learning&extracts=true" \ -H "x-api-key: YOUR_API_KEY"
metadata=full adds latency because it fetches additional data from each result page. Use it only when you need contentType or reader data.
Both support wildcards: *.example.com matches all subdomains. See filtering for details.
# Search only on specific sitescurl "https://search-api.andisearch.com/api/v1/search?q=python+tutorials&includeDomains=docs.python.org,realpython.com" \ -H "x-api-key: YOUR_API_KEY"
Multi-query search accepts a JSON array of up to 5 queries and returns combined results in a single response. URL-encode the JSON array when passing it as a query parameter.