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

> Every apinoa docs page as markdown: https://apinoa.com/llms.txt (all in one file: https://apinoa.com/llms-full.txt; this API family in one file: https://apinoa.com/docs/serp/llms.txt)

```http
GET | POST /v1/google/search
```

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

## 요청

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

```js tab="JavaScript"
const params = new URLSearchParams({ q: "best running shoes", country: "US" });
const res = await fetch(`https://gateway.apinoa.com/v1/google/search?${params}`, {
  headers: { "x-api-key": process.env.APINOA_API_KEY },
});
const { success, data, error } = await res.json();
```

```python tab="Python"
import os

import requests

res = requests.get(
    "https://gateway.apinoa.com/v1/google/search",
    params={"q": "best running shoes", "country": "US"},
    headers={"x-api-key": os.environ["APINOA_API_KEY"]},
)
body = res.json()
```

## 파라미터

| Parameter | Type | Required | Notes |
|---|---|---|---|
| `country` | enum |  | The market, as an ISO 3166 country code. `US` `GB` `CA` `AU` `DE` `FR` `IT` `AT` `JP` `KR` |
| `cursor` | string |  | The previous page's `cursor`. Pass it alone for the next page. |
| `device` | enum |  | Which page to read: the desktop (default) or the mobile one. `desktop` `mobile` |
| `image` | string |  | An image URL: a reverse-image search instead of `q` (`type=image`). |
| `lang` | string |  | Interface language. |
| `limit` | integer 1–50 |  | Results wanted (default 10, at most 50). More than one page is charged per page. |
| `q` | string |  | The query, search operators included. |
| `safe` | enum |  | Safe search. `on` `off` |
| `timeRange` | enum |  | Only results from this past period. `hour` `day` `week` `month` `year` |
| `type` | enum |  | What to search: web results (default), news, images, videos or `image` for a reverse-image search. `web` `news` `images` `videos` `image` |

The same parameters, and every response type, are in the OpenAPI document: https://apinoa.com/openapi.json

## 응답

`data`에 [`ResultsPage`](/docs/api-reference/serp/response-schema#resultspage)를 돌려줍니다. 실제 응답을 줄인 것입니다. 배열은 앞쪽 항목만 남기고 긴 텍스트는 잘랐습니다.

```json
{
  "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"
  }
}
```

## 에러

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

모든 코드는 [Errors](/docs/errors)에 있습니다. 실패한 호출은 과금되지 않습니다.

## 가격

**Price** $0.0012 per call, plus $0.0012 for each extra call it makes — at most 4 more, so $0.006 in total. [List price](https://apinoa.com/en/pricing); the rate steps down above 1,000 calls a day.

## 참고

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