Search Google Maps
litescrape.google.serp.mapsSearch Google Maps with q and type=search to get up to 20 places in local_results, or look up one exact place by place_id, data_cid or data to get place_results
- Price
- $0.00015/success제공업체 원가
- Success rate
- 96.1%Last 30 days · 904,703 calls
- Latency p50
- 6.4 sp95 16 s
- Last verified
- 2026. 9. 29.Verified working
GEThttps://toolswitch.dev/v1/tools/litescrape.google.serp.maps?q=coffee+shops+in+Austin+TX&type=searchPreview- Uses platform quota
- Synchronous response
- Reads public data
파라미터
| 파라미터 | 유형 | 필수 | 설명 | 예시 |
|---|---|---|---|---|
| 쿼리 파라미터 | ||||
m | 숫자 | 선택 | Map radius in meters, from 1 through 15,028,132. Use with location or lat/lon. Mutually exclusive with z. | |
q | 문자열 | 선택 | Search query, such as coffee shops in Austin, TX. Required when type=search. A search needs one of q, place_id, data_cid or data. | coffee shops in Austin, TX |
z | 숫자 | 선택 | Zoom level from 3 through 30. Use with location or lat/lon. Mutually exclusive with m. | |
gl | 문자열 | 선택 | Two-letter country code used to localize results. Defaults to us. | us |
hl | 문자열 | 선택 | Language code such as en, en-GB, or de. | en |
ll | 문자열 | 선택 | Map viewport as @latitude,longitude,zoomz or @latitude,longitude,radiusm, for example @30.2672,-97.7431,14z. Already includes its scale, so do not add z or m. Mutually exclusive with location and lat/lon. | @30.2672,-97.7431,14z |
lat | 숫자 | 선택 | Latitude of the map center. Supply with lon and either z or m. Mutually exclusive with ll and location. | |
lon | 숫자 | 선택 | Longitude of the map center. Supply with lat and either z or m. Mutually exclusive with ll and location. | |
data | 문자열 | 선택 | Google Maps protobuf sequence copied from a Maps URL, beginning with ! and at most 8,192 characters. A sequence that identifies one place requires type=place and is mutually exclusive with place_id and data_cid. | |
type | 문자열 | 선택 | search returns a list of places in local_results; place returns one exact place in place_results. Required when searching by q or by filter data, and type=place is required with an exact-place data sequence. Can be omitted with place_id or data_cid. | search |
start | 정수 | 선택 | Result offset in steps of 20: 0, 20, 40 and so on. Prefer following pagination.next from the previous response. | |
nearby | 불리언 | 선택 | Set to true to remove near me wording from the query so the supplied viewport is used. Requires ll, location or lat/lon. | |
timeout | 숫자 | 선택 | Optional budget for the entire request in seconds, measured from gateway receipt until the response is ready to send. Includes admission, queueing and settlement. Must be greater than 0 and at most 90. On expiry, the call is not billed and returns 503 request_deadline_exceeded with retryable=true and a request ID. Omit to retain the standard server deadline. | |
data_cid | 문자열 | 선택 | Decimal Google CID for an exact-place lookup. Mutually exclusive with place_id and an exact-place data sequence. | |
location | 문자열 | 선택 | Human-readable location to center the map on, such as Austin, Texas. Requires z or m. Mutually exclusive with ll and lat/lon. | Austin, Texas, United States |
place_id | 문자열 | 선택 | Google Place ID for an exact-place lookup. Mutually exclusive with data_cid and an exact-place data sequence. | ChIJT2h1HKZZwokR0kgzEtsa03k |
max_price | 정수 | 선택 | Maximum Google price level, a non-negative integer. Must be at least min_price. | |
min_price | 정수 | 선택 | Minimum Google price level, a non-negative integer. Must not exceed max_price. | |
min_rating | 숫자 | 선택 | Minimum star rating. Google treats it as a relevance preference, so lower-rated or unrated places may still appear. | |
open_state | 문자열 | 선택 | now returns places open now; 24h returns places open 24 hours. Cannot be combined with open_on_day or open_at_hour. | |
open_on_day | 문자열 | 선택 | Return places open on this weekday, optionally at open_at_hour. Cannot be combined with open_state. | |
open_at_hour | 정수 | 선택 | Hour from 0 through 23 at which the place must be open. Requires open_on_day. Cannot be combined with open_state. | |
google_domain | 문자열 | 선택 | Google domain used for the request. | google.com |
- 쿼리 파라미터
m숫자선택Map radius in meters, from 1 through 15,028,132. Use with location or lat/lon. Mutually exclusive with z.
q문자열선택Search query, such as coffee shops in Austin, TX. Required when type=search. A search needs one of q, place_id, data_cid or data.
예시:
coffee shops in Austin, TXz숫자선택Zoom level from 3 through 30. Use with location or lat/lon. Mutually exclusive with m.
gl문자열선택Two-letter country code used to localize results. Defaults to us.
예시:
ushl문자열선택Language code such as en, en-GB, or de.
예시:
enll문자열선택Map viewport as @latitude,longitude,zoomz or @latitude,longitude,radiusm, for example @30.2672,-97.7431,14z. Already includes its scale, so do not add z or m. Mutually exclusive with location and lat/lon.
예시:
@30.2672,-97.7431,14zlat숫자선택Latitude of the map center. Supply with lon and either z or m. Mutually exclusive with ll and location.
lon숫자선택Longitude of the map center. Supply with lat and either z or m. Mutually exclusive with ll and location.
data문자열선택Google Maps protobuf sequence copied from a Maps URL, beginning with ! and at most 8,192 characters. A sequence that identifies one place requires type=place and is mutually exclusive with place_id and data_cid.
type문자열선택search returns a list of places in local_results; place returns one exact place in place_results. Required when searching by q or by filter data, and type=place is required with an exact-place data sequence. Can be omitted with place_id or data_cid.
예시:
searchstart정수선택Result offset in steps of 20: 0, 20, 40 and so on. Prefer following pagination.next from the previous response.
nearby불리언선택Set to true to remove near me wording from the query so the supplied viewport is used. Requires ll, location or lat/lon.
timeout숫자선택Optional budget for the entire request in seconds, measured from gateway receipt until the response is ready to send. Includes admission, queueing and settlement. Must be greater than 0 and at most 90. On expiry, the call is not billed and returns 503 request_deadline_exceeded with retryable=true and a request ID. Omit to retain the standard server deadline.
data_cid문자열선택Decimal Google CID for an exact-place lookup. Mutually exclusive with place_id and an exact-place data sequence.
location문자열선택Human-readable location to center the map on, such as Austin, Texas. Requires z or m. Mutually exclusive with ll and lat/lon.
예시:
Austin, Texas, United Statesplace_id문자열선택Google Place ID for an exact-place lookup. Mutually exclusive with data_cid and an exact-place data sequence.
예시:
ChIJT2h1HKZZwokR0kgzEtsa03kmax_price정수선택Maximum Google price level, a non-negative integer. Must be at least min_price.
min_price정수선택Minimum Google price level, a non-negative integer. Must not exceed max_price.
min_rating숫자선택Minimum star rating. Google treats it as a relevance preference, so lower-rated or unrated places may still appear.
open_state문자열선택now returns places open now; 24h returns places open 24 hours. Cannot be combined with open_on_day or open_at_hour.
open_on_day문자열선택Return places open on this weekday, optionally at open_at_hour. Cannot be combined with open_state.
open_at_hour정수선택Hour from 0 through 23 at which the place must be open. Requires open_on_day. Cannot be combined with open_state.
google_domain문자열선택Google domain used for the request.
예시:
google.com
코드 예제
$TOOLSWITCH_KEY를 콘솔에서 생성한 키로 바꾸세요.
curl -X GET 'https://toolswitch.dev/v1/tools/litescrape.google.serp.maps?q=coffee+shops+in+Austin+TX&type=search' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/litescrape.google.serp.maps?q=coffee+shops+in+Austin+TX&type=search",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/litescrape.google.serp.maps?q=coffee+shops+in+Austin+TX&type=search", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());게이트웨이 API는 미리보기 버전이며 URL과 인증 방식이 변경될 수 있습니다. 예제 매개변수는 샘플 데이터입니다. 호출 요금은 $0.00015/success이며 서비스 수수료가 포함되어 있습니다.