API
Documentation
Build with BLearner. Powerful, FERPA-compliant APIs for schools, districts, and EdTech platforms looking to integrate personalized learning.
Base URL
https://api.blearner.site/v1Getting started
The BLearner API allows schools and EdTech platforms to integrate personalized learning experiences into their existing systems. Access student profiles, progress data, lesson recommendations, and more.
API keys
All API requests require authentication using API keys. Include your key in the Authorization header on every request.
Authorization: Bearer YOUR_API_KEY
Keep your API key secure
Never share your API key publicly. If compromised, regenerate it immediately from your dashboard.
API endpoints
/student1Retrieve a list of all students in your school or district.
Example response▼
{
"students": [
{
"id": "student_123",
"name": "Emma Johnson",
"age": 9,
"grade": 4,
"learning_style": "visual",
"subjects": ["math", "reading"]
}
],
"total": 150,
"page": 1
}/student2Create a new student profile and enroll them in BLearner.
Example response▼
{
"name": "Emma Johnson",
"age": 9,
"grade": 4,
"email": "emma@school.edu",
"parent_email": "parent@example.com"
}/student3/{student_id}/progressGet detailed progress and performance data for a specific student.
Example response▼
{
"student_id": "student_123",
"subjects": {
"math": { "mastery": 78, "lessons_completed": 24, "hours_spent": 12.5 },
"reading": { "mastery": 85, "lessons_completed": 18, "hours_spent": 9.2 }
},
"overall_progress": 82
}/lessons/recommendationsFetch AI-generated lesson recommendations tailored to a student.
Webhooks & events
Receive real-time notifications when important events occur in your account.
student.enrolledlesson.completedmilestone.achievedprogress.updatedbrain_report.generatedalert.triggeredRate limits
X-RateLimit-Limit: 100 X-RateLimit-Remaining: 87 X-RateLimit-Reset: 1714000000
School district integration
Full district-wide integration with roster management, single sign-on, and compliance features built in.
Features
Supported systems
Best practices
Use pagination for large datasets
Limit requests with page and limit parameters to improve performance.
Implement retry logic with exponential backoff
Handle temporary failures gracefully with proper retry strategies.
Cache responses appropriately
Use Cache-Control headers and ETags to reduce unnecessary requests.
Monitor rate limits and quota usage
Check rate limit headers and adjust request frequency as needed.
Need help integrating?
Our API team is ready to help with integration, troubleshooting, and custom enterprise solutions.