Start watching a target with one or more rules.
/api/v1/tracking/trackersFree{
"platform": "amazon",
"url": "https://www.amazon.com/dp/B0CZ4M9LP3",
"rules": [
{
"metric_id": "product.price",
"operator": "lte",
"threshold": 199.99,
"mode": "one_shot"
},
{
"metric_id": "product.availability",
"operator": "contains",
"threshold": "In Stock",
"mode": "continuous"
}
],
"notify_targets": [
{
"cred_id": "cred_tg_main",
"channel_id": "-1001234567",
"include_results": true
},
{
"ad_hoc_webhook": {
"url": "https://hooks.example.com/xyz",
"secret": "s3cr3t"
}
}
],
"interval_hours": 6,
"proxy_mode": "none",
"account_id": null
}scripts/dump_doc_samples.py on the server to populate real samples.{
"id": "trk_xyz",
"status": "active",
"rules": [
{
"id": "r_1",
"alert_triggered": false
},
{
"id": "r_2",
"alert_triggered": false
}
]
}Paste your full key once — cached in this browser for 7 days, then cleared.
const res = await fetch("https://api.logposervices.com/api/v1/tracking/trackers", {
method: "POST",
headers: {
"X-API-Key": "<YOUR_API_KEY>",
"Content-Type": "application/json",
},
body: JSON.stringify({
"platform": "amazon",
"url": "https://www.amazon.com/dp/B0CZ4M9LP3",
"rules": [
{
"metric_id": "product.price",
"operator": "lte",
"threshold": 199.99,
"mode": "one_shot"
},
{
"metric_id": "product.availability",
"operator": "contains",
"threshold": "In Stock",
"mode": "continuous"
}
],
"notify_targets": [
{
"cred_id": "cred_tg_main",
"channel_id": "-1001234567",
"include_results": true
},
{
"ad_hoc_webhook": {
"url": "https://hooks.example.com/xyz",
"secret": "s3cr3t"
}
}
],
"interval_hours": 6,
"proxy_mode": "none",
"account_id": null
}),
});
const data = await res.json();Click Send Request above to try this endpoint.