{
  "x402Version": 2,
  "id": 71931,
  "slug": "saylorinnovations-api-semver-resolve",
  "resource": "https://saylorinnovations.com/api/semver/resolve",
  "description": "Semver resolver - best satisfying version, latest stable and safe upgrade advice from a version list",
  "type": "http",
  "serviceName": "Saylor Innovations  Semver Resol",
  "mimeType": "application/json",
  "resourceType": "API",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "So11111111111111111111111111111111111111112",
      "amount": "95830",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "type": "object",
    "properties": {
      "range": {
        "type": "string",
        "description": "Range covered by the data"
      },
      "candidates": {
        "type": "number"
      },
      "max_satisfying": {
        "type": "string",
        "description": "Max satisfying"
      },
      "max_satisfying_stable": {
        "type": "string",
        "description": "Max satisfying stable"
      },
      "min_satisfying": {
        "type": "string",
        "description": "Min satisfying"
      },
      "matching_versions": {
        "type": "array",
        "description": "Matching versions"
      },
      "latest_stable": {
        "type": "string",
        "description": "Latest stable"
      },
      "newest_patch_upgrade": {
        "type": "string",
        "description": "Newest patch upgrade"
      },
      "newest_minor_upgrade": {
        "type": "string",
        "description": "Newest minor upgrade"
      },
      "newest_major_upgrade": {
        "type": "string",
        "description": "Newest major upgrade"
      },
      "safe_upgrade_recommendation": {
        "type": "string",
        "description": "Safe upgrade recommendation"
      },
      "breaking_upgrade_available": {
        "type": "boolean",
        "description": "Breaking upgrade available"
      },
      "scope_note": {
        "type": "string",
        "description": "What this data covers and what it leaves out"
      }
    },
    "required": [
      "range",
      "max_satisfying",
      "latest_stable"
    ]
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "type": "http",
          "method": "GET",
          "queryParams": {
            "current": "1.2.0",
            "range": "^1.2.0",
            "versions": "1.2.0,1.2.5,1.10.3,2.0.0-rc.1,2.0.0,2.1.0"
          }
        },
        "output": {
          "type": "json",
          "example": {
            "range": "^1.2.0",
            "max_satisfying": "1.10.3",
            "latest_stable": "2.1.0",
            "safe_upgrade_recommendation": "1.10.3",
            "breaking_upgrade_available": true
          }
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "input": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "http"
              },
              "method": {
                "type": "string",
                "enum": [
                  "GET"
                ]
              },
              "queryParams": {
                "type": "object",
                "properties": {
                  "current": {
                    "type": "string",
                    "description": "optional installed version, enables upgrade advice (query)"
                  },
                  "range": {
                    "type": "string",
                    "description": "optional range such as ^1.2.0, default * (query)"
                  },
                  "versions": {
                    "type": "string",
                    "description": "required comma-separated available versions, e.g. from npm view or PyPI (query)"
                  }
                },
                "required": [
                  "versions"
                ]
              }
            },
            "required": [
              "type",
              "method"
            ],
            "additionalProperties": false
          },
          "output": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "json"
              },
              "example": {
                "type": "object",
                "properties": {
                  "range": {
                    "type": "string",
                    "description": "Range covered by the data"
                  },
                  "candidates": {
                    "type": "number"
                  },
                  "max_satisfying": {
                    "type": "string",
                    "description": "Max satisfying"
                  },
                  "max_satisfying_stable": {
                    "type": "string",
                    "description": "Max satisfying stable"
                  },
                  "min_satisfying": {
                    "type": "string",
                    "description": "Min satisfying"
                  },
                  "matching_versions": {
                    "type": "array",
                    "description": "Matching versions"
                  },
                  "latest_stable": {
                    "type": "string",
                    "description": "Latest stable"
                  },
                  "newest_patch_upgrade": {
                    "type": "string",
                    "description": "Newest patch upgrade"
                  },
                  "newest_minor_upgrade": {
                    "type": "string",
                    "description": "Newest minor upgrade"
                  },
                  "newest_major_upgrade": {
                    "type": "string",
                    "description": "Newest major upgrade"
                  },
                  "safe_upgrade_recommendation": {
                    "type": "string",
                    "description": "Safe upgrade recommendation"
                  },
                  "breaking_upgrade_available": {
                    "type": "boolean",
                    "description": "Breaking upgrade available"
                  },
                  "scope_note": {
                    "type": "string",
                    "description": "What this data covers and what it leaves out"
                  }
                },
                "required": [
                  "range",
                  "max_satisfying",
                  "latest_stable"
                ]
              }
            },
            "required": [
              "type"
            ]
          }
        },
        "required": [
          "input"
        ]
      }
    }
  },
  "tags": [
    "semver",
    "version",
    "npm",
    "dependency"
  ],
  "sourceHost": "saylorinnovations.com",
  "lastUpdated": "2026-10-26T22:14:01.831Z",
  "quality": {},
  "metadata": {
    "serviceName": "Saylor Innovations  Semver Resol",
    "method": "GET",
    "mimeType": "application/json",
    "inputSchema": {
      "type": "object",
      "properties": {
        "current": {
          "type": "string",
          "description": "optional installed version, enables upgrade advice (query)"
        },
        "range": {
          "type": "string",
          "description": "optional range such as ^1.2.0, default * (query)"
        },
        "versions": {
          "type": "string",
          "description": "required comma-separated available versions, e.g. from npm view or PyPI (query)"
        }
      },
      "required": [
        "versions"
      ]
    },
    "exampleResponse": {
      "range": "^1.2.0",
      "max_satisfying": "1.10.3",
      "latest_stable": "2.1.0",
      "safe_upgrade_recommendation": "1.10.3",
      "breaking_upgrade_available": true
    },
    "parameterLocation": "query",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "current": "1.2.0",
              "range": "^1.2.0",
              "versions": "1.2.0,1.2.5,1.10.3,2.0.0-rc.1,2.0.0,2.1.0"
            }
          },
          "output": {
            "type": "json",
            "example": {
              "range": "^1.2.0",
              "max_satisfying": "1.10.3",
              "latest_stable": "2.1.0",
              "safe_upgrade_recommendation": "1.10.3",
              "breaking_upgrade_available": true
            }
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "type": "object",
          "properties": {
            "input": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "http"
                },
                "method": {
                  "type": "string",
                  "enum": [
                    "GET"
                  ]
                },
                "queryParams": {
                  "type": "object",
                  "properties": {
                    "current": {
                      "type": "string",
                      "description": "optional installed version, enables upgrade advice (query)"
                    },
                    "range": {
                      "type": "string",
                      "description": "optional range such as ^1.2.0, default * (query)"
                    },
                    "versions": {
                      "type": "string",
                      "description": "required comma-separated available versions, e.g. from npm view or PyPI (query)"
                    }
                  },
                  "required": [
                    "versions"
                  ]
                }
              },
              "required": [
                "type",
                "method"
              ],
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "json"
                },
                "example": {
                  "type": "object",
                  "properties": {
                    "range": {
                      "type": "string",
                      "description": "Range covered by the data"
                    },
                    "candidates": {
                      "type": "number"
                    },
                    "max_satisfying": {
                      "type": "string",
                      "description": "Max satisfying"
                    },
                    "max_satisfying_stable": {
                      "type": "string",
                      "description": "Max satisfying stable"
                    },
                    "min_satisfying": {
                      "type": "string",
                      "description": "Min satisfying"
                    },
                    "matching_versions": {
                      "type": "array",
                      "description": "Matching versions"
                    },
                    "latest_stable": {
                      "type": "string",
                      "description": "Latest stable"
                    },
                    "newest_patch_upgrade": {
                      "type": "string",
                      "description": "Newest patch upgrade"
                    },
                    "newest_minor_upgrade": {
                      "type": "string",
                      "description": "Newest minor upgrade"
                    },
                    "newest_major_upgrade": {
                      "type": "string",
                      "description": "Newest major upgrade"
                    },
                    "safe_upgrade_recommendation": {
                      "type": "string",
                      "description": "Safe upgrade recommendation"
                    },
                    "breaking_upgrade_available": {
                      "type": "boolean",
                      "description": "Breaking upgrade available"
                    },
                    "scope_note": {
                      "type": "string",
                      "description": "What this data covers and what it leaves out"
                    }
                  },
                  "required": [
                    "range",
                    "max_satisfying",
                    "latest_stable"
                  ]
                }
              },
              "required": [
                "type"
              ]
            }
          },
          "required": [
            "input"
          ]
        }
      }
    },
    "examples": [
      {
        "label": "Unpaid discovery call",
        "method": "GET",
        "url": "https://saylorinnovations.com/api/semver/resolve?versions=1.2.0,1.2.5,1.10.3,2.0.0-rc.1,2.0.0,2.1.0&range=%5E1.2.0&current=1.2.0",
        "expectedStatus": 402
      }
    ],
    "cacheTtlSeconds": 0,
    "capabilities": [],
    "noAccountRequired": true,
    "noApiKeyRequired": true,
    "sideEffects": "Paid calls settle the advertised payment; see the provider contract for execution behavior.",
    "payment": {
      "protocol": "x402",
      "settlement": "direct-to-provider"
    },
    "provider": {
      "name": "Saylor Innovations",
      "host": "saylorinnovations.com",
      "manifestUrl": "https://saylorinnovations.com/.well-known/x402.json"
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": true,
  "featured": false,
  "provider": {
    "host": "saylorinnovations.com",
    "manifest_name": "Saylor Innovations Knowledge Base",
    "source": "submitted",
    "source_manifest_url": "https://saylorinnovations.com/.well-known/x402.json",
    "submitted_at": "2026-10-26T05:52:02.113Z"
  },
  "exampleResponse": {
    "range": "string",
    "candidates": 0,
    "max_satisfying": "string",
    "max_satisfying_stable": "string",
    "min_satisfying": "string",
    "matching_versions": [
      "value"
    ],
    "latest_stable": "string",
    "newest_patch_upgrade": "string",
    "newest_minor_upgrade": "string",
    "newest_major_upgrade": "string",
    "safe_upgrade_recommendation": "string",
    "breaking_upgrade_available": true,
    "scope_note": "string"
  }
}