Here is the documentation:

Software packages

Endpoint /last-version

returns the last version of an artifact, as a single string.

to be used in CI/CD pipline, with shell substitution, to get the last version of a dependency.

usage: 
# Maven
curl "https://api.monperrus.com/last-version?type=maven&groupId=fr.inria.gforge.spoon.labs&artifactId=gumtree-spoon-ast-diff"

# npm
curl "https://api.monperrus.com/last-version?type=npm&packageName=lodash"

# PyPI
curl "https://api.monperrus.com/last-version?type=pypi&packageName=requests"

# NuGet
curl "https://api.monperrus.com/last-version?type=nuget&packageName=Newtonsoft.Json"

# Cargo
curl "https://api.monperrus.com/last-version?type=cargo&packageName=serde"

# Go
curl "https://api.monperrus.com/last-version?type=go&packageName=github.com/gin-gonic/gin"

Endpoint /dockerhub-rss

dockerhub-rss: Docker Hub packages as RSS

Returns an RSS feed with new releases of any public Docker Hub repository. Pluggable into a standard RSS reader.

Usage (HTTP/CGI):
    GET https://api.monperrus.com/dockerhub-rss?<repository>

<repository> is passed as the raw QUERY_STRING, e.g.:
  https://api.monperrus.com/dockerhub-rss?bitnami/wordpress

Endpoint /last-version-github

returns the last version of a GitHub repository.

There are two strategies:
- tags (default): we look at the tags of the repository, and we return the last one.
- releases (&type=release): we look at the releases of the repository, and we return the last one.

usage: 
# based on tags
curl "https://api.monperrus.com/last-version-github?slug=monperrus/crawler-user-agents"

# based on releases
curl "https://api.monperrus.com/last-version-github?slug=INRIA/spoon&type=release"