Apinoa Docs

Places

Google 지도에서 장소를 찾습니다.

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

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

요청

curl "https://gateway.apinoa.com/v1/google/places?q=coffee&near=Austin,+TX&country=US&limit=5" \
  -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.
langstringInterface language.
limitinteger 1–60Results wanted (default 20, at most 60). More than one page is charged per page.
locationstringSearch as if from this point: lat,lng.
nearstringSearch around this place name, or a lat,lng point.
qstringThe query, search operators included.

같은 파라미터와 모든 응답 타입은 OpenAPI 문서에도 있습니다.

응답

data에 PlacesPage를 돌려줍니다. 실제 응답을 줄인 것입니다. 배열은 앞쪽 항목만 남기고 긴 텍스트는 잘랐습니다.

{
  "success": true,
  "data": {
    "engine": "google",
    "query": "coffee",
    "outcome": "results",
    "type": "maps",
    "near": "Austin, TX",
    "country": "US",
    "lang": "en",
    "places": [
      {
        "id": "0x8644ca6bc309e81b:0x1f1a903bbb66839",
        "name": "Epoch Coffee",
        "url": "https://www.google.com/maps/place/data=!4m2!3m1!1s0x8644ca6bc309e81b:0x1f1a903bbb66839",
        "address": {
          "full": "221 W N Loop Blvd, Austin, TX 78751",
          "street": "221 W N Loop Blvd",
          "city": "Austin",
          "region": "TX",
          "postalCode": "78751",
          "country": "US"
        },
        "coordinates": {"lat": 30.318603699999997, "lng": -97.72454019999999},
        "categories": ["Coffee shop"],
        "rating": 4.5,
        "reviewCount": 2534,
        "phone": "(512) 454-3762",
        "website": "http://www.epochcoffee.com/",
        "hours": [{"day": "Thursday", "hours": "Open 24 hours"}, {"day": "Friday", "hours": "Open 24 hours"}],
        "photos": [
          "https://lh3.googleusercontent.com/grass-cs/AABkmLfAFGuJt7CdI-CWuV7SnfjNA86KhQMnioybPp9RFelnIsLJKhY30zSOUupXC0AsbQN8dJC6Z5Qoju7i9WXbkITWwEEw1E-et0lccw9ovMNFTQ7E8…",
          "https://lh3.googleusercontent.com/grass-cs/AABkmLfAFGuJt7CdI-CWuV7SnfjNA86KhQMnioybPp9RFelnIsLJKhY30zSOUupXC0AsbQN8dJC6Z5Qoju7i9WXbkITWwEEw1E-et0lccw9ovMNFTQ7E8…"
        ],
        "attributes": [
          {"group": "Accessibility", "label": "Wheelchair accessible entrance"},
          {"group": "Accessibility", "label": "Wheelchair accessible parking lot"}
        ],
        "status": "open",
        "description": "Cool, vibrant small-chain cafe featuring nibbles, tea & carefully brewed espresso drinks.",
        "ext": {
          "placeId": "ChIJG-gJw2vKRIYROWi2uwOp8QE",
          "kgmid": "/g/1v76_180",
          "timeZone": "America/Chicago",
          "summary": "Hip coffee shop with light bites",
          "areas": ["Americas"],
          "owner": {
            "name": "Epoch Coffee (Owner)",
            "image": "https://lh5.googleusercontent.com/-WzsTjK0vgDQ/AAAAAAAAAAI/AAAAAAAAAAA/uanMPnqDLak/s44-p-k-no-ns-nd/photo.jpg"
          }
        },
        "photoCount": 838,
        "statusText": "Open 24 hours",
        "neighborhood": "North Loop",
        "reviewsUrl": "https://search.google.com/local/reviews?placeid=ChIJG-gJw2vKRIYROWi2uwOp8QE&q=coffee+near+Austin,+TX&hl=en&gl=US"
      },
      {
        "id": "0x8644b5554461664d:0xbc4ff333ec9ad1ad",
        "name": "Mozart's Coffee Roasters",
        "url": "https://www.google.com/maps/place/data=!4m2!3m1!1s0x8644b5554461664d:0xbc4ff333ec9ad1ad",
        "address": {
          "full": "3825 Lake Austin Blvd, Austin, TX 78703",
          "street": "3825 Lake Austin Blvd",
          "city": "Austin",
          "region": "TX",
          "postalCode": "78703",
          "country": "US"
        },
        "coordinates": {"lat": 30.295469599999997, "lng": -97.78395119999999},
        "categories": ["Coffee shop", "Bakery"],
        "rating": 4.5,
        "reviewCount": 10987,
        "phone": "(512) 477-2900",
        "website": "https://mozartscoffee.com/",
        "hours": [{"day": "Thursday", "hours": "7 AM–12 AM"}, {"day": "Friday", "hours": "7 AM–12 AM"}],
        "photos": [
          "https://lh3.googleusercontent.com/grass-cs/AABkmLf_c6cXdmPiP9ZYH3st9N7FqJbZI4VuqzeQCF5LcTx3ZJ2ByPLryWaZ8lCIIa1MlanBvALs0JRSUE10dd3mcUDaE36C2-rSGXiH-i8Wyhsd9YNQA…",
          "https://lh3.googleusercontent.com/grass-cs/AABkmLf_c6cXdmPiP9ZYH3st9N7FqJbZI4VuqzeQCF5LcTx3ZJ2ByPLryWaZ8lCIIa1MlanBvALs0JRSUE10dd3mcUDaE36C2-rSGXiH-i8Wyhsd9YNQA…"
        ],
        "attributes": [
          {"group": "Accessibility", "label": "Wheelchair accessible entrance"},
          {"group": "Accessibility", "label": "Wheelchair accessible parking lot"}
        ],
        "status": "open",
        "description": "Beans flame-roasted on-site, plus bakery goods, frequent live music & patio seating on Lake Austin.",
        "ext": {
          "placeId": "ChIJTWZhRFW1RIYRrdGa7DPzT7w",
          "kgmid": "/m/020z4hc",
          "timeZone": "America/Chicago",
          "summary": "Lakeside coffee & desserts",
          "areas": ["Americas"],
          "owner": {
            "name": "Mozart's Coffee Roasters (Owner)",
            "image": "https://lh3.googleusercontent.com/-88EjI7tZSV0/AAAAAAAAAAI/AAAAAAAAAAA/3-Wpwoe7iz0/s44-p-k-no-ns-nd/photo.jpg"
          }
        },
        "photoCount": 17015,
        "statusText": "Open · Closes 12 AM",
        "neighborhood": "Westfield",
        "reviewsUrl": "https://search.google.com/local/reviews?placeid=ChIJTWZhRFW1RIYRrdGa7DPzT7w&q=coffee+near+Austin,+TX&hl=en&gl=US"
      }
    ],
    "page": {"index": 1, "size": 20},
    "cursor": "SscpBRWdlu0MeCuvvWfumLp6ZHk-1P8xDBDrsmzZkWl5o3-lDXix1P_XUEvxpkqfyKI7tm1YhQWm7mOtUIJYrk4UBWGPY_uUHD2SxkjATHY3Ocs4DFVcnuMumeNNrTF0vXljq_zWiLqfV50YdIZM_TjGXr7uBsWh…",
    "fetchedAt": "2026-10-30T01:03:09.318Z"
  }
}

에러

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

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

가격

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

참고

  • near로 장소 이름 주변을, location(lat,lng)으로 좌표 주변을 검색합니다.
  • limit이 한 페이지보다 크면 다음 페이지들도 읽으며, 페이지마다 1단위입니다.

이 페이지 내용