Letter S Streamline Icon: https://streamlinehq.comserpex
Pricing
Docs
Sign InGet Started

Documentation

Quick Start
GoogleBingDuckDuckGoBraveYahooYandexAuto Route
Web Scraping
TypeScriptPython
Rate Limits & Cost
Letter S Streamline Icon: https://streamlinehq.comSerpex

The fast, affordable search API for AI & data projects.

Product

  • Playground
  • Dashboard
  • Google search API
  • Bing Search API
  • Brave Search API
  • DuckDuckGo Search API

Legal

  • Terms
  • Privacy
  • Data Processing Agreement
  • GDPR
  • SLA

Resources

  • Status page
  • Blog
  • Docs
  • Support

© 2025 Serper.dev. All rights reserved.

Building the future of AI data

Back to Documentation

DuckDuckGo Search API

Privacy-focused search engine with instant answers

Supported Categories

webnews

Parameters

ParameterTypeRequiredDescriptionExample
qstringYesSearch querycoffee shops near me
categorystringNoSearch category ('web' or 'news')web
time_rangestringNoTime range filter (all, day, week, month, year)day

Usage Examples

import { SerpexClient } from 'serpex';

// Initialize the client with your API key
const client = new SerpexClient('your-api-key-here');

// Search with DuckDuckGo
const duckduckgoResults = await client.search({
  q: 'coffee shops near me',
  engine: 'duckduckgo',
  category: 'web',
  time_range: 'day'
});

console.log(duckduckgoResults.results[0].title);

Coming Soon

Additional categories (images, videos, news) will be supported soon. Currently, only web search is available.