SpigotMC / Spiget API

Base: https://api.spiget.org/v2

Spiget REST API for SpigotMC resources — search, details, versions, and download checks.

Handler: SpigotProvider
GET /resources

List Resources

List all SpigotMC resources

Parameter

Name Type Required Description
size integer No Results per page
page integer No Page number
sort string No Sort field e.g. -downloads

Response Example

[{"id":1,"name":"EssentialsX","tag":"The essential plugin","downloads":5000000,"rating":{"average":4.5},"icon":{"url":"data/resource_icons/1/1.jpg"}}]

cURL

curl "https://api.spiget.org/v2/resources?size=5&sort=-downloads"
GET /search/resources/{query}

Search Resources

Full-text search across SpigotMC resources

Parameter

Name Type Required Description
query string Yes Search keyword
size integer No Results per page
page integer No Page number

Response Example

[{"id":9089,"name":"EssentialsX","tag":"The essential plugin suite","downloads":12000000,"updateDate":1700000000}]

cURL

curl "https://api.spiget.org/v2/search/resources/essentials?size=5"
GET /resources/{resourceId}

Get Resource

Get details of a single resource

Parameter

Name Type Required Description
resourceId integer Yes SpigotMC resource ID

Response Example

{"id":9089,"name":"EssentialsX","tag":"The essential plugin suite","downloads":12000000,"rating":{"average":4.8},"versions":[{"id":500000}],"premium":false}

cURL

curl "https://api.spiget.org/v2/resources/9089"
GET /resources/{resourceId}/versions

Get Resource Versions

List all versions of a resource

Parameter

Name Type Required Description
resourceId integer Yes SpigotMC resource ID
size integer No Results per page

Response Example

[{"id":500000,"uuid":"abc123","name":"2.20.1","releaseDate":1700000000,"downloads":50000}]

cURL

curl "https://api.spiget.org/v2/resources/9089/versions?size=5"