Saltar al contenido
NimbusNexus

Datos de precios

Los endpoints de datos de precios son una fuente de solo lectura con lo que cobra NimbusNexus, un endpoint por cada tipo de recurso:

  • GET /api/v1/pricing/vm — tamaños de VM. architecture y vm_class son obligatorios; cpu y ram acotan la lista.
  • GET /api/v1/pricing/storage — almacenamiento en bloques, para un volume_type.
  • GET /api/v1/pricing/port, /api/v1/pricing/floating_ip y /api/v1/pricing/image — puertos de red, IPs flotantes y almacenamiento de imágenes.
  • GET /api/v1/pricing/bandwidth — ancho de banda de salida.

Cada precio indica su periodo de facturación: una sola vez, por hora, por día, por mes o por año. No necesitas iniciar sesión para leerlos. Quien llama con el alcance de uno de tus proyectos ve los precios que se aplican a tu workspace; cualquier otro ve los precios de lista.

Casos de uso: integrar estimaciones de coste en tiempo real en tu flujo de aprovisionamiento (mostrar "esta VM costará $X/mes" antes de que el usuario haga clic en Launch), crear herramientas internas de imputación de costes o simplemente mantener tu propia hoja de cálculo de "cuánto cobra ahora mismo NimbusNexus por X".

Los precios se expresan en USD.

Próximos pasos

Reference

GET/api/v1/pricing/bandwidth

Bandwidth Pricing

Returns prices for outbound network bandwidth available to the caller.

Parameters

NameInTypeDescription
admin_domainquerystring | null—
admin_projectquerystring | null—
projectquerystring | null—
product_categoryquerystring—
plan_typequeryPlanType | null—

Responses

  • 200Successful Response
  • 422Validation error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X GET "https://api.nimbusnexus.net/api/v1/pricing/bandwidth" \
  -H "Authorization: Bearer $NIMBUS_KEY"
GET/api/v1/pricing/floating_ip

Floating Ip Pricing

Returns prices for floating IP addresses available to the caller.

Parameters

NameInTypeDescription
admin_domainquerystring | null—
admin_projectquerystring | null—
projectquerystring | null—
product_categoryquerystring—
plan_typequeryPlanType | null—

Responses

  • 200Successful Response
  • 422Validation error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X GET "https://api.nimbusnexus.net/api/v1/pricing/floating_ip" \
  -H "Authorization: Bearer $NIMBUS_KEY"
GET/api/v1/pricing/image

Image Pricing

Returns prices for image storage available to the caller.

Parameters

NameInTypeDescription
admin_domainquerystring | null—
admin_projectquerystring | null—
projectquerystring | null—
product_categoryquerystring—
plan_typequeryPlanType | null—

Responses

  • 200Successful Response
  • 422Validation error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X GET "https://api.nimbusnexus.net/api/v1/pricing/image" \
  -H "Authorization: Bearer $NIMBUS_KEY"
GET/api/v1/pricing/port

Port Pricing

Returns prices for networking ports available to the caller.

Parameters

NameInTypeDescription
admin_domainquerystring | null—
admin_projectquerystring | null—
projectquerystring | null—
product_categoryquerystring—
plan_typequeryPlanType | null—

Responses

  • 200Successful Response
  • 422Validation error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X GET "https://api.nimbusnexus.net/api/v1/pricing/port" \
  -H "Authorization: Bearer $NIMBUS_KEY"
GET/api/v1/pricing/storage

Storage Pricing

Returns prices for block storage volumes available to the caller.

Parameters

NameInTypeDescription
admin_domainquerystring | null—
admin_projectquerystring | null—
projectquerystring | null—
product_categoryquerystring—
plan_typequeryPlanType | null—
volume_type*querystring—

Responses

  • 200Successful Response
  • 400Bad Request
  • 422Validation error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X GET "https://api.nimbusnexus.net/api/v1/pricing/storage?volume_type=example" \
  -H "Authorization: Bearer $NIMBUS_KEY"
GET/api/v1/pricing/vm

Vm Pricing

Returns prices for virtual machine flavors available to the caller.

Parameters

NameInTypeDescription
admin_domainquerystring | null—
admin_projectquerystring | null—
projectquerystring | null—
product_categoryquerystring—
plan_typequeryPlanType | null—
architecture*querystring—
vm_class*querystring—
cpuqueryinteger | null—
ramqueryinteger | null—

Responses

  • 200Successful Response
  • 422Validation error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X GET "https://api.nimbusnexus.net/api/v1/pricing/vm?architecture=example&vm_class=example" \
  -H "Authorization: Bearer $NIMBUS_KEY"

Need to make a real call? Try these endpoints in the live Swagger UI →