🌐 Documentation is currently available in English only. We're working on translations.

Home / Docs / API Reference / API Endpoints

API Endpoints

Complete reference for all NugetHosting API endpoints.

⏱️ 10 min read

Base URLs

ServiceURL
REST APIhttps://api.nugethosting.com/v1
NuGet Feedhttps://nuget.nugethosting.com/v3/index.json
Container Registryhttps://registry.nugethosting.com

Packages

GET /packages

List all packages in your account.

curl -H "Authorization: Bearer TOKEN" \
  https://api.nugethosting.com/v1/packages
GET /packages/:id

Get details of a specific package.

curl -H "Authorization: Bearer TOKEN" \
  https://api.nugethosting.com/v1/packages/MyPackage
DELETE /packages/:id/:version

Delete a specific package version.

curl -X DELETE -H "Authorization: Bearer TOKEN" \
  https://api.nugethosting.com/v1/packages/MyPackage/1.0.0

Containers

GET /containers

List all container images in your account.

curl -H "Authorization: Bearer TOKEN" \
  https://api.nugethosting.com/v1/containers
DELETE /containers/:name/:tag

Delete a container image tag.

curl -X DELETE -H "Authorization: Bearer TOKEN" \
  https://api.nugethosting.com/v1/containers/my-app/v1.0.0

Tokens

GET /tokens

List all API tokens (token values are not included).

DELETE /tokens/:id

Revoke (delete) an API token.

Account

GET /account

Get current account information and usage statistics.

GET /account/usage

Get detailed usage metrics for the current billing period.

Was this page helpful?