> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# DuckDuckGo search

> DuckDuckGo search

## 请求规范

* **方法与路径:** POST /apis/v1/serpapi/duck-duck-go-search
* **可用状态:** enabled
* **请求 URL 模板:** `https://api.aisa.one/apis/v1/serpapi/duck-duck-go-search`

[完整 OpenAPI 定义](https://aisa.one/docs/openapi-public/zh/serpapi.json)

有效请求声明（包括认证和引用的 schema）：

```json theme={null}
{
  "operationId": "serpapi.duck-duck-go-search",
  "method": "POST",
  "path": "/apis/v1/serpapi/duck-duck-go-search",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "properties": {
            "query": {
              "description": "Search term or phrase for the DuckDuckGo search.",
              "examples": [
                "Python programming"
              ],
              "type": "string"
            }
          },
          "required": [
            "query"
          ],
          "type": "object"
        }
      }
    },
    "required": true
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## 费用与请求规则

按实际用量收费。 默认请求预估费用：\$0.0253 USD。 最终费用以实际用量为准。 账户适用价格可能不同；支持报价的接口可按实际请求获取报价。


## OpenAPI

````yaml openapi-public/zh/serpapi.json POST /apis/v1/serpapi/duck-duck-go-search
openapi: 3.1.0
info:
  description: ''
  title: SerpApi
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    serpapi:
      description: ''
      title: SerpApi
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: eb56424d3cff1061a5c8fba3ff7cdab4096c4a954e07faec829099cfa378c095
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
        seed_month: 2026-10
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/serpapi/amazon-product
    - /apis/v1/serpapi/amazon-search
    - /apis/v1/serpapi/app-store-search-apps
    - /apis/v1/serpapi/baidu-news
    - /apis/v1/serpapi/baidu-search
    - /apis/v1/serpapi/bing-copilot
    - /apis/v1/serpapi/bing-images
    - /apis/v1/serpapi/bing-maps
    - /apis/v1/serpapi/bing-news
    - /apis/v1/serpapi/bing-search
    - /apis/v1/serpapi/bing-shopping
    - /apis/v1/serpapi/bing-videos
    - /apis/v1/serpapi/brave-ai-mode
    - /apis/v1/serpapi/duck-duck-go-light-search
    - /apis/v1/serpapi/duck-duck-go-maps
    - /apis/v1/serpapi/duck-duck-go-search
    - /apis/v1/serpapi/duckduckgo-light
    - /apis/v1/serpapi/duckduckgo-maps
    - /apis/v1/serpapi/duckduckgo-news
    - /apis/v1/serpapi/duckduckgo-search
    - /apis/v1/serpapi/ebay-product
    - /apis/v1/serpapi/ebay-search
    - /apis/v1/serpapi/event-search
    - /apis/v1/serpapi/facebook-profile
    - /apis/v1/serpapi/finance-search
    - /apis/v1/serpapi/get-facebook-profile
    - /apis/v1/serpapi/get-google-about-this-result
    - /apis/v1/serpapi/get-google-hotels-autocomplete-suggestions
    - /apis/v1/serpapi/get-google-images-related-content
    - /apis/v1/serpapi/get-google-patent-details
    - /apis/v1/serpapi/google-ads
    - /apis/v1/serpapi/google-ads-transparency
    - /apis/v1/serpapi/google-ai-mode
    - /apis/v1/serpapi/google-ai-overview
    - /apis/v1/serpapi/google-events
    - /apis/v1/serpapi/google-finance
    - /apis/v1/serpapi/google-flights
    - /apis/v1/serpapi/google-forums-search
    - /apis/v1/serpapi/google-hotels
    - /apis/v1/serpapi/google-images
    - /apis/v1/serpapi/google-jobs
    - /apis/v1/serpapi/google-jobs-search
    - /apis/v1/serpapi/google-keywords-ideas
    - /apis/v1/serpapi/google-lens
    - /apis/v1/serpapi/google-lens-search
    - /apis/v1/serpapi/google-light
    - /apis/v1/serpapi/google-light-search
    - /apis/v1/serpapi/google-local
    - /apis/v1/serpapi/google-maps
    - /apis/v1/serpapi/google-maps-search
    - /apis/v1/serpapi/google-news
    - /apis/v1/serpapi/google-patents
    - /apis/v1/serpapi/google-play-product
    - /apis/v1/serpapi/google-play-search-apps
    - /apis/v1/serpapi/google-scholar
    - /apis/v1/serpapi/google-scholar-author
    - /apis/v1/serpapi/google-scholar-cite
    - /apis/v1/serpapi/google-serp-organic
    - /apis/v1/serpapi/google-shopping
    - /apis/v1/serpapi/google-trends
    - /apis/v1/serpapi/google-videos
    - /apis/v1/serpapi/google-videos-light
    - /apis/v1/serpapi/home-depot-search
    - /apis/v1/serpapi/hotel-search
    - /apis/v1/serpapi/image-search
    - /apis/v1/serpapi/instagram-profile
    - /apis/v1/serpapi/naver-ai-overview
    - /apis/v1/serpapi/naver-search
    - /apis/v1/serpapi/news-search
    - /apis/v1/serpapi/open-table-reviews
    - /apis/v1/serpapi/play-search
    - /apis/v1/serpapi/scholar-search
    - /apis/v1/serpapi/search
    - /apis/v1/serpapi/search-apple-app-store
    - /apis/v1/serpapi/search-google-images-light
    - /apis/v1/serpapi/search-google-local-services
    - /apis/v1/serpapi/search-public-google-ads
    - /apis/v1/serpapi/search-yelp
    - /apis/v1/serpapi/shopping-search
    - /apis/v1/serpapi/trends-search
    - /apis/v1/serpapi/tripadvisor-search
    - /apis/v1/serpapi/walmart-product
    - /apis/v1/serpapi/walmart-search
    - /apis/v1/serpapi/yahoo-images
    - /apis/v1/serpapi/yahoo-search
    - /apis/v1/serpapi/yahoo-videos
    - /apis/v1/serpapi/yandex-images
    - /apis/v1/serpapi/yandex-images-search
    - /apis/v1/serpapi/yandex-search
    - /apis/v1/serpapi/yandex-videos
    - /apis/v1/serpapi/yelp-search
    - /apis/v1/serpapi/you-tube-search
    - /apis/v1/serpapi/youtube-search-videos
  x-aisa-document:
    composer_version: '31'
    facts_hash: eb56424d3cff1061a5c8fba3ff7cdab4096c4a954e07faec829099cfa378c095
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
    seed_month: 2026-10
    public_projection:
      version: '4'
      source_document_hash: sha256:9d0b0f1a8d800fe492caf14ebbec1ba3a12b009f66af229d5d5a646fc90c7db6
    document_hash: sha256:a135b309e9f7b52c812b0c64aa08ca45365b54bd9bd54ca0b49c5d0230035612
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: serpapi
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/serpapi/duck-duck-go-search:
    post:
      tags:
        - SerpApi
      summary: DuckDuckGo search
      operationId: serpapi.duck-duck-go-search
      requestBody:
        content:
          application/json:
            schema:
              properties:
                query:
                  description: Search term or phrase for the DuckDuckGo search.
                  examples:
                    - Python programming
                  type: string
              required:
                - query
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Response576A0Ea506F3_connect_SERPAPI_DUCK_DUCK_GO_SEARCH__output__public_data
          description: Tool result data
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
      x-codeSamples:
        - label: Reference example
          lang: text
          source: >-
            # Fixed reference example. Playground inputs do not update this
            sample.

            curl --request POST \
              --url https://api.aisa.one/apis/v1/serpapi/duck-duck-go-search \
              --header 'Authorization: Bearer <token>' \
              --header 'Content-Type: application/json' \
              --data '{
              "query": "Python programming"
            }'
components:
  schemas:
    Response576A0Ea506F3_connect_SERPAPI_DUCK_DUCK_GO_SEARCH__output__public_data:
      $ref: >-
        #/components/schemas/Response576A0Ea506F3_connect_SERPAPI_DUCK_DUCK_GO_SEARCH__output__43f25bdbf719038d
    Response576A0Ea506F3_connect_SERPAPI_DUCK_DUCK_GO_SEARCH__output__43f25bdbf719038d:
      properties:
        ads:
          items:
            $ref: >-
              #/components/schemas/Response576A0Ea506F3_connect_SERPAPI_DUCK_DUCK_GO_SEARCH__output__f0443636a5a3266a
          type: array
        error:
          type: string
        inline_images:
          items:
            $ref: >-
              #/components/schemas/Response576A0Ea506F3_connect_SERPAPI_DUCK_DUCK_GO_SEARCH__output__8d9b51a764ee2e83
          type: array
        inline_videos:
          items:
            $ref: >-
              #/components/schemas/Response576A0Ea506F3_connect_SERPAPI_DUCK_DUCK_GO_SEARCH__output__3a7a701649f8bf84
          type: array
        knowledge_graph:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_SERPAPI_DUCK_DUCK_GO_SEARCH__output__c3c5e5d92fa22cb4
        news_results:
          items:
            $ref: >-
              #/components/schemas/Response576A0Ea506F3_connect_SERPAPI_DUCK_DUCK_GO_SEARCH__output__5b461eaa06fa0d02
          type: array
        organic_results:
          items:
            $ref: >-
              #/components/schemas/Response576A0Ea506F3_connect_SERPAPI_DUCK_DUCK_GO_SEARCH__output__48485bb110775bb2
          type: array
        related_searches:
          items:
            $ref: >-
              #/components/schemas/Response576A0Ea506F3_connect_SERPAPI_DUCK_DUCK_GO_SEARCH__output__ea46a0e6d3465413
          type: array
        search_information:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_SERPAPI_DUCK_DUCK_GO_SEARCH__output__09999d27eb9628c1
        search_metadata:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_SERPAPI_DUCK_DUCK_GO_SEARCH__output__44b3ef276bbe62b1
        search_parameters:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_SERPAPI_DUCK_DUCK_GO_SEARCH__output__65e7d2e048b9704a
        serpapi_pagination:
          $ref: >-
            #/components/schemas/Response576A0Ea506F3_connect_SERPAPI_DUCK_DUCK_GO_SEARCH__output__80ad0ef0b2dd20fb
      required:
        - search_metadata
        - search_parameters
      type: object
    Response576A0Ea506F3_connect_SERPAPI_DUCK_DUCK_GO_SEARCH__output__f0443636a5a3266a:
      properties:
        link:
          type: string
        position:
          type: integer
        sitelinks:
          items:
            $ref: >-
              #/components/schemas/Response576A0Ea506F3_connect_SERPAPI_DUCK_DUCK_GO_SEARCH__output__73011510a484c0f9
          type: array
        snippet:
          type: string
        source:
          type: string
        title:
          type: string
      required:
        - position
        - title
        - link
        - source
      type: object
    Response576A0Ea506F3_connect_SERPAPI_DUCK_DUCK_GO_SEARCH__output__8d9b51a764ee2e83:
      properties:
        image:
          type: string
        link:
          type: string
        position:
          type: integer
        thumbnail:
          type: string
        title:
          type: string
      required:
        - position
        - link
        - thumbnail
        - image
      type: object
    Response576A0Ea506F3_connect_SERPAPI_DUCK_DUCK_GO_SEARCH__output__3a7a701649f8bf84:
      properties:
        date:
          type: string
        duration:
          type: string
        link:
          type: string
        platform:
          type: string
        position:
          type: integer
        thumbnail:
          type: string
        title:
          type: string
        views:
          type: integer
      required:
        - position
        - title
        - link
      type: object
    Response576A0Ea506F3_connect_SERPAPI_DUCK_DUCK_GO_SEARCH__output__c3c5e5d92fa22cb4:
      properties:
        description:
          type: string
        facts:
          additionalProperties: true
          type: object
        profiles:
          items:
            $ref: >-
              #/components/schemas/Response576A0Ea506F3_connect_SERPAPI_DUCK_DUCK_GO_SEARCH__output__662325a5f678cd77
          type: array
        related_topics:
          items:
            $ref: >-
              #/components/schemas/Response576A0Ea506F3_connect_SERPAPI_DUCK_DUCK_GO_SEARCH__output__95ce578935db19e2
          type: array
        thumbnail:
          type: string
        title:
          type: string
        website:
          type: string
      type: object
    Response576A0Ea506F3_connect_SERPAPI_DUCK_DUCK_GO_SEARCH__output__5b461eaa06fa0d02:
      properties:
        date:
          type: string
        link:
          type: string
        position:
          type: integer
        snippet:
          type: string
        source:
          type: string
        thumbnail:
          type: string
        title:
          type: string
      required:
        - position
        - title
        - link
      type: object
    Response576A0Ea506F3_connect_SERPAPI_DUCK_DUCK_GO_SEARCH__output__48485bb110775bb2:
      properties:
        favicon:
          type: string
        link:
          type: string
        position:
          type: integer
        sitelinks:
          items:
            $ref: >-
              #/components/schemas/Response576A0Ea506F3_connect_SERPAPI_DUCK_DUCK_GO_SEARCH__output__73011510a484c0f9
          type: array
        snippet:
          type: string
        title:
          type: string
      required:
        - position
        - title
        - link
      type: object
    Response576A0Ea506F3_connect_SERPAPI_DUCK_DUCK_GO_SEARCH__output__ea46a0e6d3465413:
      properties:
        link:
          type: string
        query:
          type: string
      required:
        - query
        - link
      type: object
    Response576A0Ea506F3_connect_SERPAPI_DUCK_DUCK_GO_SEARCH__output__09999d27eb9628c1:
      properties:
        organic_results_state:
          type: string
      type: object
    Response576A0Ea506F3_connect_SERPAPI_DUCK_DUCK_GO_SEARCH__output__44b3ef276bbe62b1:
      properties:
        created_at:
          type: string
        duckduckgo_url:
          type: string
        id:
          type: string
        json_endpoint:
          type: string
        prettify_html_file:
          type: string
        processed_at:
          type: string
        raw_html_file:
          type: string
        status:
          type: string
        total_time_taken:
          type: number
      required:
        - id
        - status
        - json_endpoint
        - created_at
        - processed_at
        - duckduckgo_url
        - raw_html_file
        - prettify_html_file
      type: object
    Response576A0Ea506F3_connect_SERPAPI_DUCK_DUCK_GO_SEARCH__output__65e7d2e048b9704a:
      properties:
        engine:
          type: string
        kl:
          type: string
        q:
          type: string
      required:
        - engine
        - q
      type: object
    Response576A0Ea506F3_connect_SERPAPI_DUCK_DUCK_GO_SEARCH__output__80ad0ef0b2dd20fb:
      properties:
        next:
          type: string
      type: object
    Response576A0Ea506F3_connect_SERPAPI_DUCK_DUCK_GO_SEARCH__output__73011510a484c0f9:
      properties:
        link:
          type: string
        snippet:
          type: string
        title:
          type: string
      required:
        - title
        - link
      type: object
    Response576A0Ea506F3_connect_SERPAPI_DUCK_DUCK_GO_SEARCH__output__662325a5f678cd77:
      properties:
        link:
          type: string
        name:
          type: string
        thumbnail:
          type: string
      required:
        - name
        - link
      type: object
    Response576A0Ea506F3_connect_SERPAPI_DUCK_DUCK_GO_SEARCH__output__95ce578935db19e2:
      properties:
        link:
          type: string
        query:
          type: string
      required:
        - query
        - link
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.