Developer API
Access current book prices and historical pricing data from BookRadar's constantly updating database.
Introduction
The BookRadar API is a RESTful JSON API. You can use any standard HTTP client to interact with it. All responses are returned as JSON.
Base URL: https://bookradar-bqvy.onrender.com/api/v1
Authentication
All requests to the API must include your API key in the X-API-Key header.
X-API-Key: br_your_api_key_here
Rate Limits & Tiers
Your API key is assigned to a specific tier. Each tier has a daily request limit and determines how much historical data you can access.
| Tier | Requests/Day | History Access |
|---|---|---|
| FREE | 100 | No historical data |
| STARTER | 10,000 | Last 30 days |
| PRO | 50,000 | Full history |
Every successful response includes X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset headers so you can track your usage.
Endpoints
Get Book Price
Fetches the latest tracked price for a single book. You can pass just the ISBN or the full Bookswagon URL.
curl -X GET "https://bookradar-bqvy.onrender.com/api/v1/book/9780143454414" \
-H "X-API-Key: br_your_api_key_here"
{
"url": "https://www.bookswagon.com/book/...",
"title": "20th Century Boys: The Perfect Edition, Vol. 1",
"current_price": 1362,
"mrp": 2162,
"cover_url": "https://...",
"last_checked": "2026-10-31T12:17:33.336821+00:00"
}
Get Price History
Fetches the historical price data points for a book. Requires a Starter or Pro tier key.
curl -X GET "https://bookradar-bqvy.onrender.com/api/v1/history/9780143454414" \
-H "X-API-Key: br_your_api_key_here"
{
"url": "https://www.bookswagon.com/book/...",
"isbn": "9780143454414",
"history": [
{ "price": 1400, "checked_at": "2026-10-01T..." },
{ "price": 1362, "checked_at": "2026-10-31T..." }
]
}
Check Usage
Returns information about your API key, including your current daily usage and remaining requests.
{
"tier": "free",
"label": "test",
"created_at": "2026-10-31T18:24:54...",
"usage_today": 12,
"daily_limit": 100,
"remaining": 88
}
Error Codes
The API uses standard HTTP response codes to indicate the success or failure of a request.
| Code | Meaning | Description |
|---|---|---|
| 401 | Unauthorized | Missing or invalid X-API-Key header. |
| 403 | Forbidden | Your tier does not have access to this endpoint (e.g. Free tier accessing history). |
| 404 | Not Found | The requested book/ISBN is not currently tracked in our database. |
| 429 | Too Many Requests | You have exceeded your daily rate limit. |