Sand AISand AI MAGI-2MAGI-2가 이제 SandBase에서 제공됩니다: 네이티브 오디오가 포함된 1080p 동영상지금 사용해 보기

DuckDuckGo Maps

API 문서
https://api.sandbase.ai/v1/api/duckduckgo/maps

Search DuckDuckGo Maps for places inside a viewport rectangle or around a center.

가격
$0.00015USD / 호출
메서드
POST
응답
비동기 JSON
매개변수
필수 1개 · 선택 사항 4개
하루 100회 무료 호출하루 첫 100회 호출은 무료입니다(조직별 공유) · UTC 00:00에 초기화됩니다. 이후에는 호출당 요금이 부과됩니다.

Playground

입력
Place or category query, up to 500 characters.
Viewport center latitude. Requires lon. 범위: -90~90.
Viewport center longitude. Requires lat. 범위: -180~180.
Viewport rectangle as 'top,left,bottom,right'. Required unless lat and lon are supplied.
Exclude results outside the requested bounds. Default true.
출력준비됨

출력이 여기에 표시됩니다

입력을 완료한 다음 Run을 클릭하세요.

API README

DuckDuckGo Maps

Returns a list of places that match a text query inside a map viewport. Each place has an address, coordinates, rating, opening hours, contact details and a few reviews. You pass q plus either lat and lon for a center point or bbox for a rectangle.

Use cases

  • Build a list of coffee shops near a given point with their addresses and phone numbers.
  • Compare rating and reviews counts across businesses in one neighborhood.
  • Plot places on a map using gps_coordinates.
  • Check which nearby places are open now and what hours they keep.

Request

curl -X POST "https://api.sandbase.ai/v1/api/duckduckgo/maps" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"q": "coffee", "lat": 40.7128, "lon": -74.006}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
qstringYesPlace or category query, up to 500 characters.
bboxstringNoViewport rectangle as 'top,left,bottom,right'. Required unless lat and lon are supplied.
latnumberNoViewport center latitude. Requires lon.
lonnumberNoViewport center longitude. Requires lat.
strict_bboxbooleanNoExclude results outside the requested bounds. Default true.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "local_results": [
    {
      "address": "38 Park Row, New York, NY 10038",
      "address_lines": [
        "38 Park Row"
      ],
      "city": "New York",
      "country_code": "US",
      "gps_coordinates": {
        "latitude": 40.7116156,
        "longitude": -74.0066955
      },
      "images": [
        "https://s3-media0.fl.yelpcdn.com/bphoto/kIWhmJh35yANG7qeEZsdvg/o.jpg"
      ],
      "link": "https://www.yelp.com/biz/starbucks-new-york-395?adjust_creative=duckduckgo&utm_c…",
      "menu": "https://www.starbucks.com/menu",
      "open_state": "Closed",
      "operating_hours": {
        "fri": "05:00:00 - 20:00:00",
        "mon": "05:00:00 - 20:00:00",
        "sat": "05:00:00 - 20:00:00",
        "sun": "05:00:00 - 20:00:00",
        "thu": "05:00:00 - 20:00:00",
        "tue": "05:00:00 - 20:00:00",
        "wed": "05:00:00 - 20:00:00"
      },
      "phone": "+12126088073",
      "phone_formatted": "+1 212 608 8073"
    }
  ],
  "search_metadata": {
    "created_at": "2026-11-03 07:33:07 UTC",
    "id": "581ba2bb9f7abc1700bb0841",
    "processed_at": "2026-11-03 07:33:07 UTC",
    "status": "Success",
    "total_time_taken": 1.348
  },
  "search_parameters": {
    "lat": 40.7128,
    "lon": -74.006,
    "q": "coffee",
    "strict_bbox": true
  }
}

Response fields

FieldMeaning
local_results[].titleName of the place.
local_results[].typeCategory label for the place, such as Coffee & tea.
local_results[].address / local_results[].city / local_results[].country_codeFull street address, city and country code of the place.
local_results[].gps_coordinates.latitude / local_results[].gps_coordinates.longitudeCoordinates of the place.
local_results[].rating / local_results[].reviewsAverage rating and the number of reviews behind it.
local_results[].price / local_results[].price_scorePrice level shown as dollar signs and as a number.
local_results[].open_stateWhether the place is open or closed at the time of the call, for example Closed.
local_results[].operating_hoursOpening and closing times for each weekday, keyed by mon to sun.
local_results[].phone / local_results[].phone_formatted / local_results[].websitePhone number in raw and display form, and the place's website.
local_results[].review_details[]A few sample reviews with date, rating, snippet and the reviewer in user.
local_results[].source[]Map services that list this place, each with its own place_id.

Notes

  • Send either lat and lon together, or bbox as top,left,bottom,right. The search_parameters object in the response echoes the values used.
  • strict_bbox defaults to true, so results outside the requested bounds are dropped.
  • position gives the rank of each place in local_results.
  • Check search_metadata.status for Success before reading the results.

Pricing

$0.00015 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

더 살펴보기

관련 API

모든 API
API가격응답
DuckDuckGo$0.00015 / 호출비동기 JSON
DuckDuckGo$0.01 / 호출JSON
DuckDuckGo$0.01 / 호출JSON
DuckDuckGo$0.015 / 호출JSON
DuckDuckGo$0.015 / 호출JSON
DuckDuckGo$0.01 / 호출JSON

질문

FAQ

DuckDuckGo Maps API를 어떻게 사용하나요?

Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/duckduckgo/maps에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.

DuckDuckGo Maps API 비용은 얼마인가요?

호출당 $0.00015. 모든 조직은 UTC 기준 하루에 100회의 무료 호출을 받으며, 이 API를 포함한 사용 가능 SandBase API 전반에서 공유됩니다. 이후에는 각 호출이 SandBase 잔액에서 이 요금으로 청구됩니다. 구독은 없습니다.

DuckDuckGo Maps API는 어떤 매개변수를 받나요?

필수: q (string). 선택: lat (number), lon (number), bbox (string) 및 strict_bbox (boolean). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.

DuckDuckGo Maps API는 무엇을 반환하나요?

JSON 결과를 반환합니다. 이 엔드포인트는 비동기적으로 실행되므로, 응답에는 완료된 결과를 가져오는 방법이 안내됩니다. 이 페이지의 README에 샘플 응답이 포함되어 있습니다.

DuckDuckGo 개발자 계정이나 API 키가 필요한가요?

아니요. DuckDuckGo Maps은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. DuckDuckGo API 액세스를 별도로 신청할 필요는 없습니다.