Is there a way to view billing by services?


#1

You can use our Fastly API call: http://docs.fastly.com/api/account#billing

Log into your fastly app and then run the following in the browser:
https://app.fastly.com/billing/year/XXXX/month/X

Example:
https://app.fastly.com/billing/year/2015/month/2
In it you will see the breakdown by services similar to the following:

{
  "regions": {
  "europe": {
  "bandwidth": {
  "total": 275.3962043608725,
  "tiers": [
{
   "name": "first 10TB",
   "units": 2294.9683696739376,
   "price": 0.12,
   "total": 275.3962043608725
   }
  ]
},
 "requests": {},
 "cost": 571.4302019608725
},
  "usa": {
  "bandwidth": {
  "total": 392.7407123223692,
  "tiers": [
{
  "name": "first 10TB",
  "units": 3272.839269353077,
  "price": 0.12,
  "total": 392.7407123223692
   }
  ]
},
 "requests": {},
 "cost": 1086.310576572369
},
  "australia": {
  "bandwidth": {
  "total": 5.995823659840971,
  "tiers": [
{
  "name": "first 10TB",
  "units": 31.556966630741954,
  "price": 0.19,
  "total": 5.995823659840971
  }
 ]
},
 "requests": {},
 "cost": 16.331973559840968

Is it possible to view cost of bandwidth for each domain?