REST API Documentation
API của chúng tôi cho phép bạn truy cập dữ liệu truyện programmatically.
Base URL
https://api.blogtruyentranh.com/v1
Authentication
Sử dụng API key trong header:
Authorization: Bearer YOUR_API_KEY
Endpoints
GET /stories
Lấy danh sách truyện
{
"stories": [...]
}
GET /stories/{id}
Lấy chi tiết một truyện
GET /chapters/{id}
Lấy nội dung chapter
Rate Limiting
1000 requests/hour cho mỗi API key
Đăng Ký API Key
Email: api@blogtruyentranh.com
Free tier: 1000 req/hour
Premium tier: Unlimited