Apinoa Docs

Search

Get one Sogou results page, with every block in page order.

View raw .mdx
GET | POST /v1/sogou/search

Send parameters as a query string with GET, or as a JSON body with POST. Both are equivalent.

Request

curl -G "https://gateway.apinoa.com/v1/sogou/search" \
  --data-urlencode "q=人工智能" \
  -H "x-api-key: $APINOA_API_KEY"

Parameters

ParameterTypeRequiredNotes
countryenumThe market, as an ISO 3166 country code. CN
cursorstringThe previous page's cursor. Pass it alone for the next page.
deviceenumThe page each tab is served as, and the only value it takes: mobile for web and news, desktop for images and videos. desktop mobile
limitinteger 1–100Results wanted (default one page: 7-10 on web, 10 news, 48 images; at most 100). More than one page is charged per page.
qstringThe query, search operators included.
timeRangeenumOnly results from this past period. hour day week month year
typeenumWhat to search: web results (default), news, images or videos. web news images videos

The same parameters, and every response type, are in the OpenAPI document.

Response

Returns ResultsPage in data. A real response, shortened: arrays keep their first entries and long text is cut.

{
  "success": true,
  "data": {
    "engine": "sogou",
    "query": "人工智能",
    "type": "web",
    "outcome": "results",
    "country": "CN",
    "device": "mobile",
    "totalResults": 100000000,
    "page": 1,
    "items": [
      {
        "type": "ad",
        "block": "top",
        "url": "https://aistudy.baidu.com/site/wjzsorv8/b361addc-ae0f-4175-9c6c-5549fbbe4be4?q=%E7%BD%91%E…",
        "title": "免费ai大模型有哪些_零成本工具清单,按场景分类查",
        "snippet": "费用与使用门槛提前列明,官网入口可核对,选择前多对比少走弯路更安心",
        "advertiser": "百度知了爱学",
        "displayUrl": "aistudy.baidu.com",
        "ext": {
          "imageLabels": ["测试"],
          "logo": "https://pgdt.gtimg.cn/141/20204/snscosdownload/SZ/reserved/6ad0da310005e2c92977328b19fd011…",
          "button": "查看详情",
          "tags": ["官方"],
          "keywords": ["人工智能ai大模型"],
          "interest": "最近11小时前有人关注此内容",
          "interestCount": 510,
          "sublinks": [{"title": "人工智能制造"}],
          "testimonials": ["服务很周到,让我有更多时间享受生活!"]
        },
        "rank": 1,
        "thumbnail": "https://wxsnsencsvp.wxs.qq.com/141/20204/snscosdownload/SZ/reserved/6xykWLEnztKKZvntY76xvN…"
      },
      {
        "type": "ad",
        "block": "top",
        "url": "https://aistudy.baidu.com/site/wjzsorv8/b361addc-ae0f-4175-9c6c-5549fbbe4be4?q=%E7%B3%BB%E…",
        "title": "人工智能",
        "snippet": "人工智能",
        "advertiser": "百度知了爱学",
        "displayUrl": "aistudy.baidu.com",
        "ext": {
          "imageLabels": ["人工智能,数学"],
          "logo": "https://pgdt.gtimg.cn/141/20204/snscosdownload/SZ/reserved/6ad0da310005e2c92977328b19fd011…",
          "button": "查看详情",
          "tags": ["官方"],
          "keywords": ["人工智能ai系统"],
          "interest": "最近11小时前有人关注此内容",
          "interestCount": 248,
          "testimonials": ["每一次服务都让我感觉物超所值!"],
          "questions": ["AI人工智能软件如何选购?"]
        },
        "rank": 2,
        "thumbnail": "https://wxsnsencsvp.wxs.qq.com/141/20204/snscosdownload/SH/reserved/6xykWLEnztI4eFfyQP9ecv…"
      },
      {
        "type": "knowledgePanel",
        "title": "人工智能 对比",
        "subtitle": "本科 工学学士 四年",
        "facts": [{"label": "开设课程", "value": "高等数学 、 线性代数 、概率和数理统计、 认知心理学 、认知机器人、一门计算机语言(Java/C++/Python 之类)和算法。"}],
        "images": ["https://dlweb.sogoucdn.com/shicivideo/31ecb9d2643db678bf436c586e6a535c1651718648.jpg"],
        "ext": {
          "sections": [
            {
              "title": "开设院校",
              "url": "https://m.sogou.com/openapi/h5/gaokao/major/school?from=vr_zhuanye&major=%E4%BA%BA%E5%B7%A…"
            }
          ],
          "moreUrl": "https://m.sogou.com/openapi/h5/gaokao/major/related?from=vr_zhuanye&major=%E4%BA%BA%E5%B7%…"
        },
        "rank": 4
      },
      {
        "type": "relatedSearches",
        "queries": ["人工智能ai在线观看完整版"],
        "ext": {"placement": "middle"},
        "rank": 5,
        "title": "大家还在搜"
      }
    ],
    "cursor": "yJjoAIqJfHYhsL0toVa2iOz_e0XBPQzb5lV4UBcINkLysJnJGJlz_I2yQ1Z-6K0-c5FcCb0cXSlQPANCA_ipAPUyuy…",
    "fetchedAt": "2026-10-30T00:57:54.651Z"
  }
}

Errors

StatusCodeMeaning
400INVALID_CURSORThe cursor is not one this operation returned. Start again without it.
400INVALID_PARAMSA parameter is missing, unknown or out of range, or the engine does not take it. The message names it.
401UNAUTHORIZEDThe x-api-key header is missing, or the key is revoked or unknown.
402INSUFFICIENT_BALANCEThe balance does not cover this call. Top up in the dashboard.
429MARKETPLACE_SATURATEDToo many concurrent calls. Retry after the Retry-After seconds.
502UPSTREAM_ERRORThe engine answered with something unusable. Retry with backoff.
503SERVICE_UNAVAILABLEA temporary failure. Retry with backoff.

Every code is listed in Errors. Failed calls are not billed.

Pricing

Price $0.0012 per call, plus $0.0012 for each extra call it makes — at most 9 more, so $0.012 in total. List price; the rate steps down above 1,000 calls a day.

Notes

  • device takes only the page each tab is served as: mobile for web and news, desktop for images and videos.
  • limit above one page reads further pages, one unit each.

On this page