Per standard API, `price` attribute represents how much it costs to run a server with this size per hour and needs to be a `float`. In this case it looks like you could do something like:

```python
price = float(data.get('cost_per_hour', 0))
```