Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Apple Maps Place

Tài liệu API
https://api.sandbase.ai/v1/api/apple-maps/place

Get an Apple Maps place by MUID with name, category, rating, address, phone, website, hours and coordinates.

Giá
$0.01USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 2 tùy chọn

Phòng thử nghiệm

Đầu vào
Parameter defines the MUID of the place you want to search. You can use the MUID from the Apple Maps Places API response. (e.g. `18366846785603624515` for London). You can also pass multiple MUIDs separated by commas (e.g., `18366846785603624515,11018610862491969006` to get London and Austin). Upto 50 MUIDs can be fetched in a single request.
Parameter defines the locale the results should be localized for. Locales for Apple Maps are represented as `<LANGUAGE>-<REGION>`. (defaults to `en-US`, the locale for U.S. English). Head to Apple Maps Locales for the list of available locales.
Parameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

Apple Maps Place

Get an Apple Maps place by MUID with name, category, rating, address, phone, website, hours and coordinates.

Request

curl -X POST "https://api.sandbase.ai/v1/api/apple-maps/place" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"muid": "<muid from Apple Maps Search>"}'

The result is returned in outputs[0].data as structured JSON.

Parameters

NameTypeRequiredDescription
muidstringYesParameter defines the MUID of the place you want to search. You can use the MUID from the Apple Maps Places API response. (e.g. 18366846785603624515 for London). You can also pass multiple MUIDs separated by commas (e.g., `183668467856036
localestringNoParameter defines the locale the results should be localized for. Locales for Apple Maps are represented as <LANGUAGE>-<REGION>. (defaults to en-US, the locale for U.S. English). Head to Apple Maps Locales for the list of available loca
json_restrictorstringNoParameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.

Pricing

$0.010 per successful call. Failed calls are not charged.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Apple Maps$0.01 mỗi lần gọiJSON
Apple Maps$0.01 mỗi lần gọiJSON

Câu hỏi

FAQ

Làm thế nào để dùng API Apple Maps Place?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/apple-maps/place với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Apple Maps Place có giá bao nhiêu?

$0.01 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Apple Maps Place chấp nhận những tham số nào?

Bắt buộc: muid (string). Tùy chọn: locale (string) và json_restrictor (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Apple Maps Place trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ).

Tôi có cần tài khoản nhà phát triển hoặc API key của Apple Maps không?

Không. Apple Maps Place chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Apple Maps.