NexGen Cloud Billing API

Billing endpoints expose your account's billing history, current credit balance, payment history, and usage costs. Use these to reconcile spend, build internal cost reports, or trigger alerts when balances drop below a threshold.

Business capability
Subscription Billing & Revenue Management BC-4250

Operations 40

GET /billing/billing/history Retrieve Billing History for a specific Billing Cycle #
GET /billing/billing/history/bucket Retrieve Billing History of a Bucket for a specific Billing Cycle #
GET /billing/billing/history/bucket/{bucket_id} Retrieve Billing History of a Specific Snapshot for a specific Billing Cycle #
GET /billing/billing/history/bucket/{bucket_id}/graph Retrieve hourly cost datapoints of a Specific Bucket for a specific billing… #
GET /billing/billing/history/cluster Retrieve Billing History of Clusters for a specific Billing Cycle #
GET /billing/billing/history/cluster/{cluster_id} Retrieve Billing History of a Specific Cluster for a specific Billing Cycle #
GET /billing/billing/history/cluster/{cluster_id}/graph Retrieve hourly cost datapoints of a specific Cluster for a specific billing… #
GET /billing/billing/history/contract Retrieve Billing History of Contract for a specific Billing Cycle #
GET /billing/billing/history/data_synthesis Retrieve Billing History of data synthesis for a specific Billing Cycle #
GET /billing/billing/history/data_synthesis/{resource_id} Get data synthesis history for resource #
GET /billing/billing/history/data_synthesis/{resource_id}/graph Retrieve hourly cost datapoints of a Specific Data Synthesis for a specific #
GET /billing/billing/history/fine_tuning Retrieve Billing History of model evaluation for a specific Billing Cycle #
GET /billing/billing/history/fine_tuning/{resource_id} Retrieve Billing History of a Specific Fine Tuning for a specific Billing Cycle #
GET /billing/billing/history/fine_tuning/{resource_id}/graph Retrieve hourly cost datapoints of a Specific Fine Tuning for a specific… #
GET /billing/billing/history/image_generation Retrieve Billing History of image generation for a specific Billing Cycle #
GET /billing/billing/history/image_generation/{resource_id} Get image generation history for resource #
GET /billing/billing/history/image_generation/{resource_id}/graph Retrieve hourly cost datapoints of a Specific Image Generation for a specific #
GET /billing/billing/history/model_evaluation Retrieve Billing History of model evaluation for a specific Billing Cycle #
GET /billing/billing/history/model_evaluation/{resource_id} Get resource model evaluation billing history #
GET /billing/billing/history/model_evaluation/{resource_id}/graph Retrieve hourly cost datapoints of a Specific Model Evaluation for a specific #
GET /billing/billing/history/serverless_inference Retrieve Billing History of serverless inference for a specific Billing Cycle #
GET /billing/billing/history/serverless_inference/{resource_id} Get serverless inferences billing history #
GET /billing/billing/history/serverless_inference/{resource_id}/graph Retrieve hourly cost datapoints of a Specific Serverless Inference for a… #
GET /billing/billing/history/snapshot Retrieve Billing History of Snapshot for a specific Billing Cycle #
GET /billing/billing/history/snapshot/{snapshot_id} Retrieve Billing History of a Specific Snapshot for a specific Billing Cycle #
GET /billing/billing/history/snapshot/{snapshot_id}/graph Retrieve hourly cost datapoints of a Specific Snapshot for a specific billing… #
GET /billing/billing/history/virtual-machine Retrieve Billing History of Virtual Machine for a specific Billing Cycle #
GET /billing/billing/history/virtual-machine/{vm_id} Retrieve Billing History of a Specific Virtual Machine for a specific Billing… #
GET /billing/billing/history/virtual-machine/{vm_id}/graph Retrieve hourly cost datapoints of a Specific Virtual Machine for a specific… #
GET /billing/billing/history/volume Retrieve Billing History of Volume for a specific Billing Cycle #
GET /billing/billing/history/volume/{volume_id} Retrieve Billing History of a Specific Volume for a specific Billing Cycle #
GET /billing/billing/history/volume/{volume_id}/graph Retrieve hourly cost datapoints of a Specific Volume for a specific billing… #
GET /billing/billing/last-day-cost GET: Last Day Cost #
GET /billing/billing/threshold GET: All Thresholds for Organization #
PUT /billing/billing/threshold/{threshold_id} Update: Subscribe or Unsubscribe Notification Threshold #
GET /billing/billing/usage GET: Billing usage #
GET /billing/billing/virtual-machine/{vm_id}/billing-events Retrieve VM billing events history #
GET /billing/billing/virtual-machine/{vm_id}/sub-resource Retrieve Total Costs and Non Discount Costs for Sub Resources #
GET /billing/billing/virtual-machine/{vm_id}/sub-resource/graph Retrieve Sub-Resources Historical Cost datapoints of a Virtual #
GET /billing/billing/volume/{volume_id}/billing-events Retrieve Volume billing events history #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/nexgen-cloud-billing-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

nexgen-cloud-billing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Infrahub Billing API
  version: '1.0'
servers:
- url: https://infrahub-api.nexgencloud.com/v1
security:
- accessToken: []
- apiKey: []
tags:


# --- truncated at 32 KB (99 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/nexgen-cloud/refs/heads/main/openapi/nexgen-cloud-billing-api-openapi.yml