Letter S Streamline Icon: https://streamlinehq.comserpex
PricingData for AIDocs
Sign InGet Started

Documentation

Quick Start
GoogleBingDuckDuckGoBrave
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.

Back to Documentation

DuckDuckGo Search API

Privacy-focused search engine with instant answers

Supported Categories

web

Parameters

ParameterTypeRequiredDescriptionExample
qstringYesSearch querycoffee shops near me
categorystringNoSearch category (currently only 'web' supported)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.