---
title: "NuGet API: Package | Perceptlayer"
description: "One NuGet package: latest stable and pre-release versions, downloads, authors, licence, project URL, deprecation and versions."
url: https://perceptlayer.com/apis/nuget/package
---

[APIs](https://perceptlayer.com/apis) / [NuGet](https://perceptlayer.com/apis/nuget) / Package

# NuGet: Package

One NuGet package: latest stable and pre-release versions, downloads, authors, licence, project URL, deprecation and versions.

GET `/v1/nuget/package`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `id` | string | Required | Up to 100 characters Package ID, for example Newtonsoft.Json. Not case-sensitive. |

## Example request

NuGet

GET /v1/nuget/package?id=Newtonsoft.Json 

```
{
  "success": true,
  "data": {
    "id": "Newtonsoft.Json",
    "title": "Json.NET",
    "description": "Json.NET is a popular high-performance JSON framework for .NET",
    "authors": [
      "James Newton-King"
    ],
    "owners": [
      "dotnetfoundation",
      "jamesnk",
      "newtonsoft"
    ],
    "total_downloads": 10038357843,
    "verified": true,
    "tags": [
      "json"
    ],
    "project_url": "https://www.newtonsoft.com/json",
    "deprecated": false,
    "url": "https://www.nuget.org/packages/Newtonsoft.Json",
    "latest_version": "13.0.4",
    "latest_prerelease": "14.0.1-beta2",
    "license": "MIT",
    "license_url": "https://www.nuget.org/packages/Newtonsoft.Json/14.0.1-beta2/license",
    "package_types": [
      "Dependency"
    ],
    "version_count": 55,
    "versions": [
      {
        "version": "14.0.1-beta2",
        "downloads": 151630,
        "published_at": "2026-09-21T10:12:19.923+00:00",
        "prerelease": true,
        "url": "https://www.nuget.org/packages/Newtonsoft.Json/14.0.1-beta2"
      },
      {
        "version": "14.0.1-beta1",
        "downloads": 3520,
        "published_at": "2026-09-21T06:44:49.787+00:00",
        "prerelease": true,
        "url": "https://www.nuget.org/packages/Newtonsoft.Json/14.0.1-beta1"
      },
      {
        "version": "13.0.4",
        "downloads": 368655819,
        "published_at": "2025-09-16T08:13:09.313+00:00",
        "prerelease": false,
        "url": "https://www.nuget.org/packages/Newtonsoft.Json/13.0.4"
      }
    ]
  },
  "meta": {
    "request_id": "req_694f6f924128426495da44f3184689ab",
    "credits_charged": 1,
    "credits_remaining": 489
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/nuget?try=package#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

`data` has these 17 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `id` | string |
| `title` | string |
| `description` | string |
| `authors` | string\[\] |
| `owners` | string\[\] |
| `verified` | boolean |
| `tags` | string\[\] |
| `project_url` | url |
| `deprecated` | boolean |
| `url` | url |
| `latest_version` | string |
| `latest_prerelease` | string |
| `license` | string |
| `license_url` | url |
| `package_types` | string\[\] |
| `version_count` | integer |
| `versions` | object\[\] |
