Apinoa Docs

Search

Google 검색 결과 페이지 하나를 가져옵니다. 모든 블록이 페이지 순서대로 옵니다.

원본 .mdx 보기
GET | POST /v1/google/search

파라미터는 GET의 쿼리 문자열로도, POST의 JSON 본문으로도 보낼 수 있습니다. 둘은 같습니다.

요청

curl "https://gateway.apinoa.com/v1/google/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": "google",
    "query": "best running shoes",
    "type": "web",
    "outcome": "results",
    "country": "US",
    "lang": "en",
    "device": "desktop",
    "page": 1,
    "items": [
      {
        "type": "organic",
        "url": "https://believeintherun.com/shoe-reviews/best-road-running-shoes-of-2025/",
        "title": "Best Road Running Shoes of 2025 | Best in Gear Awards",
        "snippet": "Puma is at the top of their game in 2025, New Balance SC Elite v5 $250. Endorphin Elite 2 is the best Saucony…",
        "site": "Believe in the Run",
        "displayUrl": "https://believeintherun.com › shoe-reviews › best-road-...",
        "date": "2025-11-26",
        "position": 1,
        "rank": 1,
        "favicon": "data:image/png;base64,iVBORw0KGgoAAAANSU…"
      },
      {
        "type": "organic",
        "url": "https://www.reddit.com/r/runninglifestyle/comments/1kewifs/what_are_some_good_running_shoes/",
        "title": "What are some good running shoes. : r/runninglifestyle",
        "snippet": "I’m looking for good running shoes for training the one I got for training hurt my calf when running for long…",
        "site": "Reddit · r/runninglifestyle",
        "date": "2025-10-30",
        "ext": {
          "meta": "100+ comments · 1 year ago",
          "answers": "105 answers",
          "topAnswer": "As a lover of running and also a mailman as a full time job, I run and walk a lot. I think ..."
        },
        "position": 2,
        "rank": 2,
        "favicon": "data:image/png;base64,iVBORw0KGgoAAAANSU…"
      },
      {
        "type": "ad",
        "block": "bottom",
        "url": "https://www.vivobarefoot.com/",
        "title": "Run like nature intended | Barefoot Running Shoes",
        "snippet": "Vivobarefoot | Barefoot Running Shoes | Minimalist Footwear. Start your barefoot running journey...",
        "advertiser": "Vivobarefoot",
        "displayUrl": "https://www.vivobarefoot.com › barefoot › running",
        "sitelinks": [
          {
            "url": "https://www.google.com/goto?url=CAEScgHrOzAVfvorgfPQaHxGHETTF2n_EjVLthnHv2LBWiwqWRLFkOn8KVE4ujEDC8dcllVsAnzpYB…",
            "title": "100 Day Trial."
          },
          {
            "url": "https://www.google.com/aclk?sa=L&ai=DChsSEwiws-DexeCXAxVaWEcBHRwMNWsYACICCAIQBBoCcXU&co=1&ase=2&gclid=EAIaIQob…",
            "title": "It's time to run slow"
          }
        ],
        "ext": {"notes": ["1M+ visits in past month"]},
        "rank": 5,
        "favicon": "data:image/png;base64,iVBORw0KGgoAAAANSU…"
      },
      {
        "type": "shopping",
        "title": "Popular products",
        "items": [
          {
            "title": "Men's Running Shoes Under Armour Velociti Distance",
            "price": "$90.28",
            "originalPrice": "$160",
            "merchant": "Under Armour",
            "moreStores": true,
            "rating": 4.9,
            "reviews": "53",
            "badge": "43% OFF",
            "delivery": "Free delivery",
            "thumbnail": "data:image/webp;base64,UklGRhgWAABXRUJQV…",
            "merchantIcon": "data:image/png;base64,iVBORw0KGgoAAAANSU…",
            "ids": {
              "cid": "17500536046254188743",
              "pid": "8929790825032956959",
              "gid": "18243703563634929685",
              "iid": "156849108901779669",
              "oid": "17925735183046230959"
            }
          },
          {
            "title": "Nike Men's Structure 26",
            "price": "$115.99",
            "originalPrice": "$145",
            "merchant": "DICK'S Sporting Goods",
            "moreStores": true,
            "rating": 4.5,
            "reviews": "811",
            "badge": "20% OFF",
            "thumbnail": "data:image/webp;base64,UklGRmgGAABXRUJQV…",
            "merchantIcon": "data:image/png;base64,iVBORw0KGgoAAAANSU…",
            "ids": {
              "cid": "7761143186705950565",
              "pid": "9947796076762022400",
              "gid": "4433750102634774197",
              "iid": "12620312263696104752",
              "oid": "10698345940566205523"
            }
          }
        ],
        "rank": 6
      },
      {
        "type": "relatedSearches",
        "queries": ["Best running shoes 2024", "Best running shoes 2025 men"],
        "rank": 13
      }
    ],
    "cursor": "S8w7EMQm4UtS8e0wFEps0p0dftmlh_7Qty-oISXNcMRP5-4x7b847hfRplS84UdBLtmel3vQ5d1CRIDI9xss64bXrUStYrI1VxX1KatMsAD8or…",
    "fetchedAt": "2026-10-30T01:03:05.291Z"
  }
}

에러

상태코드의미
400INVALID_CURSOR이 오퍼레이션이 돌려준 cursor가 아닙니다. cursor 없이 처음부터 다시 호출하세요.
400INVALID_PARAMS파라미터가 없거나, 알 수 없거나, 범위를 벗어났거나, 이 엔진이 받지 않는 값입니다. 메시지에 이름이 나옵니다.
401UNAUTHORIZEDx-api-key 헤더가 없거나, 폐기되었거나 알 수 없는 키입니다.
402INSUFFICIENT_BALANCE잔액이 이 호출 비용에 모자랍니다. 대시보드에서 충전하세요.
429MARKETPLACE_SATURATED동시 호출이 너무 많습니다. Retry-After 초만큼 기다린 뒤 다시 시도하세요.
502UPSTREAM_ERROR엔진이 쓸 수 없는 응답을 보냈습니다. 간격을 두고 다시 시도하세요.
503SERVICE_UNAVAILABLE일시적인 장애입니다. 간격을 두고 다시 시도하세요.

모든 코드는 Errors에 있습니다. 실패한 호출은 과금되지 않습니다.

가격

가격 호출당 $0.0012, 추가 호출마다 $0.0012 — 최대 4번 더, 합계 최대 $0.006. 정가 기준이며, 하루 1,000회를 넘으면 단가가 내려갑니다.

참고

  • q 대신 image URL과 type=image를 넘기면 이미지로 검색(역방향 이미지 검색)합니다.
  • Google이 AI 개요를 보여 주면 aiOverview 항목으로 오며, AI Answers API와 같은 Answer를 담습니다.
  • limit이 한 페이지보다 크면 다음 페이지들도 읽으며, 페이지마다 1단위입니다.

이 페이지 내용