AAA Ev Charging Prices
https://api.sandbase.ai/v1/api/aaa/ev-charging-pricesReturns national and per-state EV charging price data including cost per kWh and total charger counts for each state. Data sourced from a public Google Sheets dataset maintained by AAA.
- मूल्य
- $0.01USD / कॉल
- मेथड
- POST
- प्रतिक्रिया
- Async JSON
- पैरामीटर
- 0 आवश्यक · 0 वैकल्पिक
प्लेग्राउंड
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
API README
AAA Ev Charging Prices
Returns the EV charging cost per kWh and the total number of chargers for each location, with one row per state. The request takes no input.
Use cases
- Compare the cost per kWh of EV charging across states.
- Rank states by total charger count to see where charging stations are most common.
- Estimate the cost of a full charge in a state by multiplying
ev_costperkwhby battery size in kWh. - Feed charging costs into a trip planning or fleet budgeting tool.
Request
curl -X POST "https://api.sandbase.ai/v1/api/aaa/ev-charging-prices" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"ev_data": [
{
"LOCATION_ID": "Alaska",
"LOCATION_NAME": "Alaska",
"LOCATION_STATE": "AK",
"LOCATION_TYPE": "ST",
"ev_costperkwh": "0.459",
"ev_totalchargers": "92"
}
]
},
"status": "success"
}
Response fields
| Field | Meaning |
|---|---|
data.ev_data[] | List of locations. Each item holds the charging cost and charger count for one location. |
data.ev_data[].LOCATION_NAME / data.ev_data[].LOCATION_ID | Name of the location, such as Alaska. In the sample rows both fields hold the same value. |
data.ev_data[].LOCATION_STATE | Two-letter state code, such as AK or AL. |
data.ev_data[].LOCATION_TYPE | Location type code. The sample rows show ST for each state. |
data.ev_data[].ev_costperkwh | Charging cost per kWh for the location, returned as a string such as 0.459. |
data.ev_data[].ev_totalchargers | Total number of chargers for the location, returned as a string such as 1008. |
status | Result of the call. The value is success when the data was returned. |
Notes
- Values such as
ev_costperkwhandev_totalchargerscome back as strings. Convert them to numbers before sorting or doing math. - Use
LOCATION_TYPEto filter rows by type, andLOCATION_STATEto match a row to a state code. - For gasoline figures instead of EV charging, call AAA National Average.
Pricing
$0.01 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
बिल्डिंग शुरू करें
अपना पहला अनुरोध भेजें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/aaa/ev-charging-prices" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'2. प्रमाणीकरण
अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
3. पैरामीटर
इस API के लिए कोई parameter schema प्रकाशित नहीं किया गया है।
4. रिस्पॉन्स
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
संबंधित APIs
| API | कीमत | प्रतिक्रिया |
|---|---|---|
AAA Ev Charging Pricesयह API AAA | $0.01 प्रति कॉल | असिंक्रोनस JSON |
AAA | $0.01 प्रति कॉल | असिंक्रोनस JSON |
AAA | $0.01 प्रति कॉल | असिंक्रोनस JSON |
AAA | $0.01 प्रति कॉल | असिंक्रोनस JSON |
AAA | $0.01 प्रति कॉल | असिंक्रोनस JSON |
AAA | $0.02 प्रति कॉल | असिंक्रोनस JSON |
प्रश्न
FAQ
AAA Ev Charging Prices API का उपयोग कैसे करें?
https://api.sandbase.ai/v1/api/aaa/ev-charging-prices पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
AAA Ev Charging Prices API की लागत कितनी है?
$0.01 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
AAA Ev Charging Prices API कौन-से parameters स्वीकार करती है?
AAA Ev Charging Prices कोई input parameters नहीं लेता; एक खाली JSON body भेजें।
AAA Ev Charging Prices API क्या लौटाती है?
एक JSON result। यह endpoint asynchronously चलता है, इसलिए response आपको बताता है कि तैयार result कैसे प्राप्त करना है। इस पेज का README एक sample response शामिल करता है।
क्या मुझे एक AAA developer account या API key चाहिए?
नहीं। AAA Ev Charging Prices SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से AAA API access के लिए आवेदन करने की आवश्यकता नहीं है।
