Get a cell specification with nested component and material data
curl --request GET \
--url https://api.ionworks.com/cell_specifications/{cell_spec_id}import requests
url = "https://api.ionworks.com/cell_specifications/{cell_spec_id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.ionworks.com/cell_specifications/{cell_spec_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.ionworks.com/cell_specifications/{cell_spec_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.ionworks.com/cell_specifications/{cell_spec_id}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.ionworks.com/cell_specifications/{cell_spec_id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ionworks.com/cell_specifications/{cell_spec_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"name": "<string>",
"ratings": {
"capacity": {
"value": 123,
"unit": "<string>"
},
"voltage_min": {
"value": 123,
"unit": "<string>"
},
"voltage_max": {
"value": 123,
"unit": "<string>"
},
"nominal_voltage": {
"value": 123,
"unit": "<string>"
},
"energy": {
"value": 123,
"unit": "<string>"
},
"energy_density_gravimetric": {
"value": 123,
"unit": "<string>"
},
"energy_density_volumetric": {
"value": 123,
"unit": "<string>"
},
"max_discharge_rate": {
"value": 123,
"unit": "<string>"
},
"max_charge_rate": {
"value": 123,
"unit": "<string>"
},
"charge_temperature_min": {
"value": 123,
"unit": "<string>"
},
"charge_temperature_max": {
"value": 123,
"unit": "<string>"
},
"discharge_temperature_min": {
"value": 123,
"unit": "<string>"
},
"discharge_temperature_max": {
"value": 123,
"unit": "<string>"
},
"max_pulse_discharge_current": {
"value": 123,
"unit": "<string>"
},
"max_pulse_discharge_duration": {
"value": 123,
"unit": "<string>"
},
"standard_charge_current": {
"value": 123,
"unit": "<string>"
},
"charge_cutoff_current": {
"value": 123,
"unit": "<string>"
},
"acir_1khz": {
"value": 123,
"unit": "<string>"
},
"dcir": {
"value": 123,
"unit": "<string>"
},
"dcir_pulse_duration": {
"value": 123,
"unit": "<string>"
},
"dcir_soc": {
"value": 123,
"unit": "<string>"
},
"cycle_life": 1,
"cycle_life_end_of_life": {
"value": 123,
"unit": "<string>"
}
},
"id": "<string>",
"organization_id": "<string>",
"project_id": "<string>",
"url": "<string>",
"api_url": "<string>",
"form_factor": "<string>",
"manufacturer": "<string>",
"anode_id": "<string>",
"cathode_id": "<string>",
"electrolyte_id": "<string>",
"separator_id": "<string>",
"case_id": "<string>",
"properties": {},
"source": {},
"notes": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"created_by": "<string>",
"created_by_email": "<string>",
"instance_ids": [
{}
],
"default_parameterized_model_id": "<string>",
"cad_file_path": "<string>",
"cad_file_name": "<string>",
"cad_thumbnail_path": "<string>",
"cad_thumbnail_url": "<string>",
"anode": {
"component_type": "cathode",
"material_id": "<string>",
"id": "<string>",
"organization_id": "<string>",
"project_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"properties": {},
"created_by": "<string>",
"material": {
"name": "<string>",
"id": "<string>",
"organization_id": "<string>",
"project_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"definition": {},
"manufacturer": "<string>",
"product_id": "<string>",
"created_by": "<string>",
"created_by_email": "<string>",
"property_count": 0
}
},
"cathode": {
"component_type": "cathode",
"material_id": "<string>",
"id": "<string>",
"organization_id": "<string>",
"project_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"properties": {},
"created_by": "<string>",
"material": {
"name": "<string>",
"id": "<string>",
"organization_id": "<string>",
"project_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"definition": {},
"manufacturer": "<string>",
"product_id": "<string>",
"created_by": "<string>",
"created_by_email": "<string>",
"property_count": 0
}
},
"electrolyte": {
"component_type": "cathode",
"material_id": "<string>",
"id": "<string>",
"organization_id": "<string>",
"project_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"properties": {},
"created_by": "<string>",
"material": {
"name": "<string>",
"id": "<string>",
"organization_id": "<string>",
"project_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"definition": {},
"manufacturer": "<string>",
"product_id": "<string>",
"created_by": "<string>",
"created_by_email": "<string>",
"property_count": 0
}
},
"separator": {
"component_type": "cathode",
"material_id": "<string>",
"id": "<string>",
"organization_id": "<string>",
"project_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"properties": {},
"created_by": "<string>",
"material": {
"name": "<string>",
"id": "<string>",
"organization_id": "<string>",
"project_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"definition": {},
"manufacturer": "<string>",
"product_id": "<string>",
"created_by": "<string>",
"created_by_email": "<string>",
"property_count": 0
}
},
"case": {
"component_type": "cathode",
"material_id": "<string>",
"id": "<string>",
"organization_id": "<string>",
"project_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"properties": {},
"created_by": "<string>",
"material": {
"name": "<string>",
"id": "<string>",
"organization_id": "<string>",
"project_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"definition": {},
"manufacturer": "<string>",
"product_id": "<string>",
"created_by": "<string>",
"created_by_email": "<string>",
"property_count": 0
}
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Cell Specifications
Get a cell specification with nested component and material data
Retrieve a cell specification with nested component and material information.
Returns the specification with anode, cathode, electrolyte, separator, and case components, each including their material details.
Get a cell specification with nested component and material data
curl --request GET \
--url https://api.ionworks.com/cell_specifications/{cell_spec_id}import requests
url = "https://api.ionworks.com/cell_specifications/{cell_spec_id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.ionworks.com/cell_specifications/{cell_spec_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.ionworks.com/cell_specifications/{cell_spec_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.ionworks.com/cell_specifications/{cell_spec_id}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.ionworks.com/cell_specifications/{cell_spec_id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ionworks.com/cell_specifications/{cell_spec_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"name": "<string>",
"ratings": {
"capacity": {
"value": 123,
"unit": "<string>"
},
"voltage_min": {
"value": 123,
"unit": "<string>"
},
"voltage_max": {
"value": 123,
"unit": "<string>"
},
"nominal_voltage": {
"value": 123,
"unit": "<string>"
},
"energy": {
"value": 123,
"unit": "<string>"
},
"energy_density_gravimetric": {
"value": 123,
"unit": "<string>"
},
"energy_density_volumetric": {
"value": 123,
"unit": "<string>"
},
"max_discharge_rate": {
"value": 123,
"unit": "<string>"
},
"max_charge_rate": {
"value": 123,
"unit": "<string>"
},
"charge_temperature_min": {
"value": 123,
"unit": "<string>"
},
"charge_temperature_max": {
"value": 123,
"unit": "<string>"
},
"discharge_temperature_min": {
"value": 123,
"unit": "<string>"
},
"discharge_temperature_max": {
"value": 123,
"unit": "<string>"
},
"max_pulse_discharge_current": {
"value": 123,
"unit": "<string>"
},
"max_pulse_discharge_duration": {
"value": 123,
"unit": "<string>"
},
"standard_charge_current": {
"value": 123,
"unit": "<string>"
},
"charge_cutoff_current": {
"value": 123,
"unit": "<string>"
},
"acir_1khz": {
"value": 123,
"unit": "<string>"
},
"dcir": {
"value": 123,
"unit": "<string>"
},
"dcir_pulse_duration": {
"value": 123,
"unit": "<string>"
},
"dcir_soc": {
"value": 123,
"unit": "<string>"
},
"cycle_life": 1,
"cycle_life_end_of_life": {
"value": 123,
"unit": "<string>"
}
},
"id": "<string>",
"organization_id": "<string>",
"project_id": "<string>",
"url": "<string>",
"api_url": "<string>",
"form_factor": "<string>",
"manufacturer": "<string>",
"anode_id": "<string>",
"cathode_id": "<string>",
"electrolyte_id": "<string>",
"separator_id": "<string>",
"case_id": "<string>",
"properties": {},
"source": {},
"notes": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"created_by": "<string>",
"created_by_email": "<string>",
"instance_ids": [
{}
],
"default_parameterized_model_id": "<string>",
"cad_file_path": "<string>",
"cad_file_name": "<string>",
"cad_thumbnail_path": "<string>",
"cad_thumbnail_url": "<string>",
"anode": {
"component_type": "cathode",
"material_id": "<string>",
"id": "<string>",
"organization_id": "<string>",
"project_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"properties": {},
"created_by": "<string>",
"material": {
"name": "<string>",
"id": "<string>",
"organization_id": "<string>",
"project_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"definition": {},
"manufacturer": "<string>",
"product_id": "<string>",
"created_by": "<string>",
"created_by_email": "<string>",
"property_count": 0
}
},
"cathode": {
"component_type": "cathode",
"material_id": "<string>",
"id": "<string>",
"organization_id": "<string>",
"project_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"properties": {},
"created_by": "<string>",
"material": {
"name": "<string>",
"id": "<string>",
"organization_id": "<string>",
"project_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"definition": {},
"manufacturer": "<string>",
"product_id": "<string>",
"created_by": "<string>",
"created_by_email": "<string>",
"property_count": 0
}
},
"electrolyte": {
"component_type": "cathode",
"material_id": "<string>",
"id": "<string>",
"organization_id": "<string>",
"project_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"properties": {},
"created_by": "<string>",
"material": {
"name": "<string>",
"id": "<string>",
"organization_id": "<string>",
"project_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"definition": {},
"manufacturer": "<string>",
"product_id": "<string>",
"created_by": "<string>",
"created_by_email": "<string>",
"property_count": 0
}
},
"separator": {
"component_type": "cathode",
"material_id": "<string>",
"id": "<string>",
"organization_id": "<string>",
"project_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"properties": {},
"created_by": "<string>",
"material": {
"name": "<string>",
"id": "<string>",
"organization_id": "<string>",
"project_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"definition": {},
"manufacturer": "<string>",
"product_id": "<string>",
"created_by": "<string>",
"created_by_email": "<string>",
"property_count": 0
}
},
"case": {
"component_type": "cathode",
"material_id": "<string>",
"id": "<string>",
"organization_id": "<string>",
"project_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"properties": {},
"created_by": "<string>",
"material": {
"name": "<string>",
"id": "<string>",
"organization_id": "<string>",
"project_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"definition": {},
"manufacturer": "<string>",
"product_id": "<string>",
"created_by": "<string>",
"created_by_email": "<string>",
"property_count": 0
}
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Response
Successful Response
Was this page helpful?