GAGPedia

GAGPedia Developer API

Build bots, dashboards, and spreadsheets on top of live Grow a Garden data. GAGPedia exposes free public JSON endpoints for items, pets, mutations, and events — no API key required. All endpoints are CORS-enabled and return JSON with source, updated_at, count, and data fields.

Available endpoints

Four GET endpoints cover the whole GAGPedia dataset: /api/items returns every active plant with base_value, category, rarity, emoji and updated_at; /api/pets returns base_xp_per_second and display data for all 372 pets; /api/mutations lists every mutation multiplier and applies_to scope; /api/events covers active and past events. All are public and cacheable for 5 minutes.

Response shape and caching

Every response is { source: "GAGPedia", url: "https://gagpedia.com", updated: ISO timestamp, count: number, data: [] }. Cache on your side for 5 minutes and respect fair-use limits. Check updated_at per row to know what changed and avoid polling faster than once per minute.

JavaScript and Python examples

JavaScript: fetch('https://gagpedia.com/api/items').then(r=>r.json()).then(({data})=>data.forEach(i=>console.log(i.display_name, i.base_value))). Python: requests.get('https://gagpedia.com/api/items').json()['data'] — iterate and print display_name and base_value. Both examples work in browsers, Discord bots, Google Sheets Apps Script, and server scripts.

Frequently Asked Questions

Is the GAGPedia API free?

Yes. All read endpoints are free, public, and require no API key.

How often is the data updated?

Every response includes an updated_at timestamp per row. Values are refreshed regularly with daily sync jobs.

Can I use this API in my Discord bot?

Yes — bots, sheets, and sites are the intended use. Attribution to gagpedia.com is appreciated and CORS is enabled for browser fetches.

Related Pages

GAGPedia is a fan-made resource and is not affiliated with Roblox or the Grow a Garden developers.