API Documentation
Complete guide to integrating with Price Monitor
Introduction
Welcome to the Price Monitor API! Our RESTful API allows you to integrate your applications with our platform programmatically.
Base URL: https://dev.price-monitor.com/api/v1/
Authentication
All API requests require authentication using an API key. Include your API key in the Authorization header:
Authorization: Bearer sk_live_your_api_key_here
You can manage your API keys in your account settings.
API Endpoints
Get current authenticated user information
curl -H "Authorization: Bearer YOUR_API_KEY" \
https://dev.price-monitor.com/api/v1/me
Get user profile with full details
curl -H "Authorization: Bearer YOUR_API_KEY" \
https://dev.price-monitor.com/api/v1/profile
List all API keys for the authenticated user
Error Handling
The API uses standard HTTP response codes:
200- Success400- Bad Request401- Unauthorized403- Forbidden404- Not Found500- Internal Server Error
Error responses include a JSON body with details:
{
"error": "Invalid API key",
"message": "The provided API key is invalid"
}
Rate Limits
API rate limits vary by plan:
- Free: 100 requests/hour
- Pro: 1,000 requests/hour
- Enterprise: 10,000 requests/hour
Webhooks
Webhooks allow you to receive real-time notifications about events in your account. Configure webhooks in your account settings.
SDKs & Libraries
Official SDKs are available for:
- Python:
pip install pricemonitor-sdk - JavaScript:
npm install pricemonitor-sdk - PHP:
composer require pricemonitor/sdk - Ruby:
gem install pricemonitor