Skip to main content
Nimble Search delivers real-time web search powered by Web Search Agents (WSAs) that understand query intent and return structured, agent-ready data. Unlike generic search engines, WSAs navigate websites directly to extract deeper insights and format results for seamless AI integration. Perfect for AI agents, research automation, competitive intelligence, content monitoring, and any application that needs real-time web data with structured outputs.

Quick Start

Example Request

from nimble_python import Nimble

nimble = Nimble(api_key="YOUR-API-KEY")

result = nimble.search(
    query="latest developments in AI agents 2026",
    max_results=5,
    include_answer=True
)

print(f"AI Answer: {result.answer}")
print(f"Found {len(result.results)} results")

Example Response

{
  "total_results": 5,
  "answer": "Recent developments in AI agents include autonomous decision-making capabilities, improved tool use, and better integration with external APIs. Notable advances include multi-agent collaboration frameworks and enhanced reasoning capabilities...",
  "results": [
    {
      "title": "AI Agents: The Next Frontier in 2026",
      "description": "Exploring the latest breakthroughs in autonomous AI agents...",
      "url": "https://example.com/ai-agents-2026",
      "content": "# AI Agents: The Next Frontier\n\nAI agents have evolved significantly...",
      "metadata": {
        "position": 1,
        "entity_type": "OrganicResult",
        "country": "US",
        "locale": "en"
      }
    },
    {
      "title": "Autonomous Agents and Tool Use",
      "description": "How modern AI agents interact with external tools and APIs...",
      "url": "https://example2.com/agent-tools",
      "content": "# Autonomous Agents and Tool Use\n\nThe ability to use tools...",
      "metadata": {
        "position": 2,
        "entity_type": "OrganicResult",
        "country": "US",
        "locale": "en"
      }
    },
    {...}
  ],
  "request_id": "84f08ac1-bb5f-4b6f-8447-2d21cb930416"
}
Choose the right mode\ • Use Fast Mode (deep_search: false) for URL discovery and quick answers with concise, token-efficient results perfect for agentic loops.\ • Use Deep Search (deep_search: true, default) when you need comprehensive full-page content for deeper analysis.

Parameters

API Parameters

For detailed parameter documentation, see the Search API Reference.

Key Features

Extract full content from search results (1 credit + 1 per page). Retrieves complete page content for in-depth analysis, feeding LLMs, or building comprehensive knowledge bases.
from nimble_python import Nimble

nimble = Nimble(api_key="YOUR-API-KEY")

result = nimble.search(
    query="python web scraping tutorial",
    max_results=5,
    deep_search=True,
    output_format="markdown"
)

for item in result.results:
    print(f"Title: {item.title}")
    print(f"URL: {item.url}")
    print(f"Content: {item.content[:200]}...")
    print("---")
Get an AI-generated answer based on search results. Returns an instant summary with inline citations, perfect for Q&A systems, chatbots, and research assistants.
from nimble_python import Nimble

nimble = Nimble(api_key="YOUR-API-KEY")

result = nimble.search(
    query="what are the benefits of TypeScript over JavaScript",
    max_results=10,
    include_answer=True
)

print("AI Answer:")
print(result.answer)

print("\nSources:")
for item in result.results:
    print(f"- {item.title}: {item.url}")
Filter results by recency using time_range or specify exact date ranges. Essential for news monitoring, tracking recent developments, or analyzing historical data within specific timeframes.
from nimble_python import Nimble

nimble = Nimble(api_key="YOUR-API-KEY")

# Filter by time range
result = nimble.search(
    query="AI news",
    max_results=20,
    time_range="week"
)

# Or use specific date range
result = nimble.search(
    query="machine learning advances",
    max_results=15,
    start_date="2026-01-01",
    end_date="2026-01-31"
)

print(result)
Filter results to specific domains or exclude unwanted ones. Focus on trusted sources, exclude noise (social media, ads), or search within curated lists of authoritative sites.
from nimble_python import Nimble

nimble = Nimble(api_key="YOUR-API-KEY")

# Only search within specific domains
result = nimble.search(
    query="python async patterns",
    max_results=10,
    include_domains=["github.com", "stackoverflow.com", "docs.python.org"]
)

# Or exclude specific domains
result = nimble.search(
    query="web scraping tutorial",
    max_results=10,
    exclude_domains=["pinterest.com", "youtube.com"]
)

print(result)
Search for specific document types like PDFs, spreadsheets, or presentations (only works with focus: "general"). Perfect for academic research, finding reports, whitepapers, or structured data files.
from nimble_python import Nimble

nimble = Nimble(api_key="YOUR-API-KEY")

# Search for PDF documents
result = nimble.search(
    query="machine learning research papers",
    max_results=10,
    focus="general",
    content_type=["pdf"]
)

# Search for multiple document types
result = nimble.search(
    query="financial reports 2026",
    max_results=15,
    focus="general",
    content_type=["pdf", "xlsx", "docx"]
)

# Use semantic groups for broader filtering
result = nimble.search(
    query="quarterly earnings",
    max_results=10,
    focus="general",
    content_type=["documents", "spreadsheets"]
)

print(result)
content_type only works with focus: "general". Supported formats: pdf, docx, xlsx, pptx, and semantic groups: documents, spreadsheets, presentations.

Topic Modes

Topic modes route your searches to specialized sources optimized for different use cases. Each mode uses dedicated Web Search Agents to retrieve the most relevant results.

Available Pre-defined Modes

Pre-defined focus modes automatically route your search to specialized Nimble Web Search Agents (WSA) based on your query type. Simply specify the mode that matches your use case.
Topic ModeBest For
general (default)General information, broad focuss, web pages
newsCurrent events, breaking stories, journalism
codingCode examples, debugging, API documentation
academicScientific research, peer-reviewed studies
shoppingProduct comparison, pricing, merchant reviews
socialSocial content, influencers, trending focuss
geoAI-generated answers, synthetic insights
locationPlaces, businesses, geographic information
Compare products across e-commerce platforms:
from nimble_python import Nimble

nimble = Nimble(api_key="YOUR-API-KEY")

result = nimble.search(
    query="wireless noise canceling headphones",
    focus="shopping",
    max_results=20,
    max_subagents=5  # Search more platforms in parallel
)

print(result)

Custom Focus Mode

For advanced use cases, you can explicitly specify which search agents to use by passing an array of subagent names to the focus parameter. This gives you full control over data sources and enables mixing agents from different focus modes. Example:
{
  "query": "best wireless headphones",
  "focus": ["amazon_serp", "walmart_serp", "reddit_discover_posts"],
  "max_results": 10
}

Available Web Search Agents (WSA)

View the complete list of Web Search Agents you can use in custom focus modes.

Use cases

Research & Data Collection

Gather comprehensive information on any focus from multiple sources automatically

AI Agent Tasks

Get quick web answers with optional LLM-generated summaries for your applications

Content Monitoring

Track mentions, news, or updates about specific focuss, brands, or keywords

Competitive Intelligence

Monitor what’s being said about competitors or track industry trends

Search vs other tools

NeedUse
Search web + extract content from resultsSearch
Domain-specific agentsPublic Agent - maintained by Nimble
Data from sources not in the galleryCustom Agent - create with natural language
Data from specific URLsExtract
URLs with context for AI planningMap
Data from entire websiteCrawl

Next steps