{"openapi":"3.1.0","info":{"title":"ZalTrack API","version":"0.0.1","description":"Track Zalando prices and products: a watchlist checked on schedule, with price history and alerts. Authenticate with a personal API key from your account (Bearer token). Each price check of a tracked product costs 1 credit; a product checked daily uses about 30 credits a month. Each alert email costs 20 credits on the free plan, 10 with credit packs, 10 on Starter, 3 on Pro, 1 on Business; without enough credits, the alert isn't sent. Failed checks are refunded. The free plan includes 200 API and MCP requests a month (UTC) and reads the last 30 days of price history; a plan or a credit pack lifts both limits. GET /account (get_account), which says how many are left, isn't counted. On the free plan, alerts (price drop, back in stock, target price) email for the first 5 products added among the active ones with an alert set; the others stay tracked, without emails (alerts_paused: true), until one of those has its alert turned off or is paused. A plan or a credit pack alerts on every product. alert_on_drop and target_price can be set on any product either way. The same key works with the MCP server at /api/mcp, which also accepts a sign-in through OAuth, and the Chrome extension."},"externalDocs":{"description":"Documentation","url":"https://www.zaltrack.dev/docs"},"servers":[{"url":"https://www.zaltrack.dev/api/v1"}],"tags":[{"name":"Watchlist","description":"The products you track, checked on their schedule."},{"name":"Zalando data","description":"Search Zalando and read any product's shared price history."},{"name":"Account","description":"Your plan and your credits."}],"security":[{"bearerAuth":[]}],"paths":{"/account":{"get":{"operationId":"getAccount","tags":["Account"],"summary":"Plan and remaining credits","description":"Your plan, the credits left (monthly allowance and packs), how many products you track and the credits they use per month, the credits each alert email costs, the days of history you can read and, on the free plan, the API and MCP requests left this month. Not counted as a request. The free plan includes 200 API and MCP requests a month (UTC) and reads the last 30 days of price history; a plan or a credit pack lifts both limits. GET /account (get_account), which says how many are left, isn't counted.","responses":{"200":{"description":"Account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"},"example":{"plan":"basic","plan_name":"Starter","credits":29588,"renews_at":"2026-12-01T09:12:44.000Z","products":42,"product_limit":50000,"fastest_interval_minutes":60,"alert_credits":10,"monthly_credits":1260,"history_days":730,"api_requests_used":null,"api_requests_limit":null,"api_requests_reset_at":null,"manage_url":"https://www.zaltrack.dev/app"}}}},"401":{"description":"unauthorized: The API key is missing, revoked or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"generic: Unexpected error on our side. Retry in a moment.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/search":{"get":{"operationId":"searchZalando","tags":["Zalando data"],"summary":"Search Zalando","description":"Zalando search results (sponsored included), to find the article reference of a product. Free, limited to 30 searches per hour.","parameters":[{"name":"query","in":"query","required":true,"description":"Keywords","schema":{"type":"string"},"example":"nike trainers"},{"name":"marketplace","in":"query","description":"Zalando store, e.g. de for zalando.de","schema":{"type":"string","enum":["de","fr","it","es","co.uk"],"default":"de","description":"Zalando store, e.g. de for zalando.de"},"example":"de"}],"responses":{"200":{"description":"Results","content":{"application/json":{"schema":{"type":"object","required":["results"],"properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/SearchResult"}}}},"example":{"results":[{"article_id":"NI112N022-A11","title":"Nike Sportswear Trainers","image":"https://img01.ztat.net/article/spp-media-p1/0a1b2c3d4e5f/NI112N022-A11.jpg","price":99.95,"currency":"EUR","rating":4.4,"reviews_count":12873}]}}}},"400":{"description":"invalid_option: A setting isn't valid: marketplace (de, fr, it, es, co.uk), filter, interval_minutes (5, 30, 60, 360, 720, 1440), target_price, alert_on_drop or paused. Also when the body isn't a JSON object, a required argument is missing, or the product to check is paused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"unauthorized: The API key is missing, revoked or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"api_limit: A free account made its 200 API and MCP requests of the month (UTC). They start again on the 1st, and a plan or a credit pack lifts the limit; GET /account still answers.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: More than 30 searches or 600 history reads in an hour, too many reads of Zalando at once, or too many different products read today: 200 a day on the free plan, 1,000 with a credit pack, then 1,000 with Starter, 3,000 with Pro, 10,000 with Business. Histories and new watchlist entries count, once per product; your watchlist and the products already read today stay available. Retry later, or after midnight UTC for the daily limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"generic: Unexpected error on our side. Retry in a moment.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"store_unavailable: Zalando couldn't be read right now (GET /search). Nothing is charged; retry in a moment.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/history":{"get":{"operationId":"getArticleHistory","tags":["Zalando data"],"summary":"Price history of any article reference","description":"Every price ZalTrack read for an article reference on a marketplace over the period, whoever tracks it, oldest first, with the lowest, highest and average of those prices. A history of more than 5000 points is thinned evenly, keeping its first and last point. No credit is used and nothing is read from Zalando, so an article reference nobody tracked yet has an empty history; limited to 600 reads per hour. The free plan reads the last 30 days: history_limited says when the period asked for was cut.","parameters":[{"name":"article_id","in":"query","required":true,"description":"Zalando article reference (NI112N022-A11)","schema":{"type":"string","pattern":"^[A-Z0-9]{9}-[A-Z0-9]{3}$","description":"Zalando article reference (NI112N022-A11)"},"example":"NI112N022-A11"},{"name":"marketplace","in":"query","description":"Zalando store, e.g. de for zalando.de","schema":{"type":"string","enum":["de","fr","it","es","co.uk"],"default":"de","description":"Zalando store, e.g. de for zalando.de"},"example":"de"},{"name":"days","in":"query","description":"History period in days. The free plan reads the last 30: history_days says which period was returned.","schema":{"type":"integer","minimum":1,"maximum":730,"default":90,"description":"History period in days. The free plan reads the last 30: history_days says which period was returned."},"example":"30"}],"responses":{"200":{"description":"History of the article reference","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleHistory"},"example":{"article_id":"NI112N022-A11","marketplace":"de","currency":"EUR","lowest_price":89.95,"highest_price":119.95,"average_price":103.28,"history_days":90,"history_limited":false,"history":[{"price":119.95,"in_stock":true,"coupon":null,"seller":"Zalando","checked_at":"2026-10-01T09:30:35.002Z"},{"price":89.95,"in_stock":true,"coupon":null,"seller":"Zalando","checked_at":"2026-10-24T08:00:10.913Z"},{"price":99.95,"in_stock":true,"coupon":null,"seller":"Zalando","checked_at":"2026-11-03T08:00:12.441Z"}]}}}},"400":{"description":"invalid_product: product is neither a Zalando article reference (NI112N022-A11) nor a Zalando product link, or article_id isn't a Zalando article reference (NI112N022-A11). invalid_option: A setting isn't valid: marketplace (de, fr, it, es, co.uk), filter, interval_minutes (5, 30, 60, 360, 720, 1440), target_price, alert_on_drop or paused. Also when the body isn't a JSON object, a required argument is missing, or the product to check is paused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"unauthorized: The API key is missing, revoked or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"api_limit: A free account made its 200 API and MCP requests of the month (UTC). They start again on the 1st, and a plan or a credit pack lifts the limit; GET /account still answers.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: More than 30 searches or 600 history reads in an hour, too many reads of Zalando at once, or too many different products read today: 200 a day on the free plan, 1,000 with a credit pack, then 1,000 with Starter, 3,000 with Pro, 10,000 with Business. Histories and new watchlist entries count, once per product; your watchlist and the products already read today stay available. Retry later, or after midnight UTC for the daily limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"generic: Unexpected error on our side. Retry in a moment.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/products":{"get":{"operationId":"listProducts","tags":["Watchlist"],"summary":"List tracked products","description":"Your watchlist, newest first, with each product's latest state and its recent prices (trend). Filter with article_id (and marketplace) to know if a product is tracked, or with filter to get the same lists as the app's tabs.","parameters":[{"name":"article_id","in":"query","description":"Only this article reference","schema":{"type":"string","pattern":"^[A-Z0-9]{9}-[A-Z0-9]{3}$","description":"Zalando article reference (NI112N022-A11)"},"example":"NI112N022-A11"},{"name":"marketplace","in":"query","description":"Only this Zalando store","schema":{"type":"string","enum":["de","fr","it","es","co.uk"],"description":"Only this Zalando store"}},{"name":"filter","in":"query","description":"Only the products of one of the app's watchlist filters. all: Every tracked product (default). drops: Cheaper now than when the product was added. target: At or below its target price. out_of_stock: No offer at the last check. attention: The last check didn't go through (last_error is set): no credits, not found or Zalando unavailable. paused: Paused by you: not checked, not charged.","schema":{"type":"string","enum":["all","drops","target","out_of_stock","attention","paused"],"default":"all","description":"Only the products of one of the app's watchlist filters. all: Every tracked product (default). drops: Cheaper now than when the product was added. target: At or below its target price. out_of_stock: No offer at the last check. attention: The last check didn't go through (last_error is set): no credits, not found or Zalando unavailable. paused: Paused by you: not checked, not charged."}},{"name":"page","in":"query","description":"Page number","schema":{"type":"integer","minimum":1,"default":1}},{"name":"limit","in":"query","description":"Products per page","schema":{"type":"integer","minimum":1,"maximum":100,"default":20}}],"responses":{"200":{"description":"Products","content":{"application/json":{"schema":{"type":"object","required":["products","total","page"],"properties":{"products":{"type":"array","items":{"$ref":"#/components/schemas/Product"}},"total":{"type":"integer"},"page":{"type":"integer"}}},"example":{"products":[{"product_id":"8f0b3c7e-2a4d-4e51-9c1a-6d2f1b9e7a30","article_id":"NI112N022-A11","marketplace":"de","url":"https://www.zaltrack.dev/go/NI112N022-A11?m=de","title":"Nike Sportswear Trainers","image":"https://img01.ztat.net/article/spp-media-p1/0a1b2c3d4e5f/NI112N022-A11.jpg","brand":"Nike Sportswear","currency":"EUR","price":99.95,"first_price":119.95,"lowest_price":89.95,"highest_price":119.95,"in_stock":true,"stock":"In stock","coupon":null,"seller":"Zalando","best_sellers_rank":null,"target_price":85,"alert_on_drop":true,"alerts_paused":false,"interval_minutes":1440,"status":"active","last_error":null,"found_on":[],"checking":false,"last_checked_at":"2026-11-03T08:00:12.441Z","next_check_at":"2026-11-04T08:00:12.441Z","created_at":"2026-10-01T09:30:31.120Z","trend":[119.95,89.95,99.95]}],"total":1,"page":1}}}},"400":{"description":"invalid_product: product is neither a Zalando article reference (NI112N022-A11) nor a Zalando product link, or article_id isn't a Zalando article reference (NI112N022-A11). invalid_option: A setting isn't valid: marketplace (de, fr, it, es, co.uk), filter, interval_minutes (5, 30, 60, 360, 720, 1440), target_price, alert_on_drop or paused. Also when the body isn't a JSON object, a required argument is missing, or the product to check is paused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"unauthorized: The API key is missing, revoked or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"api_limit: A free account made its 200 API and MCP requests of the month (UTC). They start again on the 1st, and a plan or a credit pack lifts the limit; GET /account still answers.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"generic: Unexpected error on our side. Retry in a moment.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"trackProduct","tags":["Watchlist"],"summary":"Track a product","description":"Adds an article reference, a Zalando link or a short link () to your watchlist. The first check runs in the background within seconds (checking is true until then): poll GET /products/{id}, or send wait: true to get the answer once it's done (up to 45 seconds). Each price check of a tracked product costs 1 credit; a product checked daily uses about 30 credits a month. Each alert email costs 20 credits on the free plan, 10 with credit packs, 10 on Starter, 3 on Pro, 1 on Business; without enough credits, the alert isn't sent. Without credits the product is added and its first check waits. What Zalando answers shows on the product (last_error), never as an error here. Adding a product you already track returns it unchanged, with status 200.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["product"],"properties":{"product":{"type":"string","description":"article reference (NI112N022-A11) or Zalando product link"},"marketplace":{"type":"string","enum":["de","fr","it","es","co.uk"],"default":"de","description":"Zalando store, e.g. de for zalando.de. A product link sets it on its own."},"target_price":{"type":["number","null"],"description":"Email the owner when the price goes at or below this amount (on the free plan, for the first 5 products with an alert). null removes it."},"interval_minutes":{"type":"integer","enum":[5,30,60,360,720,1440],"default":1440,"description":"Minutes between two checks (1440 = daily). Checks faster than daily need a plan or a credit pack: every 60 minutes with a pack or Starter, 30 with Pro, 5 with Business."},"wait":{"type":"boolean","default":false,"description":"Answer once the first check is done (up to 45 seconds)"}}},"example":{"product":"NI112N022-A11","marketplace":"de","target_price":85,"wait":true}}}},"responses":{"200":{"description":"Already tracked: the product as it is, unchanged","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Product"},"example":{"product_id":"8f0b3c7e-2a4d-4e51-9c1a-6d2f1b9e7a30","article_id":"NI112N022-A11","marketplace":"de","url":"https://www.zaltrack.dev/go/NI112N022-A11?m=de","title":"Nike Sportswear Trainers","image":"https://img01.ztat.net/article/spp-media-p1/0a1b2c3d4e5f/NI112N022-A11.jpg","brand":"Nike Sportswear","currency":"EUR","price":99.95,"first_price":119.95,"lowest_price":89.95,"highest_price":119.95,"in_stock":true,"stock":"In stock","coupon":null,"seller":"Zalando","best_sellers_rank":null,"target_price":85,"alert_on_drop":true,"alerts_paused":false,"interval_minutes":1440,"status":"active","last_error":null,"found_on":[],"checking":false,"last_checked_at":"2026-11-03T08:00:12.441Z","next_check_at":"2026-11-04T08:00:12.441Z","created_at":"2026-10-01T09:30:31.120Z"}}}},"201":{"description":"Tracked product","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Product"},"example":{"product_id":"8f0b3c7e-2a4d-4e51-9c1a-6d2f1b9e7a30","article_id":"NI112N022-A11","marketplace":"de","url":"https://www.zaltrack.dev/go/NI112N022-A11?m=de","title":"Nike Sportswear Trainers","image":"https://img01.ztat.net/article/spp-media-p1/0a1b2c3d4e5f/NI112N022-A11.jpg","brand":"Nike Sportswear","currency":"EUR","price":99.95,"first_price":119.95,"lowest_price":89.95,"highest_price":119.95,"in_stock":true,"stock":"In stock","coupon":null,"seller":"Zalando","best_sellers_rank":null,"target_price":85,"alert_on_drop":true,"alerts_paused":false,"interval_minutes":1440,"status":"active","last_error":null,"found_on":[],"checking":false,"last_checked_at":"2026-11-03T08:00:12.441Z","next_check_at":"2026-11-04T08:00:12.441Z","created_at":"2026-10-01T09:30:31.120Z"}}}},"400":{"description":"invalid_product: product is neither a Zalando article reference (NI112N022-A11) nor a Zalando product link, or article_id isn't a Zalando article reference (NI112N022-A11). unsupported_marketplace: The link is from a Zalando store that isn't supported (supported: de, fr, it, es, co.uk). invalid_option: A setting isn't valid: marketplace (de, fr, it, es, co.uk), filter, interval_minutes (5, 30, 60, 360, 720, 1440), target_price, alert_on_drop or paused. Also when the body isn't a JSON object, a required argument is missing, or the product to check is paused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"unauthorized: The API key is missing, revoked or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"api_limit: A free account made its 200 API and MCP requests of the month (UTC). They start again on the 1st, and a plan or a credit pack lifts the limit; GET /account still answers.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"paid_option: Checks faster than daily need a plan or a credit pack: every 60 minutes with a pack or Starter, 30 with Pro, 5 with Business. product_limit: The account tracks as many products as its plan allows (50 on the free plan).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"product_limit","message":"You've reached your plan's product limit. The free plan tracks up to 50 products."}}}}},"429":{"description":"rate_limited: More than 30 searches or 600 history reads in an hour, too many reads of Zalando at once, or too many different products read today: 200 a day on the free plan, 1,000 with a credit pack, then 1,000 with Starter, 3,000 with Pro, 10,000 with Business. Histories and new watchlist entries count, once per product; your watchlist and the products already read today stay available. Retry later, or after midnight UTC for the daily limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"generic: Unexpected error on our side. Retry in a moment.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/products/{id}":{"get":{"operationId":"getProduct","tags":["Watchlist"],"summary":"Get a product and its price history","description":"The product's latest state and every price read of the period, oldest first. The history covers every read of this article reference on this marketplace, including those made before you added it, so a product added today can come with months of prices; created_at says when you added it. A history of more than 5000 points is thinned evenly, keeping its first and last point. The free plan reads the last 30 days: history_limited says when the period asked for was cut.","parameters":[{"name":"id","in":"path","required":true,"description":"product_id returned when the product was added","schema":{"type":"string","format":"uuid"},"example":"8f0b3c7e-2a4d-4e51-9c1a-6d2f1b9e7a30"},{"name":"days","in":"query","description":"History period in days. The free plan reads the last 30: history_days says which period was returned.","schema":{"type":"integer","minimum":1,"maximum":730,"default":90,"description":"History period in days. The free plan reads the last 30: history_days says which period was returned."},"example":"30"}],"responses":{"200":{"description":"Product with history","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductWithHistory"},"example":{"product_id":"8f0b3c7e-2a4d-4e51-9c1a-6d2f1b9e7a30","article_id":"NI112N022-A11","marketplace":"de","url":"https://www.zaltrack.dev/go/NI112N022-A11?m=de","title":"Nike Sportswear Trainers","image":"https://img01.ztat.net/article/spp-media-p1/0a1b2c3d4e5f/NI112N022-A11.jpg","brand":"Nike Sportswear","currency":"EUR","price":99.95,"first_price":119.95,"lowest_price":89.95,"highest_price":119.95,"in_stock":true,"stock":"In stock","coupon":null,"seller":"Zalando","best_sellers_rank":null,"target_price":85,"alert_on_drop":true,"alerts_paused":false,"interval_minutes":1440,"status":"active","last_error":null,"found_on":[],"checking":false,"last_checked_at":"2026-11-03T08:00:12.441Z","next_check_at":"2026-11-04T08:00:12.441Z","created_at":"2026-10-01T09:30:31.120Z","history_days":90,"history_limited":false,"history":[{"price":119.95,"in_stock":true,"coupon":null,"seller":"Zalando","checked_at":"2026-10-01T09:30:35.002Z"},{"price":89.95,"in_stock":true,"coupon":null,"seller":"Zalando","checked_at":"2026-10-24T08:00:10.913Z"},{"price":99.95,"in_stock":true,"coupon":null,"seller":"Zalando","checked_at":"2026-11-03T08:00:12.441Z"}]}}}},"401":{"description":"unauthorized: The API key is missing, revoked or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"api_limit: A free account made its 200 API and MCP requests of the month (UTC). They start again on the 1st, and a plan or a credit pack lifts the limit; GET /account still answers.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"not_found: No tracked product with this id on your account, or no such endpoint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited: More than 30 searches or 600 history reads in an hour, too many reads of Zalando at once, or too many different products read today: 200 a day on the free plan, 1,000 with a credit pack, then 1,000 with Starter, 3,000 with Pro, 10,000 with Business. Histories and new watchlist entries count, once per product; your watchlist and the products already read today stay available. Retry later, or after midnight UTC for the daily limit.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"generic: Unexpected error on our side. Retry in a moment.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"patch":{"operationId":"updateProduct","tags":["Watchlist"],"summary":"Change alerts and checks","description":"Target price, drop alerts, check interval, or pause. Send only what changes. On the free plan, alerts (price drop, back in stock, target price) email for the first 5 products added among the active ones with an alert set; the others stay tracked, without emails (alerts_paused: true), until one of those has its alert turned off or is paused. A plan or a credit pack alerts on every product. alert_on_drop and target_price can be set on any product either way.","parameters":[{"name":"id","in":"path","required":true,"description":"product_id returned when the product was added","schema":{"type":"string","format":"uuid"},"example":"8f0b3c7e-2a4d-4e51-9c1a-6d2f1b9e7a30"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"target_price":{"type":["number","null"],"description":"Email the owner when the price goes at or below this amount (on the free plan, for the first 5 products with an alert). null removes it."},"interval_minutes":{"type":"integer","enum":[5,30,60,360,720,1440],"default":1440,"description":"Minutes between two checks (1440 = daily). Checks faster than daily need a plan or a credit pack: every 60 minutes with a pack or Starter, 30 with Pro, 5 with Business."},"alert_on_drop":{"type":"boolean","description":"Email when the price drops or the product is back in stock (on the free plan, for the first 5 products with an alert)"},"paused":{"type":"boolean","description":"Stop checking (and charging) for now; false resumes"}}},"example":{"target_price":79.95,"interval_minutes":360}}}},"responses":{"200":{"description":"Product","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Product"},"example":{"product_id":"8f0b3c7e-2a4d-4e51-9c1a-6d2f1b9e7a30","article_id":"NI112N022-A11","marketplace":"de","url":"https://www.zaltrack.dev/go/NI112N022-A11?m=de","title":"Nike Sportswear Trainers","image":"https://img01.ztat.net/article/spp-media-p1/0a1b2c3d4e5f/NI112N022-A11.jpg","brand":"Nike Sportswear","currency":"EUR","price":99.95,"first_price":119.95,"lowest_price":89.95,"highest_price":119.95,"in_stock":true,"stock":"In stock","coupon":null,"seller":"Zalando","best_sellers_rank":null,"target_price":85,"alert_on_drop":true,"alerts_paused":false,"interval_minutes":1440,"status":"active","last_error":null,"found_on":[],"checking":false,"last_checked_at":"2026-11-03T08:00:12.441Z","next_check_at":"2026-11-04T08:00:12.441Z","created_at":"2026-10-01T09:30:31.120Z"}}}},"400":{"description":"invalid_option: A setting isn't valid: marketplace (de, fr, it, es, co.uk), filter, interval_minutes (5, 30, 60, 360, 720, 1440), target_price, alert_on_drop or paused. Also when the body isn't a JSON object, a required argument is missing, or the product to check is paused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"unauthorized: The API key is missing, revoked or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"api_limit: A free account made its 200 API and MCP requests of the month (UTC). They start again on the 1st, and a plan or a credit pack lifts the limit; GET /account still answers.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"paid_option: Checks faster than daily need a plan or a credit pack: every 60 minutes with a pack or Starter, 30 with Pro, 5 with Business.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"not_found: No tracked product with this id on your account, or no such endpoint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"generic: Unexpected error on our side. Retry in a moment.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"deleteProduct","tags":["Watchlist"],"summary":"Stop tracking a product","description":"Removes the product and its price history.","parameters":[{"name":"id","in":"path","required":true,"description":"product_id returned when the product was added","schema":{"type":"string","format":"uuid"},"example":"8f0b3c7e-2a4d-4e51-9c1a-6d2f1b9e7a30"}],"responses":{"200":{"description":"Deleted","content":{"application/json":{"schema":{"type":"object","required":["deleted","product_id"],"properties":{"deleted":{"type":"boolean"},"product_id":{"type":"string","format":"uuid"}}},"example":{"deleted":true,"product_id":"8f0b3c7e-2a4d-4e51-9c1a-6d2f1b9e7a30"}}}},"401":{"description":"unauthorized: The API key is missing, revoked or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"api_limit: A free account made its 200 API and MCP requests of the month (UTC). They start again on the 1st, and a plan or a credit pack lifts the limit; GET /account still answers.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"not_found: No tracked product with this id on your account, or no such endpoint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"generic: Unexpected error on our side. Retry in a moment.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/products/{id}/check":{"post":{"operationId":"checkProduct","tags":["Watchlist"],"summary":"Check the price now","description":"Asks for a check right away (1 credit), at most once per 5 minutes; earlier calls return the product unchanged. A paused product has to be resumed first. The check runs in the background; with wait=true the answer waits for it. Read last_error if it didn't go through.","parameters":[{"name":"id","in":"path","required":true,"description":"product_id returned when the product was added","schema":{"type":"string","format":"uuid"},"example":"8f0b3c7e-2a4d-4e51-9c1a-6d2f1b9e7a30"},{"name":"wait","in":"query","description":"Answer once the check is done (up to 45 seconds)","schema":{"type":"boolean","default":false},"example":"true"}],"responses":{"200":{"description":"Product","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Product"},"example":{"product_id":"8f0b3c7e-2a4d-4e51-9c1a-6d2f1b9e7a30","article_id":"NI112N022-A11","marketplace":"de","url":"https://www.zaltrack.dev/go/NI112N022-A11?m=de","title":"Nike Sportswear Trainers","image":"https://img01.ztat.net/article/spp-media-p1/0a1b2c3d4e5f/NI112N022-A11.jpg","brand":"Nike Sportswear","currency":"EUR","price":99.95,"first_price":119.95,"lowest_price":89.95,"highest_price":119.95,"in_stock":true,"stock":"In stock","coupon":null,"seller":"Zalando","best_sellers_rank":null,"target_price":85,"alert_on_drop":true,"alerts_paused":false,"interval_minutes":1440,"status":"active","last_error":null,"found_on":[],"checking":false,"last_checked_at":"2026-11-03T08:00:12.441Z","next_check_at":"2026-11-04T08:00:12.441Z","created_at":"2026-10-01T09:30:31.120Z"}}}},"400":{"description":"invalid_option: A setting isn't valid: marketplace (de, fr, it, es, co.uk), filter, interval_minutes (5, 30, 60, 360, 720, 1440), target_price, alert_on_drop or paused. Also when the body isn't a JSON object, a required argument is missing, or the product to check is paused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"unauthorized: The API key is missing, revoked or invalid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"api_limit: A free account made its 200 API and MCP requests of the month (UTC). They start again on the 1st, and a plan or a credit pack lifts the limit; GET /account still answers.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"not_found: No tracked product with this id on your account, or no such endpoint.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"generic: Unexpected error on our side. Retry in a moment.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Personal API key (zal_…), created in your account."}},"schemas":{"Error":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["invalid_product","unsupported_marketplace","invalid_option","unauthorized","insufficient_credits","email_not_verified","api_limit","paid_option","product_limit","not_found","product_not_found","method_not_allowed","rate_limited","generic","store_unavailable"],"description":"Stable code to branch on"},"message":{"type":"string","description":"Human-readable explanation"}}}}},"Account":{"type":"object","required":["plan","plan_name","credits","renews_at","products","product_limit","fastest_interval_minutes","alert_credits","monthly_credits","history_days","api_requests_used","api_requests_limit","api_requests_reset_at","manage_url"],"properties":{"plan":{"type":"string","enum":["free","basic","pro","mega"],"description":"Plan id"},"plan_name":{"type":"string","description":"Display name of the plan"},"credits":{"type":"integer","description":"Credits left, packs included"},"renews_at":{"type":["string","null"],"format":"date-time","description":"Next renewal of a paid plan"},"products":{"type":"integer","description":"Tracked products"},"product_limit":{"type":"integer","description":"Products the plan allows"},"fastest_interval_minutes":{"type":"integer","enum":[5,30,60,360,720,1440],"description":"Shortest interval_minutes the account can choose now"},"alert_credits":{"type":"integer","description":"Credits each alert email costs this account, on top of the check: 20 on the free plan, 10 with credit packs, 10 on Starter, 3 on Pro, 1 on Business. Without enough credits, the alert email isn't sent; nothing is charged when alert emails are off"},"monthly_credits":{"type":"integer","description":"Credits the active products use per 30 days at their intervals"},"history_days":{"type":"integer","description":"Days of price history the account can read: 30 on the free plan, 730 with a plan or a credit pack"},"api_requests_used":{"type":["integer","null"],"description":"API and MCP requests made this month (UTC) on the free plan; null when they aren't counted"},"api_requests_limit":{"type":["integer","null"],"description":"Requests the free plan allows per month (200); null with a plan or a credit pack"},"api_requests_reset_at":{"type":["string","null"],"format":"date-time","description":"When the free plan's requests start again; null when they aren't counted"},"manage_url":{"type":"string","format":"uri","description":"Where to change plan or buy a pack"}}},"SearchResult":{"type":"object","required":["article_id","title","image","price","currency","rating","reviews_count"],"properties":{"article_id":{"type":"string","description":"Zalando article reference (NI112N022-A11), to track or read its history"},"title":{"type":"string","description":"Product title"},"image":{"type":["string","null"],"format":"uri","description":"Main product image"},"price":{"type":["number","null"],"description":"Price shown in the results"},"currency":{"type":"string","description":"ISO 4217 code of the marketplace"},"rating":{"type":["number","null"],"description":"Average rating out of 5"},"reviews_count":{"type":["integer","null"],"description":"Number of reviews"}}},"Product":{"type":"object","required":["product_id","article_id","marketplace","url","title","image","brand","currency","price","first_price","lowest_price","highest_price","in_stock","stock","coupon","seller","best_sellers_rank","target_price","alert_on_drop","alerts_paused","interval_minutes","status","last_error","found_on","checking","last_checked_at","next_check_at","created_at"],"properties":{"product_id":{"type":"string","format":"uuid","description":"Id of this watchlist entry"},"article_id":{"type":"string","description":"Zalando's article reference (NI112N022-A11): one article is one color, and every size of it shares that reference and its price"},"marketplace":{"type":"string","enum":["de","fr","it","es","co.uk"],"description":"Zalando store"},"url":{"type":"string","format":"uri","description":"Product page on Zalando"},"title":{"type":["string","null"],"description":"null until the first check"},"image":{"type":["string","null"],"format":"uri","description":"Main product image"},"brand":{"type":["string","null"],"description":"Brand shown by Zalando"},"currency":{"type":["string","null"],"description":"ISO code, e.g. USD, EUR, JPY"},"price":{"type":["number","null"],"description":"Latest price; null when there is no offer"},"first_price":{"type":["number","null"],"description":"Price at the first check"},"lowest_price":{"type":["number","null"],"description":"Lowest price seen"},"highest_price":{"type":["number","null"],"description":"Highest price seen"},"in_stock":{"type":["boolean","null"],"description":"null until the first check"},"stock":{"type":["string","null"],"description":"Zalando's availability text"},"coupon":{"type":["string","null"],"description":"Always null: Zalando pages show no coupons"},"seller":{"type":["string","null"],"description":"Seller of the offer shown (Buy Box)"},"best_sellers_rank":{"type":["string","null"],"description":"Always null: Zalando has no Best Sellers Rank"},"target_price":{"type":["number","null"],"description":"Alert threshold"},"alert_on_drop":{"type":"boolean","description":"Email when the price drops or the product is back in stock (on the free plan, for the first 5 products with an alert)"},"alerts_paused":{"type":"boolean","description":"true when the product has an alert set (alert_on_drop or target_price) but no email goes: past the free plan's 5 products with an alert. A plan or a credit pack lifts it."},"interval_minutes":{"type":"integer","enum":[5,30,60,360,720,1440],"description":"Minutes between two checks"},"status":{"type":"string","enum":["active","paused"],"description":"Paused products aren't checked"},"last_error":{"type":["string","null"],"enum":["email_not_verified","insufficient_credits","store_unavailable","product_not_found",null],"description":"Why the last check didn't go through, if it didn't"},"found_on":{"type":"array","items":{"type":"string","enum":["de","fr","it","es","co.uk"]},"description":"Always empty: there is no other marketplace to find it on"},"checking":{"type":"boolean","description":"A check is due or running; poll until it's false"},"last_checked_at":{"type":["string","null"],"format":"date-time","description":"When the last check ran"},"next_check_at":{"type":"string","format":"date-time","description":"When the next one is due"},"created_at":{"type":"string","format":"date-time","description":"When it was added"},"trend":{"type":"array","items":{"type":"number"},"description":"Only in lists: up to 30 prices of the last 30 days, oldest first"}}},"ProductWithHistory":{"type":"object","required":["product_id","article_id","marketplace","url","title","image","brand","currency","price","first_price","lowest_price","highest_price","in_stock","stock","coupon","seller","best_sellers_rank","target_price","alert_on_drop","alerts_paused","interval_minutes","status","last_error","found_on","checking","last_checked_at","next_check_at","created_at","history_days","history_limited","history"],"properties":{"product_id":{"type":"string","format":"uuid","description":"Id of this watchlist entry"},"article_id":{"type":"string","description":"Zalando's article reference (NI112N022-A11): one article is one color, and every size of it shares that reference and its price"},"marketplace":{"type":"string","enum":["de","fr","it","es","co.uk"],"description":"Zalando store"},"url":{"type":"string","format":"uri","description":"Product page on Zalando"},"title":{"type":["string","null"],"description":"null until the first check"},"image":{"type":["string","null"],"format":"uri","description":"Main product image"},"brand":{"type":["string","null"],"description":"Brand shown by Zalando"},"currency":{"type":["string","null"],"description":"ISO code, e.g. USD, EUR, JPY"},"price":{"type":["number","null"],"description":"Latest price; null when there is no offer"},"first_price":{"type":["number","null"],"description":"Price at the first check"},"lowest_price":{"type":["number","null"],"description":"Lowest price seen"},"highest_price":{"type":["number","null"],"description":"Highest price seen"},"in_stock":{"type":["boolean","null"],"description":"null until the first check"},"stock":{"type":["string","null"],"description":"Zalando's availability text"},"coupon":{"type":["string","null"],"description":"Always null: Zalando pages show no coupons"},"seller":{"type":["string","null"],"description":"Seller of the offer shown (Buy Box)"},"best_sellers_rank":{"type":["string","null"],"description":"Always null: Zalando has no Best Sellers Rank"},"target_price":{"type":["number","null"],"description":"Alert threshold"},"alert_on_drop":{"type":"boolean","description":"Email when the price drops or the product is back in stock (on the free plan, for the first 5 products with an alert)"},"alerts_paused":{"type":"boolean","description":"true when the product has an alert set (alert_on_drop or target_price) but no email goes: past the free plan's 5 products with an alert. A plan or a credit pack lifts it."},"interval_minutes":{"type":"integer","enum":[5,30,60,360,720,1440],"description":"Minutes between two checks"},"status":{"type":"string","enum":["active","paused"],"description":"Paused products aren't checked"},"last_error":{"type":["string","null"],"enum":["email_not_verified","insufficient_credits","store_unavailable","product_not_found",null],"description":"Why the last check didn't go through, if it didn't"},"found_on":{"type":"array","items":{"type":"string","enum":["de","fr","it","es","co.uk"]},"description":"Always empty: there is no other marketplace to find it on"},"checking":{"type":"boolean","description":"A check is due or running; poll until it's false"},"last_checked_at":{"type":["string","null"],"format":"date-time","description":"When the last check ran"},"next_check_at":{"type":"string","format":"date-time","description":"When the next one is due"},"created_at":{"type":"string","format":"date-time","description":"When it was added"},"history_days":{"type":"integer","description":"Days the history covers"},"history_limited":{"type":"boolean","description":"true when the period asked for was cut to the free plan's 30 days"},"history":{"type":"array","items":{"type":"object","required":["price","in_stock","coupon","seller","checked_at"],"properties":{"price":{"type":["number","null"],"description":"null when there was no offer"},"in_stock":{"type":["boolean","null"],"description":"Whether it was in stock"},"coupon":{"type":["string","null"],"description":"Coupon shown, if any"},"seller":{"type":["string","null"],"description":"Seller of the offer shown (Buy Box)"},"checked_at":{"type":"string","format":"date-time","description":"When Zalando was read"}}}}}},"ArticleHistory":{"type":"object","required":["article_id","marketplace","currency","lowest_price","highest_price","average_price","history_days","history_limited","history"],"properties":{"article_id":{"type":"string","description":"Zalando article reference (NI112N022-A11)"},"marketplace":{"type":"string","enum":["de","fr","it","es","co.uk"],"description":"Zalando store"},"currency":{"type":"string","description":"ISO 4217 code of the marketplace"},"lowest_price":{"type":["number","null"],"description":"Lowest price of the period"},"highest_price":{"type":["number","null"],"description":"Highest price of the period"},"average_price":{"type":["number","null"],"description":"Average of the period's prices"},"history_days":{"type":"integer","description":"Days the history covers"},"history_limited":{"type":"boolean","description":"true when the period asked for was cut to the free plan's 30 days"},"history":{"type":"array","items":{"type":"object","required":["price","in_stock","coupon","seller","checked_at"],"properties":{"price":{"type":["number","null"],"description":"null when there was no offer"},"in_stock":{"type":["boolean","null"],"description":"Whether it was in stock"},"coupon":{"type":["string","null"],"description":"Coupon shown, if any"},"seller":{"type":["string","null"],"description":"Seller of the offer shown (Buy Box)"},"checked_at":{"type":"string","format":"date-time","description":"When Zalando was read"}}}}}}}}}