API Documentation

This API offers both RESTful and GraphQL endpoints. Let's ranch! 🌟🐌

GraphQL

Objects

An icon of Slimes

Slimes

A list of all slimes in the game

id: ID!name: String!image: String!diet: FoodType!favouriteToy: ToyfavouriteFood: Foodtype: SlimeType!slimepedia: Slimepedia!locations: [Location]properties: [String]games: [Integer!]!
An icon of Foods

Foods

A list of all food in the game

id: ID!name: String!image: String!type: FoodType!favouredBy: Slime!locations: [Location]slimepedia: Slimepedia!
An icon of Locations

Locations

A list of all locations in the game

id: ID!name: String!image: String!slimepedia: Slimepedia!slimes: [Slime]!foods: [Food]!games: [Integer!]!
An icon of Toys

Toys

A list of all toys in the game

id: ID!name: String!description: String!favouredBy: Slime!price: Int!
An icon of Slimepedia

Slimepedia

A Slimepedia entry

about: String!slimeology: String!risks: String!plortonomics: String!ranch: String!

RESTful API

Endpoints

NameMethodEndpointDescription
Resource ListGEThttps://slime-rancher.vercel.app/api/Returns all resource lists as an array
SlimeGEThttps://slime-rancher.vercel.app/api/slime/{slime id}Returns all slimes. If appended with a slime's id, returns only that slime's info.
FoodGEThttps://slime-rancher.vercel.app/api/food/{food id}Returns all foods. If appended with a food's id, returns only that food's info.
LocationGEThttps://slime-rancher.vercel.app/api/location/{location id}Returns all locations. If appended with a location's id, returns only that location's info.
ToyGEThttps://slime-rancher.vercel.app/api/toy/{toy id}Returns all toys. If appended with a toy's id, returns only that toy's info.

Credit

Info is sourced from the Slime Rancher Wiki.Images belong to Monomi Park, developers of Slime Rancher.