API Documentation
Explore our comprehensive API with 26 endpoints
Authentication
All API requests require authentication using an API key
Include your API key in the X-API-Key header with every request.
curl "https://api.myopenapis.com/endpoint" \
-H "X-API-Key: your-api-key"Don't have an API key? Sign up for free to get started.
Error Handling
All errors follow a consistent format
{
"success": false,
"error": {
"code": "INVALID_API_KEY",
"message": "The provided API key is invalid"
}
}Common Error Codes
400- Bad Request: Invalid parameters401- Unauthorized: Invalid or missing API key403- Forbidden: Insufficient permissions429- Too Many Requests: Rate limit exceeded500- Internal Server Error
Rate Limits
Rate limits vary by plan and endpoint
Rate limits are applied per API key and reset every minute. When you exceed the limit, requests return a 429 status code.
| Plan | Standard Endpoints | Data-Heavy Endpoints |
|---|---|---|
| Free | 100/min | 20/min |
| Starter | 250/min | 50/min |
| Pro | 1,000/min | 200/min |
| Business | 3,000/min | 600/min |
| Enterprise | 10,000/min | 2,000/min |
All Endpoints(26)
GET
Current Weather
/weather/currentGet current weather conditions for a location
GET
5-Day Forecast
/weather/forecastGet 5-day weather forecast for a location
GET
Stock Quote
/finance/stockGet real-time stock price and market data
GET
Crypto Price
/finance/cryptoGet cryptocurrency prices in various currencies
GET
Currency Exchange
/finance/exchangeGet currency exchange rates
GET
Geocode
/geo/geocodeConvert address to coordinates
GET
Reverse Geocode
/geo/reverseConvert coordinates to address
GET
IP Lookup
/geo/ipGet location data from IP address
GET
Public Holidays
/holidays/publicList public holidays by country, state, year, and month
GET
Check Public Holiday
/holidays/public/checkCheck if a specific date is a public holiday
GET
School Holidays
/holidays/schoolList school holiday periods for a region
GET
Check School Holiday
/holidays/school/checkCheck if a specific date falls within school holidays
GET
All Holidays
/holidays/allGet combined public and school holidays for comprehensive planning
GET
Current Time
/time/currentGet current time in any timezone
GET
Convert Time
/time/convertConvert time between different timezones
GET
Business Days
/time/business-daysCalculate business days between dates, excluding weekends and optionally public holidays
GET
Countries
/reference/countriesList all countries with their ISO codes, capitals, and regions
GET
States
/reference/statesGet states, provinces, or administrative divisions for a country
GET
Currencies
/reference/currenciesList world currencies with their codes, symbols, and details
GET
Email Validation
/utils/email/validateValidate email address format and deliverability
POST
URL Shortener
/utils/url/shortenCreate a shortened URL
GET
QR Code Generator
/utils/qrGenerate a QR code image
GET
UUID Generator
/data/uuidGenerate unique UUIDs
GET
Random Data
/data/randomGenerate random data (names, addresses, etc.)
POST
Image Resize
/media/image/resizeResize an image to specified dimensions
GET
Placeholder Image
/media/placeholderGenerate placeholder images