API Documentation
Access our tools programmatically through our API.
Overview
Our API allows developers to integrate our utility tools into their own applications. Currently, we offer access to select calculators and converters.
Authentication
To use our API, you'll need an API key. Currently, API access is limited. Please contact us to request access.
Base URL
All API endpoints are relative to:
https://api.rajubhi.site/v1/
Endpoints
Password Generator
POST /password/generate
Parameters:
length
(integer): Password length (8-64)uppercase
(boolean): Include uppercase letterslowercase
(boolean): Include lowercase lettersnumbers
(boolean): Include numberssymbols
(boolean): Include symbols
Unit Converter
POST /convert
Parameters:
value
(number): Value to convertfrom
(string): Source unitto
(string): Target unittype
(string): Conversion type (length, weight, temperature, etc.)
Currency Converter
GET /currency/convert?from=USD&to=EUR&amount=100
Parameters:
from
(string): Source currency code (e.g., USD)to
(string): Target currency code (e.g., EUR)amount
(number): Amount to convert
Response Format
All responses are in JSON format. Successful requests return HTTP 200 with the following structure:
{
"success": true,
"data": {
// endpoint-specific data
}
}
Error responses include an error message and appropriate HTTP status code:
{
"success": false,
"error": "Invalid API key"
}
Rate Limiting
The API is currently limited to 100 requests per hour per API key. Additional rate limits may apply to specific endpoints.
Terms of Use
By using our API, you agree to:
- Use the API only for lawful purposes
- Not attempt to circumvent rate limits
- Not use the API in a manner that could damage our services
- Include proper attribution where appropriate
Contact
For API access or questions, please contact us at contact@rajubhi.site.