Parameters
unit string mmbtu or therm. Defaults to mmbtu. A therm is a tenth of an MMBtu.
Example: therm
amount number How many of that unit to price. Defaults to 1.
Example: 10
Responses
200
OK Success{
"ok": true,
"commodity": "natural gas",
"symbol": "NG=F",
"currency": "USD",
"price": 3.225,
"unit": "mmbtu",
"amount": 1,
"total": 3.225
}400
BAD_REQUEST unknown unit502
BAD_GATEWAY could not load the natural gas price