SaleCast
Full REST API

Custom API Custom integration

Integrate SaleCast with your own system or e-commerce platform via our comprehensive REST API. Detailed documentation, SDK libraries, and developer support included.

api.salecast.io
POST
/v1/forecasts
// Response
{"{"}
"product_id": "12345",
"forecast_30d": 245,
"accuracy": 0.95
{"}"}

A modern and comprehensive REST API

All SaleCast features accessible via API

Comprehensive Documentation

Interactive documentation with code examples, guides, and tutorials.

SDK Libraries

Official SDKs available for PHP, Python, Node.js, Ruby, and Java.

Secure Authentication

API Keys with permission management and automatic rotation.

Webhooks

Receive real-time notifications for all important events.

Real-time

Low-latency API with responses in under 200ms on average.

Developer Support

Dedicated technical support for your custom integrations.

Key endpoints available

Access all features via our REST API

GET /v1/forecasts

Retrieve sales forecasts for your products

POST /v1/products

Create or update products in your catalog

GET /v1/inventory

Check your stock status in real-time

POST /v1/orders

Import orders to feed forecasts

GET /v1/recommendations

Get automatic purchase recommendations

GET /v1/analytics

Access analytics data and AI insights

Code examples

Simple and quick integration with your tech stack

require 'vendor/autoload.php';

$salecast = new SaleCast\Client('sk_live_your_api_key');

// Récupérer les prévisions pour un produit
$forecast = $salecast->forecasts()->retrieve('prod_12345');

echo "Prévision 30j: " . $forecast->forecast_30d;
echo "Précision: " . ($forecast->accuracy * 100) . "%";

Official SDK Libraries

Simplified integration with your preferred languages

PHP

PHP 7.2+

Py

Python 3.6+

JS

Node.js 12+

Rb

Ruby 2.5+

Java

Java 8+

Start integrating SaleCast

Sign up for the waiting list to be among the first to access SaleCast and our API.

Lancement prévu début 2025 · Accès prioritaire pour les inscrits

Reconnecting

Establishing Connection

Please wait while we reconnect you to the server...

Connection Interrupted

Retrying in seconds

Connection Failed

Unable to reconnect to the server.
Please retry or reload the page.

Session Paused

Your session has been paused by the server.

Resume Failed

Unable to resume the session.
Please reload the page to continue.

Connected

SaleCast • E-commerce platform