Skip to content

NuGet API

6 endpointsDeveloper & TechGlobalsocial:read5 real examples

Returns NuGet packages from search, with versions, descriptions, licences, dependencies and autocomplete suggestions.

View as Markdown
GET/nuget/searchNuGet packages matching a search, most relevant first.
GET/nuget/versionsEvery published version of a NuGet package, lowest version first.
GET/nuget/packageThe last version the NuGet registration lists for a package: description, license, dependencies by framework.
GET/nuget/releaseOne version of a NuGet package: description, license, dependencies by framework.
GET/nuget/readmeThe README of one version of a NuGet package, as Markdown.
GET/nuget/suggestPackage ids that start with the text, for an autocomplete box.

versions

GET/v1/nuget/versions

Every published version of a NuGet package, lowest version first.

scope social:read1 unitcached 1 h

Parameters

id
string
required
Package id, such as Newtonsoft.Json.
e.g. Newtonsoft.Json
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

3 fields
idstring
itemsVersion[]
versionstring
curl "https://api.hoshime.com/v1/nuget/versions?id=Newtonsoft.Json" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "id": "Newtonsoft.Json",
    "items": [
      {
        "version": "3.5.8"
      },
      {
        "version": "4.0.1"
      }
    ]
  },
  "meta": {
    "cached": false,
    "endpoint": "versions",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "nuget",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

package

GET/v1/nuget/package

The last version the NuGet registration lists for a package: description, license, dependencies by framework.

scope social:read1 unitcached 1 h

Parameters

id
string
required
Package id, such as Newtonsoft.Json.
e.g. Newtonsoft.Json
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

15 fields
authorsstring
dependencyGroupsDependencyGroup[]
dependenciesDependency[]
idstring
rangestring
targetFrameworkstring
descriptionstring
idstring
isPrereleaseboolean
licenseExpressionstring
listedboolean
projectUrlstring
publishedAtstring
titlestring
versionstring
curl "https://api.hoshime.com/v1/nuget/package?id=Newtonsoft.Json" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "authors": "James Newton-King",
    "dependencyGroups": [
      {
        "dependencies": [],
        "targetFramework": "net10.0"
      },
      {
        "dependencies": [],
        "targetFramework": ".NETFramework2.0"
      }
    ],
    "description": "Json.NET is a popular high-performance JSON framework for .NET",
    "id": "Newtonsoft.Json",
    "isPrerelease": false,
    "licenseExpression": "MIT",
    "listed": true,
    "projectUrl": "https://www.newtonsoft.com/json",
    "publishedAt": "2026-09-21T10:12:19Z",
    "title": "Json.NET",
    "version": "14.0.1-beta2"
  },
  "meta": {
    "cached": false,
    "endpoint": "package",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "nuget",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

release

GET/v1/nuget/release

One version of a NuGet package: description, license, dependencies by framework.

scope social:read1 unitcached 24 h

Parameters

id
string
required
Package id, such as Newtonsoft.Json.
e.g. Newtonsoft.Json
version
string
required
Version, such as 13.0.3.
e.g. 13.0.3
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

15 fields
authorsstring
dependencyGroupsDependencyGroup[]
dependenciesDependency[]
idstring
rangestring
targetFrameworkstring
descriptionstring
idstring
isPrereleaseboolean
licenseExpressionstring
listedboolean
projectUrlstring
publishedAtstring
titlestring
versionstring
curl "https://api.hoshime.com/v1/nuget/release?id=Newtonsoft.Json&version=13.0.3" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "authors": "James Newton-King",
    "dependencyGroups": [
      {
        "dependencies": [],
        "targetFramework": ".NETFramework2.0"
      },
      {
        "dependencies": [],
        "targetFramework": ".NETFramework3.5"
      }
    ],
    "description": "Json.NET is a popular high-performance JSON framework for .NET",
    "id": "Newtonsoft.Json",
    "isPrerelease": false,
    "licenseExpression": "MIT",
    "listed": true,
    "projectUrl": "https://www.newtonsoft.com/json",
    "publishedAt": "2023-03-08T07:42:54Z",
    "title": "Json.NET",
    "version": "13.0.3"
  },
  "meta": {
    "cached": false,
    "endpoint": "release",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "nuget",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

readme

GET/v1/nuget/readme

The README of one version of a NuGet package, as Markdown.

scope social:read1 unitcached 24 h

Parameters

id
string
required
Package id, such as Newtonsoft.Json.
e.g. Newtonsoft.Json
version
string
required
Version, such as 13.0.3.
e.g. 13.0.3
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

3 fields
idstring
markdownstring
versionstring
curl "https://api.hoshime.com/v1/nuget/readme?id=Newtonsoft.Json&version=13.0.3" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": {
    "id": "abc123",
    "markdown": "…",
    "version": "…"
  },
  "meta": {
    "cached": false,
    "endpoint": "readme",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "nuget",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

suggest

GET/v1/nuget/suggest

Package ids that start with the text, for an autocomplete box.

scope social:read1 unitcached 1 hpaginated

Parameters

query
string
required
The start of a package id, such as newton.
e.g. newton
limit
integer
Items per page, 1 to 50.
default 10
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

1 fields
idstring
curl "https://api.hoshime.com/v1/nuget/suggest?query=newton" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "id": "Newtonsoft.Json"
    },
    {
      "id": "Newtonsoft.Json.Bson"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "suggest",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "nuget",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}
esc
↑↓ move↵ open