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 parameters
  • 401 - Unauthorized: Invalid or missing API key
  • 403 - Forbidden: Insufficient permissions
  • 429 - Too Many Requests: Rate limit exceeded
  • 500 - 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.

PlanStandard EndpointsData-Heavy Endpoints
Free100/min20/min
Starter250/min50/min
Pro1,000/min200/min
Business3,000/min600/min
Enterprise10,000/min2,000/min

All Endpoints(26)

GET
Current Weather
/weather/current
Get current weather conditions for a location
GET
5-Day Forecast
/weather/forecast
Get 5-day weather forecast for a location
GET
Stock Quote
/finance/stock
Get real-time stock price and market data
GET
Crypto Price
/finance/crypto
Get cryptocurrency prices in various currencies
GET
Currency Exchange
/finance/exchange
Get currency exchange rates
GET
Geocode
/geo/geocode
Convert address to coordinates
GET
Reverse Geocode
/geo/reverse
Convert coordinates to address
GET
IP Lookup
/geo/ip
Get location data from IP address
GET
Public Holidays
/holidays/public
List public holidays by country, state, year, and month
GET
Check Public Holiday
/holidays/public/check
Check if a specific date is a public holiday
GET
School Holidays
/holidays/school
List school holiday periods for a region
GET
Check School Holiday
/holidays/school/check
Check if a specific date falls within school holidays
GET
All Holidays
/holidays/all
Get combined public and school holidays for comprehensive planning
GET
Current Time
/time/current
Get current time in any timezone
GET
Convert Time
/time/convert
Convert time between different timezones
GET
Business Days
/time/business-days
Calculate business days between dates, excluding weekends and optionally public holidays
GET
Countries
/reference/countries
List all countries with their ISO codes, capitals, and regions
GET
States
/reference/states
Get states, provinces, or administrative divisions for a country
GET
Currencies
/reference/currencies
List world currencies with their codes, symbols, and details
GET
Email Validation
/utils/email/validate
Validate email address format and deliverability
POST
URL Shortener
/utils/url/shorten
Create a shortened URL
GET
QR Code Generator
/utils/qr
Generate a QR code image
GET
UUID Generator
/data/uuid
Generate unique UUIDs
GET
Random Data
/data/random
Generate random data (names, addresses, etc.)
POST
Image Resize
/media/image/resize
Resize an image to specified dimensions
GET
Placeholder Image
/media/placeholder
Generate placeholder images