-
Notifications
You must be signed in to change notification settings - Fork 0
API_REFERENCE.md
This document describes the public APIs and developer interfaces available within the CeloHT ecosystem.
Status: Under Active Development
As the CeloHT platform evolves, additional API endpoints and services will be documented here.
The CeloHT API enables developers to integrate with community services, educational resources, impact data, and blockchain-powered applications.
- RESTful architecture
- JSON responses
- HTTPS only
- Secure authentication
- Versioned endpoints
- Open-source documentation
Production
https://api.celoht.org/v1
Development
https://dev-api.celoht.org/v1
Some endpoints require authentication.
Example:
Authorization: Bearer YOUR_ACCESS_TOKENSuccessful responses
{
"success": true,
"data": {}
}Error responses
{
"success": false,
"error": {
"code": 404,
"message": "Resource not found"
}
}GET /healthResponse
{
"status": "ok",
"version": "1.0.0"
}GET /programsReturns all active CeloHT programs.
GET /education/coursesReturns available educational courses.
GET /agentsReturns verified community agents.
GET /reforestationReturns active environmental initiatives.
GET /impactReturns ecosystem impact metrics.
GET /partnersReturns official partners.
GET /newsReturns latest announcements.
Authentication required.
Examples:
POST /agents/register
POST /education/certificates
POST /governance/proposals
POST /governance/vote
Default limits
- 100 requests per minute
- Burst protection enabled
Higher limits may be available for approved partners.
| Code | Meaning |
|---|---|
| 200 | Success |
| 201 | Created |
| 400 | Bad Request |
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Not Found |
| 409 | Conflict |
| 429 | Too Many Requests |
| 500 | Internal Server Error |
The API uses semantic versioning.
Example
/v1/
/v2/
Breaking changes are introduced only in new major versions.
All API traffic uses HTTPS.
Security features include:
- TLS encryption
- Authentication tokens
- Rate limiting
- Request validation
- Input sanitization
- Logging and monitoring
Future SDKs may include:
- JavaScript
- TypeScript
- Python
- Go
- Dart
- Rust
curl https://api.celoht.org/v1/programs{
"success": true,
"data": [
{
"id": "education",
"name": "Financial Education"
},
{
"id": "agents",
"name": "Agent Network"
},
{
"id": "reforestation",
"name": "Reforestation"
}
]
}All API updates are documented in the project's CHANGELOG.md.
If you discover a bug or have questions about the API:
- Open a GitHub Issue
- Start a GitHub Discussion
- Contact the CeloHT maintainers
The CeloHT API is developed as part of the CeloHT open-source ecosystem and follows the project's official licensing terms.
© 2026 CeloHT - Open Source. Global Impact. Licensed under MIT.
Welcome to the official CeloHT documentation. This knowledge base provides comprehensive documentation for users, developers, contributors, partners, researchers, and ecosystem participants. Explore architecture, APIs, smart contracts, developer guides, governance, security, educational resources, roadmap, transparency reports, and community initiatives. Built with openness, collaboration, and long-term sustainability in mind, the CeloHT documentation follows international open-source documentation standards to make learning, building, and contributing accessible to everyone.