Skip to main content

Search

Web search via DuckDuckGo instant answers — returns results with title, URL, snippet.

$0.02
per call
GET /web/search Agent Platform

Try It

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

curl Example

curl "https://api.aipaygen.com/web/search?q=query&n=10" \
  -H "Authorization: Bearer YOUR_API_KEY"

Python Example

import requests

resp = requests.get(
    "https://api.aipaygen.com/web/search",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    params={
    "q": "query",
    "n": 10
}
)
print(resp.json())

Response Format

{
  "result": "<Search output>",
  "_meta": {
    "endpoint": "/web/search",
    "model": "claude-sonnet-4-20250514",
    "cost_usd": 0.02
  }
}

Related Tools

Research
$0.05
Summarize
$0.01
Extract
$0.01

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