التمويل والتحويل
حاسبة التضخم API
اعرف قيمة مبلغ دولاري من أي سنة منذ 1913 في سنة أخرى ببيانات CPI الرسمية.
طلب الرؤوس
| Name | Required | Description |
|---|---|---|
X-RapidAPI-Key | required | Your RapidAPI key. Get one free. |
X-RapidAPI-Host | required | inflation.p.rapidapi.com |
نقاط النهاية
GET
/v1/finance/inflation Adjust a US dollar amount for inflation between two years using CPI-U
حدود
| Name | Type | Required | Default | Constraints |
|---|---|---|---|---|
amount | number | optional | — | <= 1000000000000 |
from | integer | optional | — | — |
to | integer | optional | — | — |
أمثلة على الكود
curl --request GET \
--url 'https://inflation.p.rapidapi.com/v1/finance/inflation?amount=0&from=0' \
--header 'x-rapidapi-key: YOUR_API_KEY' \
--header 'x-rapidapi-host: inflation.p.rapidapi.com' const url = "https://inflation.p.rapidapi.com/v1/finance/inflation?amount=0&from=0";
const options = {
method: "GET",
headers: {
"x-rapidapi-key": "YOUR_API_KEY",
"x-rapidapi-host": "inflation.p.rapidapi.com"
}
};
const response = await fetch(url, options);
const data = await response.json();
console.log(data); import requests
url = "https://inflation.p.rapidapi.com/v1/finance/inflation"
querystring = {"amount": 0, "from": 0}
headers = {
"x-rapidapi-key": "YOUR_API_KEY",
"x-rapidapi-host": "inflation.p.rapidapi.com"
}
response = requests.get(url, headers=headers, params=querystring)
print(response.json()) مثال تفاعلي
$ GET /v1/finance/inflation?amount=100&from=1990&to=2024
{"amount":100.0,"from":1990,"to":2024,"country":"US","adjusted_amount":240.01,"cumulative_inflation_percent":140.01,"avg_annual_inflation_percent":2.61} الاشتراك والترخيص
يمكنك الوصول إلى واجهة برمجة التطبيقات هذه بمستويات جاهزة للاستخدام التجاري على RapidAPI. خطط مرنة مصممة للمشاريع الجانبية والشركات الناشئة وهياكل الإنتاج كبيرة الحجم.
دعم المطورين
هل تحتاج إلى مساعدة في التكامل أو لديك طلب نقطة نهاية مخصص؟ فريقنا الهندسي موجود هنا للمساعدة في المصادقة ومخططات الحمولة وزيادة حدود معدل التردد العالي.
أداء النظام
مراقبة على مدار 24 ساعة طوال أيام الأسبوع مع وقت تشغيل بنسبة 99.9% لاتفاقية مستوى الخدمة. تم تصميمه فوق خدمات صغيرة سحابية أصلية مع تخزين مؤقت على الحافة موزع عالميًا لضمان أوقات استجابة منخفضة للغاية.
جميع الأنظمة التشغيلية