Skip to main content

Search

DuckDuckGo web search, returns top N results

$0.01
per call
POST /search Agent Platform

Try It

This tool requires an API key. Get one from $1 to try it.

curl Example

curl -X POST https://api.aipaygen.com/search \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "query": "string",
  "n": "int (default 5, max 10)"
}'

Python Example

import requests

resp = requests.post(
    "https://api.aipaygen.com/search",
    headers={
        "Authorization": "Bearer YOUR_API_KEY",
        "Content-Type": "application/json",
    },
    json={
    "query": "string",
    "n": "int (default 5, max 10)"
}
)
print(resp.json())

Response Format

{
  "query": "string",
  "results": [
    {
      "title": "string",
      "url": "string",
      "snippet": "string"
    }
  ]
}

Related Tools

Research
$0.15
Summarize
$0.01
Extract
$0.02

Get API Key — From $1

$0.25 trial credits free. ~40 AI calls. No subscription.

Get Started

Or install via MCP: pip install aipaygen-mcp