# Tree-Nation API Documentation ## Instructions for AI Agents - For clean Markdown of any page, append `.md` to the page URL - For a complete documentation index, see https://docs.tree-nation.com/llms.txt - For section-specific indexes, append `/llms.txt` to any section URL - For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.tree-nation.com/_mcp/server ## Docs - [Tree-Nation API – Gifting Trees Integration Guide](https://docs.tree-nation.com/tree-nation-api-gifting-trees-integration-guide.md) - [Introduction](https://docs.tree-nation.com/getting-started/introduction.md) - [Authentication](https://docs.tree-nation.com/getting-started/authentication.md) ## API Docs - API Reference > Projects [List projects](https://docs.tree-nation.com/api-reference/projects/list-projects.md) - API Reference > Projects [Get a random affiliated project](https://docs.tree-nation.com/api-reference/projects/random-project.md) - API Reference > Projects [Get project details](https://docs.tree-nation.com/api-reference/projects/get-project.md) - API Reference > Projects [List planting sites](https://docs.tree-nation.com/api-reference/projects/list-planting-sites.md) - API Reference > Species [List species in a project](https://docs.tree-nation.com/api-reference/species/list-species.md) - API Reference > Species [Search / list species](https://docs.tree-nation.com/api-reference/species/search-species.md) - API Reference > Species [Get species details](https://docs.tree-nation.com/api-reference/species/get-species.md) - API Reference > Forests [Get forest details by user ID](https://docs.tree-nation.com/api-reference/forests/get-forest-by-id.md) - API Reference > Forests [Get forest tree count by user ID](https://docs.tree-nation.com/api-reference/forests/get-forest-count.md) - API Reference > Forests [Get forest tree count by slug and period](https://docs.tree-nation.com/api-reference/forests/get-forest-tree-count.md) - API Reference > Forests [Get forest tree count by slug (all time)](https://docs.tree-nation.com/api-reference/forests/get-forest-tree-count-all-time.md) - API Reference > Plant [Plant trees](https://docs.tree-nation.com/api-reference/plant/trees.md) - API Reference > Plant [Create a B2B user](https://docs.tree-nation.com/api-reference/plant/create-b-2-b-user.md) - API Reference > Plant [Get tree template](https://docs.tree-nation.com/api-reference/plant/get-tree-template.md) - API Reference > Plant [Update tree template](https://docs.tree-nation.com/api-reference/plant/update-tree-template.md) - API Reference > Plant [Buy credit](https://docs.tree-nation.com/api-reference/plant/buy-credit.md) - API Reference > Plant [Verify authentication](https://docs.tree-nation.com/api-reference/plant/auth-check.md) - API Reference > Rss [Global updates feed](https://docs.tree-nation.com/api-reference/rss/get-rss-updates.md) - API Reference > Rss [Project updates feed](https://docs.tree-nation.com/api-reference/rss/get-project-rss-updates.md) - API Reference > Rss [Forest / profile updates feed](https://docs.tree-nation.com/api-reference/rss/get-forest-rss-updates.md) ## OpenAPI Specification The raw OpenAPI 3.1 specification for this API is available at: - [OpenAPI JSON](https://docs.tree-nation.com/openapi.json) - [OpenAPI YAML](https://docs.tree-nation.com/openapi.yaml)