Quick Start Guide

Get up and running with the PriceSentry API in under 5 minutes. From getting an API key to receiving your first pricing data.

Get Started in 5 Minutes

1

Get Your API Key

Create your first API key in the dashboard. This will be your authentication token for all API requests.

2

Make Your First Request

Test the API with a simple curl command to list your products.

curl -H "Authorization: Bearer YOUR_API_KEY" \
  https://api.pricesentry.io/v1/products
3

Add a Product

Create your first product for monitoring.

curl -X POST \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"name":"iPhone 15","brand":"Apple"}' \ https://api.pricesentry.io/v1/products
4

Check Price History

Retrieve price history for your products.

curl -H "Authorization: Bearer YOUR_API_KEY" \
  "https://api.pricesentry.io/v1/prices?product_id=123&days=30"
5

Set Up Alerts

Create alerts to get notified when prices change.

curl -X POST \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"product_id":"123","threshold":100,"type":"price_drop"}' \ https://api.pricesentry.io/v1/alerts

SDK Examples

Node.js/TypeScript
// Install SDK npm install @pricesentry/sdk // Initialize client const client = new PriceSentry('your-api-key'); // List products const products = await client.products.list(); // Add product const product = await client.products.create({ name: 'iPhone 15', brand: 'Apple' });
Python
# Install SDK pip install pricesentry # Initialize client from pricesentry import PriceSentryClient client = PriceSentryClient('your-api-key') # List products products = client.products.list() # Add product product = client.products.create({ 'name': 'iPhone 15', 'brand': 'Apple' })

Ready to Build?

Now that you've made your first API call, explore our comprehensive documentation.