جرّب الجيل التالي من ميزات مصفوفة المسافة من خلال
Routes API.
استخدام واجهة برمجة التطبيقات لمصفوفة المسافات والفوترة
تؤدي طلبات Distance Matrix API إلى إنشاء طلبات إلى أحد رمزَي التخزين التعريفيَين (SKU) استنادًا إلى نوع الطلب:
أساسي أو
متقدّم.
تفاصيل رموز التخزين التعريفية وأسعارها لواجهة برمجة التطبيقات Distance Matrix API
يعرض الجدول التالي تفاصيل رمز التخزين التعريفي وأسعار واجهة برمجة التطبيقات Distance Matrix API.
حدود الاستخدام الأخرى
لمراجعة الحصص والحدّ الأقصى للاستخدام وإدارتهما، يُرجى الاطّلاع على مقالة
الحصص وتنبيهات الحصص.
على الرغم من عدم وجود حدّ أقصى لعدد العناصر في اليوم (EPD)، تمّ وضع حدود استخدام التالية
لواجهة برمجة التطبيقات Distance Matrix API:
- 25 نقطة منشأ أو 25 وجهة بحد أقصى لكل طلب
- 100 عنصر كحد أقصى لكل طلب من جانب الخادم
- 100 عنصر بحد أقصى لكل طلب
من جهة العميل
- يتم احتساب العناصر في الدقيقة على أنّها مجموع طلبات البحث التي يتم إجراؤها من جهة العميل و
من جهة الخادم. للاطّلاع على الحصة لكل دقيقة، يُرجى الاطّلاع على
الحصص وتنبيهات الحصص.
قيود بنود الاستخدام
للحصول على معلومات عن بنود الاستخدام، يُرجى الاطّلاع على
سياسات Distance Matrix API وقسم "قيود الترخيص"
في بنود خدمة "منصّة خرائط Google".
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-03-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-03-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["The Distance Matrix API is priced on a pay-as-you-go basis, charging per element, which is calculated by multiplying the number of origins by the number of destinations in a request."],["There are two SKUs for billing: Distance Matrix (basic requests) and Distance Matrix Advanced (requests using traffic information or location modifiers), each having its own pricing tier."],["While there is no daily limit on the total number of elements, the API has usage restrictions on the maximum number of origins, destinations, and elements per request, as well as a rate limit of 60,000 elements per minute."],["Users can manage their costs by setting daily quota limits for the Distance Matrix API within the Google Cloud Console, ensuring their application's usage stays within budget."],["You must enable billing on your projects and include an API key or OAuth token for all API requests to utilize the Distance Matrix API."]]],["The Distance Matrix API requires enabled billing and an API key or OAuth token. It uses a pay-as-you-go model, with costs based on SKU usage, either basic or advanced. The advanced SKU includes traffic and location modifiers. Usage limits include maximums of 25 origins/destinations, 100 elements per request, and 60,000 elements per minute. Users can manage costs by setting daily quota limits in the Google Cloud console and utilize the $200 monthly credit until March 1, 2025.\n"]]