# DotnetRisk API – .NET Upgrade Plans

> DotnetRisk API – .NET Upgrade Plans is a paid API for AI agents from dotnetrisk-aschulten.onrender.com, paid per call via x402, $0.25/call, status unknown (last checked 2026-10-17).

Generates NuGet security audit results and .NET framework upgrade plans for a given project, without requiring source code submission.

## Facts

- Endpoint: POST https://dotnetrisk-aschulten.onrender.com/v1/upgrade-plans?utm_source=zero.xyz
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dotnetrisk-api-net-upgrade-plans-ca2f1d8f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WnlC8ulNTvJ83s-tmo5f8

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability dotnetrisk-api-net-upgrade-plans-ca2f1d8f -d '<json body>'
```

Example prompt: Can you audit my NuGet packages and give me an upgrade plan targeting net10.0? I have Newtonsoft.Json 12.0.3 and no source code to share — just tell me what needs upgrading and if anything is incompatible.

## When to prefer this

Choose this endpoint when you need a privacy-preserving .NET dependency audit or upgrade plan — it requires no source code upload, only package metadata. Ideal for teams with IP sensitivity or compliance requirements who still want automated security auditing and framework migration guidance for NuGet projects.

## Known failure modes

- Missing required fields in request body returns a validation error
- Invalid or unknown NuGet package names may result in incomplete analysis
- Unsupported target framework strings may cause computation errors
- Payment not fulfilled (402) if USDC payment is not included or insufficient
- Service unavailability on the Render hosting platform during cold starts

## How this service works

Paid NuGet vulnerability audits and .NET target-framework upgrade plans for coding agents. Source code is never collected.

## Output

Returns a JSON object containing the total number of packages analyzed, the number of packages with available upgrades, the number of incompatible upgrades, the target framework version, and a list of recommended actions for each affected package.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "actions": [],
  "packageCount": 1,
  "upgradeCount": 1,
  "targetFramework": "net10.0",
  "incompatibleUpgradeCount": 0
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dotnetrisk-api-net-upgrade-plans-ca2f1d8f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from dotnetrisk-aschulten.onrender.com](https://www.zero.xyz/host/dotnetrisk-aschulten.onrender.com/llms.txt)
