Apinoa Docs

Search

获取一页 Bing 搜索结果,所有区块按页面顺序返回。

查看原始 .mdx
GET | POST /v1/bing/search

参数可以用 GET 的查询字符串发送,也可以用 POST 的 JSON 请求体发送,两者等价。

请求

curl "https://gateway.apinoa.com/v1/bing/search?q=best+running+shoes&country=US" \
  -H "x-api-key: $APINOA_API_KEY"

参数

参数类型必填说明
countryenumThe market, as an ISO 3166 country code. US GB CA AU DE FR IT AT JP KR
cursorstringThe previous page's cursor. Pass it alone for the next page.
deviceenumWhich page to read: the desktop (default) or the mobile one. desktop mobile
imagestringAn image URL: a reverse-image search instead of q (type=image).
langstringInterface language.
limitinteger 1–50Results wanted (default 10, at most 50). More than one page is charged per page.
qstringThe query, search operators included.
safeenumSafe search. on off
timeRangeenumOnly results from this past period. hour day week month year
typeenumWhat to search: web results (default), news, images, videos or image for a reverse-image search. web news images videos image

这些参数及所有响应类型也写在OpenAPI 文档中。

响应

在 data 中返回 ResultsPage。 真实响应的节选:数组只保留前几项,长文本已截断。

{
  "success": true,
  "data": {
    "engine": "bing",
    "query": "best running shoes",
    "type": "web",
    "outcome": "results",
    "country": "US",
    "lang": "en",
    "device": "desktop",
    "totalResults": 24200,
    "page": 1,
    "items": [
      {
        "type": "organic",
        "rank": 1,
        "position": 1,
        "url": "https://www.runnersworld.com/gear/a19663621/best-running-shoes/",
        "title": "The 15 Best Running Shoes of 2026, Tested by Runner’s World",
        "snippet": "Find the best running shoes of 2026, including Runner’s World–tested picks from Adidas, Brooks, New Balance, Nike, …",
        "site": "runnersworld.com",
        "displayUrl": "https://www.runnersworld.com › ... › best-running-shoes",
        "date": "2026-10-22"
      },
      {
        "type": "organic",
        "rank": 2,
        "position": 2,
        "url": "https://www.outdoorgearlab.com/topics/shoes-and-boots/best-running-shoes",
        "title": "10 Best Running Shoes of 2026 | Tested & Ranked - GearLab",
        "snippet": "We run more than 50 miles in every pair of shoes we test, putting top models head to head to find the best from Nike, …",
        "site": "outdoorgearlab.com",
        "displayUrl": "https://www.outdoorgearlab.com › ... › best-running-shoes",
        "date": "2026-05-14"
      },
      {
        "type": "organic",
        "rank": 3,
        "position": 3,
        "url": "https://runtothefinish.com/best-running-shoes/",
        "title": "Best Running Shoes Of 2026 - RunToTheFinish",
        "snippet": "The best running shoes right now after thousands of miles of testing from our team. We've got options for every need.",
        "site": "runtothefinish.com",
        "displayUrl": "https://runtothefinish.com › best-running-shoes",
        "date": "2026-08-21"
      },
      {
        "type": "other",
        "rank": 8,
        "kind": "b_msg",
        "text": "Some results have been removed",
        "links": [{"url": "http://go.microsoft.com/fwlink/?LinkID=617350", "title": "Some results have been removed"}]
      },
      {
        "type": "ad",
        "rank": 12,
        "block": "bottom",
        "url": "https://www.fitflop.com/us/en/shop/womens-sneakers-us?&@family=vitamin-ff&gclid=8d013d3d631a1163001657de889041cc&gclsrc=3p.ds&msclkid=8d013d3d631a1163001657de88…",
        "title": "Shop FitFlop ™ Sneakers | Shop Sneakers, Sandals & More",
        "snippet": "Discover the Difference Now. Shop Sneakers at the Official Store. Smart Engineering For Effortless Movement And Seamless Support",
        "advertiser": "FitFlop",
        "displayUrl": "https://www.fitflop.com › us › sneakers",
        "sitelinks": [
          {
            "url": "https://www.fitflop.com/us/en/shop/water-resistant-shoes-us?gclid=3b0ba5d7da621ee2b7a5cf3431e87cbe&gclsrc=3p.ds&msclkid=3b0ba5d7da621ee2b7a5cf3431e87cbe&utm_sou…",
            "title": "Water Resistant Shoes"
          },
          {
            "url": "https://www.fitflop.com/us/en/shop/womens-slippers-us?gclid=63759f35d8631399ca24f5d633e9b66d&gclsrc=3p.ds&msclkid=63759f35d8631399ca24f5d633e9b66d&utm_source=bi…",
            "title": "New Women's Slippers"
          }
        ],
        "ext": {
          "cta": "Shop Now",
          "adLibrary": {
            "advertiser": "FitFlop Ltd",
            "country": "GB",
            "payer": "FitFlop LTD",
            "url": "https://adlibrary.ads.microsoft.com/advertiser/165000085"
          }
        },
        "favicon": "https://th.bing.com/th/id/ODF.hiRn35QxflKhhSBUsJl52w?w=32&h=32&o=6&pid=AdsPlus",
        "rating": 4.5,
        "reviewCount": 65,
        "extensions": [
          {"text": "Styles: Sandals, Flip Flops, Trainers, Shoes, Ballerinas, Boots, High Top, Low Top"},
          {
            "text": "\"These are the best welly boots ever!\" - from consumer review",
            "url": "https://www.trustpilot.com/review/fitflop.com"
          }
        ]
      },
      {
        "type": "relatedSearches",
        "rank": 15,
        "queries": ["best running shoes for men", "best running shoes for women"]
      }
    ],
    "cursor": "kdchOqXs1C4Wf-slNuukPsr7eFzQ9oHz-d-cICT9lOAT31qO2NyNUibsLaeesVkC-QC2E0NokLgOTO7inqDdOpMlUeSZ2kUzIwNp0en7k7hAC9gRJQMJo67_k-XqvN5TaK8L8k7xjzvO1eH3JL2EVaUjUHz6Nmv0…",
    "fetchedAt": "2026-10-30T00:57:44.939Z"
  }
}

错误

状态代码含义
400INVALID_CURSOR该 cursor 不是本操作返回的。请不带它重新开始。
400INVALID_PARAMS参数缺失、未知、超出范围,或该引擎不接受。消息中会指出是哪一个。
401UNAUTHORIZED缺少 x-api-key 请求头,或密钥已吊销或未知。
402INSUFFICIENT_BALANCE余额不足以支付本次调用。请在控制台充值。
429MARKETPLACE_SATURATED并发调用过多。请等待 Retry-After 秒后重试。
502UPSTREAM_ERROR引擎返回了无法使用的内容。请退避后重试。
503SERVICE_UNAVAILABLE临时故障。请退避后重试。

全部错误代码见 Errors。失败的调用不计费。

价格

价格 每次调用 $0.0012,每多一次调用加 $0.0012——最多再加 4 次,合计最多 $0.006。标价;单日调用超过 1,000 次后单价下调。

说明

  • 用 image URL 加 type=image 代替 q,即可以图搜图。
  • limit 超过一页时会继续读取后续页面,每页 1 个单位。

本页内容