This product or feature is in Legacy status. For more information about the Legacy stage and how to migrate from Legacy to newer services, see Legacy products and features.
Hãy làm thử! Kiểm thử yêu cầu này bằng cách nhập URL vào trình duyệt web – nhớ thay thế YOUR_API_KEY bằng khoá API thực tế của bạn.
Phản hồi cho biết khoảng cách và thời lượng giữa điểm xuất phát và điểm đến được chỉ định.
Tìm hiểu cách tạo URL yêu cầu, bao gồm tất cả các thông số có sẵn.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-12-19 UTC."],[],["The content demonstrates requesting distance data between Washington, DC, and New York City using the Google Maps Distance Matrix API. The request URL and cURL command are provided, requiring the user to replace `YOUR_API_KEY` with their own. The API returns distance (228 mi) and duration (3 hours 55 mins) data in both JSON and XML formats. Users can test the URL and further understand responses, and can learn to build custom URL requests through provided documentation.\n"]]