Use our REST API to integrate with Zapier, n8n, Make.com, or build custom integrations. Automate your pricing workflows and connect to thousands of apps.
Test the API with a simple GET request to fetch your products:
curl -X GET "https://pricingforge.com/api/products" \ -H "x-api-key: your-api-key-here"
Use your API key in Zapier, n8n, or your custom application to start automating!
All endpoints require authentication with your API key via the x-api-key header
/api/productsList all productscurl -X GET "https://pricingforge.com/api/products" \
-H "x-api-key: rpk_your_key_here"
# Response:
{
"success": true,
"data": [
{
"id": "prod_123",
"name": "Premium Coffee Blend",
"type": "product",
"sellingPrice": 22.00,
"marginPercentage": 40,
"calculatedCost": 15.50,
"isActive": true
}
],
"count": 1
}/api/productsCreate a new productcurl -X POST "https://pricingforge.com/api/products" \
-H "x-api-key: rpk_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"name": "Artisan Bread",
"type": "product",
"description": "Handmade sourdough bread",
"items": [
{"itemId": "item_flour_123", "quantity": 0.5},
{"itemId": "item_yeast_456", "quantity": 0.01}
],
"laborHours": 2,
"marginPercentage": 50,
"sellingPrice": 8.50
}'
# Response:
{
"success": true,
"data": {
"id": "prod_789",
"name": "Artisan Bread",
"type": "product",
"sellingPrice": 8.50,
"createdAt": "2025-11-12T10:30:00Z"
},
"message": "Product created successfully"
}/api/products/importImport all products (replace)⚠️ Replaces allcurl -X POST "https://pricingforge.com/api/products/import" \
-H "x-api-key: rpk_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"products": [
{
"name": "Product 1",
"type": "product",
"sellingPrice": 25.00,
"marginPercentage": 30
},
{
"name": "Service 1",
"type": "service",
"sellingPrice": 100.00,
"laborHours": 2
}
]
}'
# Response:
{
"success": true,
"message": "Successfully imported 2 products",
"count": 2
}/api/products/mergeMerge products (add/update)✓ Safe mergecurl -X POST "https://pricingforge.com/api/products/merge" \
-H "x-api-key: rpk_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"products": [
{
"id": "prod_existing_123",
"sellingPrice": 30.00
},
{
"name": "New Product",
"type": "product",
"sellingPrice": 20.00
}
]
}'
# Response:
{
"success": true,
"message": "Merge complete: 1 added, 1 updated, 0 skipped",
"added": 1,
"updated": 1,
"total": 50
}/api/products/{id}Update a productcurl -X PATCH "https://pricingforge.com/api/products/prod_123" \
-H "x-api-key: rpk_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"sellingPrice": 25.00,
"marginPercentage": 35
}'
# Response:
{
"success": true,
"data": {
"id": "prod_123",
"sellingPrice": 25.00,
"updatedAt": "2025-11-12T10:35:00Z"
},
"message": "Product updated successfully"
}/api/itemsList all itemscurl -X GET "https://pricingforge.com/api/items" \
-H "x-api-key: rpk_your_key_here"
# Response:
{
"success": true,
"data": [
{
"id": "item_123",
"name": "Coffee Beans",
"costPerUnit": 12.50,
"unit": "kg",
"category": "raw materials",
"isActive": true
}
],
"count": 1
}/api/itemsCreate a new itemcurl -X POST "https://pricingforge.com/api/items" \
-H "x-api-key: rpk_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"name": "Organic Flour",
"description": "100% organic whole wheat flour",
"costPerUnit": 3.50,
"unit": "kg",
"category": "raw materials"
}'
# Response:
{
"success": true,
"data": {
"id": "item_456",
"name": "Organic Flour",
"costPerUnit": 3.50,
"unit": "kg",
"createdAt": "2025-11-12T10:30:00Z"
},
"message": "Item created successfully"
}/api/items/importImport all items (replace)⚠️ Replaces allcurl -X POST "https://pricingforge.com/api/items/import" \
-H "x-api-key: rpk_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"items": [
{
"name": "Coffee Beans",
"costPerUnit": 12.50,
"unit": "kg",
"category": "raw materials"
},
{
"name": "Sugar",
"costPerUnit": 2.50,
"unit": "kg",
"category": "raw materials"
}
]
}'
# Response:
{
"success": true,
"message": "Successfully imported 2 items",
"count": 2
}/api/items/mergeMerge items (add/update)✓ Safe mergecurl -X POST "https://pricingforge.com/api/items/merge" \
-H "x-api-key: rpk_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"items": [
{
"id": "item_existing_123",
"costPerUnit": 13.00
},
{
"name": "New Item",
"costPerUnit": 5.00,
"unit": "kg",
"category": "supplies"
}
]
}'
# Response:
{
"success": true,
"message": "Merge complete: 1 added, 1 updated",
"added": 1,
"updated": 1,
"total": 100
}/api/items/{id}Update an itemcurl -X PATCH "https://pricingforge.com/api/items/item_123" \
-H "x-api-key: rpk_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"costPerUnit": 13.50
}'
# Response:
{
"success": true,
"data": {
"id": "item_123",
"costPerUnit": 13.50,
"updatedAt": "2025-11-12T10:35:00Z"
},
"message": "Item updated successfully"
}For complete API reference including error codes, rate limits, and advanced usage, check out our comprehensive documentation.
View Full DocumentationPopular automation workflows you can set up in minutes
Sync entire product catalog from spreadsheet with one click
Add products to RealPrice as you add them to your spreadsheet
Automatically update costs when suppliers send new pricing
Keep your team informed about new products
Advanced automation workflows for power users
Keep your product catalog synced with Airtable
Get products → Transform data → Create/Update in AirtableMonitor competitor prices and adjust yours automatically
Scrape competitor → Compare prices → Update if neededGenerate daily pricing reports and email to stakeholders
Get all products → Calculate metrics → Send email reportInclude your API key in the x-api-key header with every request:
# Example: Fetch all products
curl -X GET "https://pricingforge.com/api/products" \
-H "x-api-key: rpk_live_abc123xyz789..."
# Example: Create a new item
curl -X POST "https://pricingforge.com/api/items" \
-H "x-api-key: rpk_live_abc123xyz789..." \
-H "Content-Type: application/json" \
-d '{
"name": "Coffee Beans",
"costPerUnit": 12.50,
"unit": "kg",
"category": "raw materials"
}'Every API response includes headers showing your current rate limit status:
X-RateLimit-Limit: 500 X-RateLimit-Remaining: 450 X-RateLimit-Reset: 1609459200