技
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/search | NuGet packages matching a search, most relevant first. |
| GET | /nuget/versions | Every published version of a NuGet package, lowest version first. |
| GET | /nuget/package | The last version the NuGet registration lists for a package: description, license, dependencies by framework. |
| GET | /nuget/release | One version of a NuGet package: description, license, dependencies by framework. |
| GET | /nuget/readme | The README of one version of a NuGet package, as Markdown. |
| GET | /nuget/suggest | Package ids that start with the text, for an autocomplete box. |
search
GET
/v1/nuget/searchNuGet packages matching a search, most relevant first.
scope social:read1 unitcached 30 minpaginated
Parameters
querystring required | Words to search for, such as newtonsoft. e.g. newtonsoft |
limitinteger | Items per page, 1 to 50. default 10 |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
9 fields
authors | string[] |
description | string |
id | string |
projectUrl | string |
tags | string[] |
title | string |
totalDownloads | integer (int64) |
verified | boolean |
version | string |
curl "https://api.hoshime.com/v1/nuget/search?query=newtonsoft" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/nuget/search?query=newtonsoft", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/nuget/search?query=newtonsoft", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "authors": [ "James Newton-King" ], "description": "Json.NET is a popular high-performance JSON framework for .NET", "id": "Newtonsoft.Json", "projectUrl": "https://www.newtonsoft.com/json", "tags": [ "json" ], "title": "Json.NET", "totalDownloads": 9739776851, "verified": true, "version": "13.0.4" }, { "authors": [ "James Newton-King" ], "description": "Json.NET BSON adds support for reading and writing BSON", "id": "Newtonsoft.Json.Bson", "projectUrl": "http://www.newtonsoft.com/json", "tags": [ "bson" ], "title": "Newtonsoft.Json.Bson", "totalDownloads": 1465230713, "verified": true, "version": "1.0.3" } ], "meta": { "cached": false, "endpoint": "search", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "nuget", "requestId": "req_2Xb9kQ…", "units": 1 } }
versions
GET
/v1/nuget/versionsEvery published version of a NuGet package, lowest version first.
scope social:read1 unitcached 1 h
Parameters
idstring required | Package id, such as Newtonsoft.Json. e.g. Newtonsoft.Json |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
id | string |
items | Version[] |
version | string |
curl "https://api.hoshime.com/v1/nuget/versions?id=Newtonsoft.Json" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/nuget/versions?id=Newtonsoft.Json", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/nuget/versions?id=Newtonsoft.Json", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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/packageThe last version the NuGet registration lists for a package: description, license, dependencies by framework.
scope social:read1 unitcached 1 h
Parameters
idstring required | Package id, such as Newtonsoft.Json. e.g. Newtonsoft.Json |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
authors | string |
dependencyGroups | DependencyGroup[] |
dependencies | Dependency[] |
id | string |
range | string |
targetFramework | string |
description | string |
id | string |
isPrerelease | boolean |
licenseExpression | string |
listed | boolean |
projectUrl | string |
publishedAt | string |
title | string |
version | string |
curl "https://api.hoshime.com/v1/nuget/package?id=Newtonsoft.Json" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/nuget/package?id=Newtonsoft.Json", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/nuget/package?id=Newtonsoft.Json", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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/releaseOne version of a NuGet package: description, license, dependencies by framework.
scope social:read1 unitcached 24 h
Parameters
idstring required | Package id, such as Newtonsoft.Json. e.g. Newtonsoft.Json |
versionstring required | Version, such as 13.0.3. e.g. 13.0.3 |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
authors | string |
dependencyGroups | DependencyGroup[] |
dependencies | Dependency[] |
id | string |
range | string |
targetFramework | string |
description | string |
id | string |
isPrerelease | boolean |
licenseExpression | string |
listed | boolean |
projectUrl | string |
publishedAt | string |
title | string |
version | string |
curl "https://api.hoshime.com/v1/nuget/release?id=Newtonsoft.Json&version=13.0.3" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/nuget/release?id=Newtonsoft.Json&version=13.0.3", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/nuget/release?id=Newtonsoft.Json&version=13.0.3", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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/readmeThe README of one version of a NuGet package, as Markdown.
scope social:read1 unitcached 24 h
Parameters
idstring required | Package id, such as Newtonsoft.Json. e.g. Newtonsoft.Json |
versionstring required | Version, such as 13.0.3. e.g. 13.0.3 |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
id | string |
markdown | string |
version | string |
curl "https://api.hoshime.com/v1/nuget/readme?id=Newtonsoft.Json&version=13.0.3" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/nuget/readme?id=Newtonsoft.Json&version=13.0.3", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/nuget/readme?id=Newtonsoft.Json&version=13.0.3", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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/suggestPackage ids that start with the text, for an autocomplete box.
scope social:read1 unitcached 1 hpaginated
Parameters
querystring required | The start of a package id, such as newton. e.g. newton |
limitinteger | Items per page, 1 to 50. default 10 |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
id | string |
curl "https://api.hoshime.com/v1/nuget/suggest?query=newton" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/nuget/suggest?query=newton", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/nuget/suggest?query=newton", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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 } }