Back to APIs

Unified Agent API

Web Search

Web Search

Search the web and get AI-synthesized answers, raw Google SERP results, or both combined, with automatic provider routing.

POST/v1/searchReal-time

Overview

Search the web with SERP, AI synthesis, or both

Credits

SERP: 1, AI: 2, Deep: 3

Providers

SerperDevPerplexity

SDK Method

client.search(...)

Modes

The mode parameter is a preset that configures optimal provider routing for common use cases. You can also set individual parameters directly for fine-grained control.

SERP

1 credit

Raw Google SERP results.

Links, snippets, knowledge graph. Fastest.

AI

2 credits

AI-synthesized answers with citations.

Coherent answer with source citations. 2-4s.

Deep

3 credits

SERP + AI synthesis combined.

Raw sources plus synthesized answer. 3-6s.

Parameters

queryRequired

string

The search query.

num_results

number (default: 10)

Maximum number of organic results (serp and deep modes).

country

string (default: us)

ISO country code of the Google results (serp and deep modes).

freshness

select (default: any)

Only sources from this window, in every mode.

Any time
Past 24 hours
Past week
Past month

Example Response

{
  "success": true,
  "data": {
    "answer": "Anthropic was founded in 2021 by Dario Amodei, Daniela Amodei and other former OpenAI researchers. [1][2]",
    "citations": [
      "https://en.wikipedia.org/wiki/Anthropic",
      "https://www.anthropic.com/company"
    ],
    "organic_results": [
      {
        "url": "https://en.wikipedia.org/wiki/Anthropic",
        "title": "Anthropic - Wikipedia",
        "snippet": "Anthropic, PBC is an American artificial intelligence public benefit corporation headquartered in San Francisco, founded in 2021.",
        "position": 1,
        "displayed_link": "https://en.wikipedia.org › wiki › Anthropic",
        "date": "Nov 20, 2026",
        "sitelinks": [
          {
            "title": "Claude",
            "url": "https://en.wikipedia.org/wiki/Claude_(language_model)"
          }
        ]
      },
      {
        "url": "https://www.anthropic.com/company",
        "title": "Company \\ Anthropic",
        "snippet": "Anthropic is an AI safety and research company that's working to build reliable, interpretable, and steerable AI systems.",
        "position": 2,
        "displayed_link": "https://www.anthropic.com › company"
      },
      {
        "url": "https://www.g2.com/products/claude/reviews",
        "title": "Claude Reviews 2026: Details, Pricing, & Features | G2",
        "snippet": "Claude by Anthropic is an AI assistant for writing, analysis and coding, rated by verified users.",
        "position": 3,
        "displayed_link": "https://www.g2.com › products › claude › reviews",
        "rating": 4.7,
        "rating_count": 120,
        "attributes": {
          "Starting price": "Free"
        }
      }
    ],
    "knowledge_graph": {
      "title": "Anthropic",
      "type": "Artificial intelligence company",
      "website": "https://www.anthropic.com/",
      "imageUrl": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ2DdCwlr9z2KLyixeh0B_h5qOUF0GzqgqEMQQQodI",
      "description": "Anthropic PBC is an American artificial intelligence company founded in 2021.",
      "descriptionSource": "Wikipedia",
      "descriptionLink": "https://en.wikipedia.org/wiki/Anthropic",
      "attributes": {
        "Founded": "2021",
        "Headquarters": "San Francisco, CA"
      }
    },
    "featured_snippet": "Anthropic was founded in 2021 by former members of OpenAI, including siblings Daniela Amodei and Dario Amodei.",
    "people_also_ask": [
      {
        "question": "Who owns Anthropic?",
        "snippet": "Anthropic is a public benefit corporation owned by its founders, employees and investors.",
        "title": "Anthropic - Wikipedia",
        "url": "https://en.wikipedia.org/wiki/Anthropic"
      }
    ],
    "related_searches": [
      "Anthropic founders",
      "Anthropic Claude"
    ],
    "answer_box": {
      "title": "Anthropic / Founded",
      "answer": "2021",
      "snippet": "Anthropic was founded in 2021 by former members of OpenAI.",
      "url": "https://en.wikipedia.org/wiki/Anthropic",
      "date": "Nov 20, 2026"
    },
    "top_stories": [
      {
        "title": "Anthropic releases a new Claude model",
        "url": "https://www.example-news.com/anthropic-claude",
        "source": "Example News",
        "date": "2 hours ago"
      }
    ]
  },
  "metadata": {
    "provider_used": "serperdev,perplexity",
    "providers_tried": [
      "serperdev",
      "perplexity"
    ],
    "mode_used": "deep",
    "response_time_ms": 4281,
    "request_id": "req_48a34515"
  },
  "credits_used": 3
}

Use it without code

Web Search is also a step you can add in Zapier and Make. Connect Suprsonic once with your API key; each step costs the same credits as an API call.

Get Started

Create a Suprsonic API key in your dashboard, then call the endpoint with your key in the Authorization header.

Confirm your email and 25 free credits are added, no card needed. After them, your API calls continue with a free 7-day trial of Pro: a card is needed, and nothing is charged until the trial ends. When you need more, subscribe to a plan: Pro is $29 a month for 2,000 credits, Max $99 for 8,000 and Team $249 for 24,000.

Try Web Search

Test Web Search in the interactive playground. No setup required.

Open Playground