Set up and use API access
Integrate Resell Scan through the available REST API. You create an API key, use bearer auth, and work with Collections, Products, and batch analyses.
In this guide
What the API covers
The API provides access to Collections, Products, manual fields, and batch analyses. It does not replace the AI inventory endpoint: that has its own URLs and header.
Create an API key in the dashboard
Open “Developer” -> “API access” and create a new API key with name, optional description, and optional expiration date.
Store the key immediately
Authenticate requests with bearer token
Send the API key in every request in the Authorization header. The API responds in JSON format.
curl https://app.resell-scan.de/api/v1/collections \
-H "Authorization: Bearer $RESELL_SCAN_API_KEY" \
-H "Content-Type: application/json"const response = await fetch('https://app.resell-scan.de/api/v1/collections?limit=20', {
headers: {
Authorization: `Bearer ${process.env.RESELL_SCAN_API_KEY}`,
'Content-Type': 'application/json',
},
});
if (!response.ok) {
throw new Error(`Resell Scan API error: ${response.status}`);
}
const data = await response.json();Rate limits and permissions
Fetch Collections and Products
Usually start with Collections, choose a collectionId, and then load Products or manual fields.
/api/v1/collectionsFetch Collections, optionally with page, limit, and search.
/api/v1/collections/{collectionId}Fetch one Collection in detail.
/api/v1/collections/{collectionId}/productsFetch Products in a Collection, optionally with include_images and date filters.
/api/v1/collections/{collectionId}/manual-fieldsFetch manual fields for a Collection.
curl "https://app.resell-scan.de/api/v1/collections/{collectionId}/products?include_images=true&limit=50" \
-H "Authorization: Bearer $RESELL_SCAN_API_KEY"Create or analyze Products
For existing Products, start /products/analyze. For new Products with images, use /products/createAndAnalyze.
/api/v1/productsCreate Products without analysis.
/api/v1/products/analyzeStart analysis for existing Product IDs.
/api/v1/products/createAndAnalyzeCreate Products with images and analyze them directly.
{
"collectionId": "00000000-0000-0000-0000-000000000000",
"products": [
{
"images": [
{
"url": "https://example.com/product-front.jpg",
"fileName": "product-front.jpg",
"removeBackground": true
}
],
"manual_fields": {
"purchasePrice": 12.5
}
}
]
}Required fields also apply through the API
Fetch status and results
After starting, you receive a batchId. Use it to fetch status and later the results.
/api/v1/products/analyze/{batchId}Fetch status for a batch analysis.
/api/v1/products/analyze/{batchId}/resultsFetch results for a batch analysis.