{"openapi":"3.0.0","info":{"title":"Costco Products Prices and Warehouses","version":"1.0.0","description":"Costco products, prices, ratings, categories, reviews and warehouse locations across 8 markets, one row per entity."},"servers":[{"url":"https://ah-costco-com.opendata.best/s/costco-com"}],"paths":{"/v1/search":{"post":{"operationId":"search","summary":"Search Costco products, categories or specialty pages","description":"Product or category tree rows from Costco by keyword, category, topic or specialty browse.","tags":["search"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"mode":{"type":"string","enum":["auto","keywordSearch","categoryBrowse","specialtyBrowse","categoryTree"],"description":"Mode. Leave on Auto to select a mode from the target field you fill. Choose Product reviews, Warehouse locations, or Category tree explicitly when you want those rows.","default":"auto","example":"auto"},"keyword":{"type":"string","description":"Keyword. Search words, e.g. paper towels. Fill this (and nothing else) to search Costco.","example":"paper towels"},"query":{"type":"string","description":"Query (alias). Same as Keyword (older name)."},"categorySlug":{"type":"string","description":"Category slug. Category path without the domain, such as grocery-household for the US market."},"categoryUrl":{"type":"string","description":"Category URL. Category link for the selected Costco market. A category path without the domain is also accepted."},"slug":{"type":"string","description":"Product slug. Optional product-name path used with itemId when forming a product link."},"topic":{"type":"string","enum":["hotBuys","whatsNew","warehouseOnly","grocery"],"description":"Specialty topic. Choose Hot Buys, What's New, Warehouse only, or Grocery to collect specialty listings. Availability varies by market."},"browseCountry":{"type":"string","enum":["US","CA","MX","UK","AU","JP","KR","TW"],"description":"Market. Choose the Costco shopping market: United States, Canada, Mexico, United Kingdom, Australia, Japan, South Korea, or Taiwan.","default":"US","example":"CA"},"zip":{"type":"string","description":"ZIP / postal code. Optional ZIP / postal code for warehouse and stock context."},"warehouse":{"type":"string","description":"Warehouse. Optional warehouse identifier for location context. This does not guarantee product availability at that warehouse."},"dept":{"type":"string","description":"Department filter. Optional department filter for supported keyword searches. Available departments vary by market."},"sort":{"type":"string","description":"Sort. Requested order: relevance, priceAsc, priceDesc, newest, or rating. Availability varies by market."},"currency":{"type":"string","description":"Currency. Optional currency setting; otherwise the selected market determines it. This is not a currency-conversion feature."},"page":{"type":"integer","minimum":1,"description":"Start page. Starting page for supported listing modes, from 1 to 200. The default is 1.","default":1},"maxPages":{"type":"integer","minimum":1,"maximum":50,"description":"Max pages. Optional page cap for each batch of up to 70 rows; the total is set by maxResults. Leave empty to page until maxResults rows are collected or results run out."},"enrichDetails":{"type":"boolean","description":"Enrich listings with product details. Add available product details to the first enrichLimit listing rows in each part. Off by default; enrichment updates existing rows rather than adding rows.","default":false,"example":false},"enrichLimit":{"type":"integer","minimum":0,"maximum":50,"description":"Listing enrichment limit. Maximum listing rows to enrich in each part when enrichDetails is true. Default 5; allowed range 0 to 50.","default":5},"maxResults":{"type":"integer","minimum":1,"maximum":20,"description":"Max rows per input (each listed URL, ID or keyword; a single target counts as one input). All row types share this allowance. Each plan caps the rows of one request (BASIC 10, PRO 70, ULTRA 200, MEGA 500); larger values are lowered to your plan's cap. You pay per delivered row (Rows).","default":10,"example":3},"requestId":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,80}$","description":"Optional. Your id for this request: repeating it while the job runs returns the same job."}}},"example":{"keyword":"paper towels","browseCountry":"CA","enrichDetails":false,"maxResults":3}}}},"responses":{"200":{"description":"Done within the request: the rows.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RowsPage"}}}},"404":{"description":"No results matched the query (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid or missing parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"At capacity, too many running jobs, or rolling 24-hour row limit reached; retry after Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"The source could not be collected this time (not billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"504":{"description":"Synchronous timeout reached before completion; task cancelled (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/products":{"post":{"operationId":"products","summary":"Costco product details or reviews","description":"Detailed product or customer review rows for a given itemId or productUrl.","tags":["products"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"mode":{"type":"string","enum":["productDetail","productReviews"],"description":"Mode. Leave on Auto to select a mode from the target field you fill. Choose Product reviews, Warehouse locations, or Category tree explicitly when you want those rows.","default":"productDetail","example":"auto"},"itemId":{"type":"string","description":"Item ID. Item number from the Costco product link; it may differ from the sku in the output."},"productUrl":{"type":"string","description":"Product URL. Costco product link for the selected market, such as /p/-/product-name/100234271 or a .product.100234271.html link. Product paths without the domain are also accepted."},"slug":{"type":"string","description":"Product slug. Optional product-name path used with itemId when forming a product link."},"browseCountry":{"type":"string","enum":["US","CA","MX","UK","AU","JP","KR","TW"],"description":"Market. Choose the Costco shopping market: United States, Canada, Mexico, United Kingdom, Australia, Japan, South Korea, or Taiwan.","default":"US","example":"CA"},"zip":{"type":"string","description":"ZIP / postal code. Optional ZIP / postal code for warehouse and stock context."},"warehouse":{"type":"string","description":"Warehouse. Optional warehouse identifier for location context. This does not guarantee product availability at that warehouse."},"maxResults":{"type":"integer","minimum":1,"maximum":20,"description":"Max rows per input (each listed URL, ID or keyword; a single target counts as one input). All row types share this allowance. Each plan caps the rows of one request (BASIC 10, PRO 70, ULTRA 200, MEGA 500); larger values are lowered to your plan's cap. You pay per delivered row (Rows).","default":10,"example":3},"requestId":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,80}$","description":"Optional. Your id for this request: repeating it while the job runs returns the same job."}}},"example":{"mode":"productDetail","productUrl":"https://www.costco.com/p/-/ninja-crispi-portable-air-fryer/4000376434","browseCountry":"US","maxResults":3}}}},"responses":{"200":{"description":"Done within the request: the rows.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RowsPage"}}}},"404":{"description":"No results matched the query (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid or missing parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"At capacity, too many running jobs, or rolling 24-hour row limit reached; retry after Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"The source could not be collected this time (not billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"504":{"description":"Synchronous timeout reached before completion; task cancelled (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/warehouses":{"post":{"operationId":"warehouses","summary":"Costco warehouse locations","description":"Warehouse directory and address rows filtered by market or postal zip. Fixed for this endpoint: mode=\"warehouseLocations\".","tags":["warehouses"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"browseCountry":{"type":"string","enum":["US","CA","MX","UK","AU","JP","KR","TW"],"description":"Market. Choose the Costco shopping market: United States, Canada, Mexico, United Kingdom, Australia, Japan, South Korea, or Taiwan.","default":"US","example":"CA"},"zip":{"type":"string","description":"ZIP / postal code. Optional ZIP / postal code for warehouse and stock context."},"maxResults":{"type":"integer","minimum":1,"maximum":20,"description":"Max rows per input (each listed URL, ID or keyword; a single target counts as one input). All row types share this allowance. Each plan caps the rows of one request (BASIC 10, PRO 70, ULTRA 200, MEGA 500); larger values are lowered to your plan's cap. You pay per delivered row (Rows).","default":10,"example":3},"requestId":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,80}$","description":"Optional. Your id for this request: repeating it while the job runs returns the same job."}}},"example":{"zip":"98101","browseCountry":"US","maxResults":3}}}},"responses":{"200":{"description":"Done within the request: the rows.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RowsPage"}}}},"404":{"description":"No results matched the query (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid or missing parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"At capacity, too many running jobs, or rolling 24-hour row limit reached; retry after Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"The source could not be collected this time (not billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"504":{"description":"Synchronous timeout reached before completion; task cancelled (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/health":{"get":{"operationId":"health","summary":"API health check","description":"Lightweight readiness check for this API. Never starts a collection and always bills 0 rows.","tags":["health"],"responses":{"200":{"description":"API is operational (0 rows).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}},"503":{"description":"API is temporarily unavailable (not billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}}}}}},"components":{"schemas":{"Row":{"type":"object","properties":{"rowType":{"nullable":true,"type":"string","title":"Row type","description":"Kind of row: product, review, warehouse, category, or another entity type."},"id":{"nullable":true,"title":"Row ID","description":"Stable identifier of the row's entity (item ID, review ID, warehouse number or category slug)."},"entityId":{"nullable":true,"title":"Entity ID","description":"Entity identifier shared by the parent and child rows of the same entity."},"source":{"nullable":true,"type":"string","title":"Source","description":"Site the row was collected from (costco)."},"mode":{"nullable":true,"type":"string","title":"Mode","description":"keywordSearch or productReviews."},"market":{"nullable":true,"type":"string","title":"Market","description":"Costco market of the row (same value as browseCountry)."},"browseCountry":{"nullable":true,"type":"string","title":"Browse country","description":"Costco market code: US, CA, MX, UK, AU, JP, KR or TW."},"sourceSurface":{"nullable":true,"type":"string","title":"Source surface","description":"Costco surface the data came from, e.g. catalog search, product page, review feed or warehouse locator."},"platform":{"nullable":true,"type":"string","title":"Platform","description":"Costco storefront platform of the market (for example GRS/ECOM or SAP OCC)."},"enginePath":{"nullable":true,"type":"string","title":"Engine path","description":"Collection path used for the row (HTTP API, HTML page or browser fallback)."},"position":{"nullable":true,"type":"integer","title":"Position","description":"1-based position of the row in the result list."},"page":{"nullable":true,"type":"integer","title":"Page","description":"Result page the row was found on."},"scrapedAt":{"nullable":true,"type":"string","title":"Scraped at","description":"ISO 8601 time the row was collected."},"capturedAt":{"nullable":true,"type":"string","title":"Captured at"},"url":{"nullable":true,"type":"string","title":"URL","description":"Canonical Costco URL of the product, reviewed product, warehouse or category."},"itemId":{"nullable":true,"type":"string","title":"Item ID","description":"Costco item number of the product."},"sku":{"nullable":true,"type":"string","title":"SKU","description":"Costco SKU or product code."},"upc":{"nullable":true,"type":"string","title":"UPC","description":"Universal Product Code (barcode) when Costco publishes it."},"modelNumber":{"nullable":true,"type":"string","title":"Model number","description":"Manufacturer model number."},"title":{"nullable":true,"type":"string","title":"Title","description":"Product name, or the review headline on review rows."},"brand":{"nullable":true,"type":"string","title":"Brand","description":"Product brand."},"price":{"nullable":true,"title":"Price","description":"Current price shown to the shopper, in the row currency."},"warehousePrice":{"nullable":true,"title":"Warehouse price","description":"In-warehouse price when it differs from the online price."},"deliveryPrice":{"nullable":true,"title":"Delivery price","description":"Online or delivery price when Costco shows it separately."},"originalPrice":{"nullable":true,"title":"Original price","description":"Price before the current discount."},"listPrice":{"nullable":true,"title":"List price","description":"Regular list price."},"prices":{"nullable":true,"title":"Prices","description":"All price entries Costco returned for the product (per channel or per variant)."},"discountValue":{"nullable":true,"title":"Discount value","description":"Amount of the current discount."},"instantSavings":{"nullable":true,"title":"Instant savings","description":"Member instant-savings amount or offer."},"promotions":{"nullable":true,"type":"array","title":"Promotions","description":"Active promotions and coupons on the product.","items":{}},"priceDisplay":{"nullable":true,"type":"string","title":"Price display","description":"Price text as displayed on the page."},"priceInCartOnly":{"nullable":true,"type":"boolean","title":"Price in cart only","description":"True when the price is only shown in the cart."},"priceEndsIn97":{"nullable":true,"type":"boolean","title":"Price ends in .97","description":"True when the price ends in .97 (a Costco clearance signal)."},"currency":{"nullable":true,"type":"string","title":"Currency","description":"ISO 4217 currency code of the prices."},"membersOnly":{"nullable":true,"type":"boolean","title":"Members only","description":"True when the product is sold to members only."},"rating":{"nullable":true,"title":"Rating","description":"Average star rating of the product, or the star rating given on review rows."},"reviewCount":{"nullable":true,"title":"Review count","description":"Number of reviews of the product."},"availability":{"nullable":true,"type":"string","title":"Availability","description":"Overall availability status of the product."},"warehouseAvailability":{"nullable":true,"title":"Warehouse availability","description":"Availability of the product in warehouses."},"deliveryAvailability":{"nullable":true,"title":"Delivery availability","description":"Availability of the product for online delivery."},"inStock":{"nullable":true,"type":"boolean","title":"In stock","description":"True when the product is in stock."},"inventory":{"nullable":true,"title":"Inventory","description":"Inventory details returned by the guest inventory lookup."},"imageUrl":{"nullable":true,"type":"string","title":"Image URL","description":"Main product image URL."},"images":{"nullable":true,"type":"array","title":"Images","description":"Product image URLs (capped list).","items":{}},"description":{"nullable":true,"type":"string","title":"Description","description":"Product description text."},"summary":{"nullable":true,"type":"string","title":"Summary","description":"Short product summary or highlights text."},"features":{"nullable":true,"title":"Features","description":"Product feature bullet points."},"specs":{"nullable":true,"title":"Specifications","description":"Product specifications as name/value pairs."},"attributes":{"nullable":true,"title":"Attributes","description":"Additional product attributes."},"options":{"nullable":true,"title":"Options","description":"Selectable product options such as size or color."},"manuals":{"nullable":true,"type":"array","title":"Manuals","description":"Links to product manuals and documents.","items":{}},"skus":{"nullable":true,"type":"array","title":"Child SKUs","description":"Variant SKUs of the product.","items":{}},"categories":{"nullable":true,"type":"array","title":"Categories","description":"Category names the product belongs to.","items":{}},"breadcrumbs":{"nullable":true,"type":"array","title":"Breadcrumbs","description":"Category breadcrumb trail of the product page.","items":{}},"categoryCode":{"nullable":true,"type":"string","title":"Category code","description":"Costco category code."},"categorySlug":{"nullable":true,"type":"string","title":"Category slug","description":"Costco category slug."},"categoryPath":{"nullable":true,"title":"Category path","description":"Full category path of the product."},"pdp":{"nullable":true,"type":"object","title":"Product page details","description":"Extra product page details added by detail enrichment."},"enrichPath":{"nullable":true,"type":"string","title":"Enrichment path","description":"How detail enrichment was done (for example the Mobile PDP API)."},"missingFields":{"nullable":true,"type":"array","title":"Missing fields","description":"Fields Costco did not publish for this row.","items":{}},"resultTotal":{"nullable":true,"type":"integer","title":"Result total","description":"Total number of results Costco reported for the query."},"queryZip":{"nullable":true,"type":"string","title":"Query ZIP","description":"ZIP or postal code used for the request."},"zip":{"nullable":true,"type":"string","title":"ZIP","description":"ZIP or postal code of the row (warehouse address or delivery location)."},"sellerName":{"nullable":true,"type":"string","title":"Seller name","description":"Seller of the product (Costco or a marketplace seller)."},"sellerUrl":{"nullable":true,"type":"string","title":"Seller URL","description":"Seller page URL."},"sellerType":{"nullable":true,"type":"string","title":"Seller type","description":"Seller type, e.g. first party or marketplace."},"fulfillmentType":{"nullable":true,"type":"string","title":"Fulfillment type","description":"How the product is fulfilled (warehouse, delivery, 2-day or same-day)."},"leadSource":{"nullable":true,"type":"string","title":"Lead source","description":"Where the row's entity data came from."},"reviewId":{"nullable":true,"type":"string","title":"Review ID","description":"Bazaarvoice review ID."},"productId":{"nullable":true,"type":"string","title":"Product ID","description":"Product ID the review belongs to."},"productUrl":{"nullable":true,"type":"string","title":"Product URL","description":"Costco URL of the reviewed product."},"author":{"nullable":true,"type":"string","title":"Author","description":"Reviewer display name."},"userNickname":{"nullable":true,"type":"string","title":"User nickname","description":"Reviewer nickname as published."},"authorId":{"nullable":true,"type":"string","title":"Author ID","description":"Reviewer ID."},"userLocation":{"nullable":true,"type":"string","title":"User location","description":"Reviewer location as published."},"submissionTime":{"nullable":true,"type":"string","title":"Submission time","description":"ISO 8601 time the review was submitted."},"lastModificationTime":{"nullable":true,"type":"string","title":"Last modification time","description":"ISO 8601 time the review was last changed."},"text":{"nullable":true,"type":"string","title":"Text","description":"Review text."},"reviewText":{"nullable":true,"type":"string","title":"Review text","description":"Review text (same as text, kept for compatibility)."},"ratingRange":{"nullable":true,"title":"Rating range","description":"Maximum possible star rating."},"recommended":{"nullable":true,"type":"boolean","title":"Recommended","description":"True when the reviewer recommends the product."},"isRecommended":{"nullable":true,"type":"boolean","title":"Is recommended","description":"True when the reviewer recommends the product (Bazaarvoice field)."},"verifiedPurchaser":{"nullable":true,"type":"boolean","title":"Verified purchaser","description":"True when the reviewer is a verified buyer."},"isVerifiedPurchaser":{"nullable":true,"type":"boolean","title":"Is verified purchaser","description":"True when the reviewer is a verified buyer (Bazaarvoice field)."},"isSyndicated":{"nullable":true,"type":"boolean","title":"Is syndicated","description":"True when the review was syndicated from another site."},"syndicationSource":{"nullable":true,"title":"Syndication source","description":"Site the syndicated review came from."},"sourceClient":{"nullable":true,"type":"string","title":"Source client","description":"Bazaarvoice client that published the review."},"contentLocale":{"nullable":true,"type":"string","title":"Content locale","description":"Locale of the review text."},"helpfulVotes":{"nullable":true,"type":"integer","title":"Helpful votes","description":"Number of shoppers who found the review helpful."},"unhelpfulVotes":{"nullable":true,"type":"integer","title":"Unhelpful votes","description":"Number of shoppers who found the review not helpful."},"totalFeedbackCount":{"nullable":true,"type":"integer","title":"Total feedback count","description":"Total helpfulness votes on the review."},"totalCommentCount":{"nullable":true,"type":"integer","title":"Total comment count","description":"Number of comments on the review."},"photos":{"nullable":true,"type":"array","title":"Photos","description":"Photos attached to the review.","items":{}},"videos":{"nullable":true,"type":"array","title":"Videos","description":"Videos attached to the review.","items":{}},"badges":{"nullable":true,"title":"Badges","description":"Reviewer badges such as verified buyer or staff."},"secondaryRatings":{"nullable":true,"title":"Secondary ratings","description":"Extra ratings such as value or quality."},"contextData":{"nullable":true,"title":"Context data","description":"Reviewer context answers such as age or usage."},"pros":{"nullable":true,"title":"Pros","description":"Pros listed by the reviewer."},"cons":{"nullable":true,"title":"Cons","description":"Cons listed by the reviewer."},"clientResponses":{"nullable":true,"type":"array","title":"Client responses","description":"Responses from Costco or the brand to the review.","items":{}},"productName":{"nullable":true,"type":"string","title":"Product name","description":"Name of the reviewed product."},"productBrand":{"nullable":true,"type":"string","title":"Product brand","description":"Brand of the reviewed product."},"productImageUrl":{"nullable":true,"type":"string","title":"Product image URL","description":"Image URL of the reviewed product."},"productPageUrl":{"nullable":true,"type":"string","title":"Product page URL","description":"Costco page of the reviewed product."},"averageRating":{"nullable":true,"type":"number","title":"Average rating","description":"Average star rating of the reviewed product."},"totalReviewCount":{"nullable":true,"type":"integer","title":"Total review count","description":"Total number of reviews of the reviewed product."},"recommendedCount":{"nullable":true,"type":"integer","title":"Recommended count","description":"Number of reviewers who recommend the product."},"notRecommendedCount":{"nullable":true,"type":"integer","title":"Not recommended count","description":"Number of reviewers who do not recommend the product."},"ratingDistribution":{"nullable":true,"title":"Rating distribution","description":"Number of reviews per star rating."},"warehouseNumber":{"nullable":true,"type":"string","title":"Warehouse number","description":"Costco warehouse number."},"name":{"nullable":true,"type":"string","title":"Name","description":"Warehouse name, or the category name on category tree rows."},"address":{"nullable":true,"title":"Address","description":"Street address of the warehouse."},"city":{"nullable":true,"type":"string","title":"City","description":"Warehouse city."},"state":{"nullable":true,"type":"string","title":"State","description":"Warehouse state, province or region."},"country":{"nullable":true,"type":"string","title":"Country","description":"Country code of the warehouse."},"phone":{"nullable":true,"type":"string","title":"Phone","description":"Warehouse phone number."},"lat":{"nullable":true,"type":"number","title":"Latitude","description":"Warehouse latitude."},"lon":{"nullable":true,"type":"number","title":"Longitude","description":"Warehouse longitude."},"geo":{"nullable":true,"type":"object","title":"Geo","description":"Warehouse coordinates as an object with lat and lng."},"hours":{"nullable":true,"title":"Hours","description":"Opening hours of the warehouse."},"services":{"nullable":true,"type":"array","title":"Services","description":"Services available at the warehouse (gas station, pharmacy, tire center and so on).","items":{}},"gasPrices":{"nullable":true,"title":"Gas prices","description":"Fuel prices at the warehouse gas station (US warehouses with a gas station only)."},"distance":{"nullable":true,"type":"number","title":"Distance","description":"Distance from the searched location."},"distanceUnit":{"nullable":true,"type":"string","title":"Distance unit","description":"Unit of the distance (miles or km)."},"openNow":{"nullable":true,"type":"boolean","title":"Open now","description":"True when the warehouse was open at collection time."},"timeZone":{"nullable":true,"type":"string","title":"Time zone","description":"Time zone of the warehouse."},"openingDate":{"nullable":true,"type":"string","title":"Opening date","description":"Date the warehouse opened or will open."},"slug":{"nullable":true,"type":"string","title":"Slug","description":"Category slug, or the product slug on product rows."},"count":{"nullable":true,"type":"integer","title":"Count","description":"Number of products in the category when known."},"parentId":{"nullable":true,"type":"string","title":"Parent ID","description":"Slug or ID of the parent category."},"path":{"nullable":true,"title":"Path","description":"Category path from the root."},"depth":{"nullable":true,"type":"integer","title":"Depth","description":"Depth of the category in the tree (0 = top level)."},"verified":{"nullable":true,"type":"boolean","title":"Verified","description":"On categoryTree rows: true when the category came from the live site in this request. On categoryBrowse product rows: true when the requested category slug is a known working filter value."},"filterable":{"nullable":true,"type":"boolean","title":"Filterable","description":"True when the category slug is known to work as a categoryBrowse filter value."},"phones":{"nullable":true,"type":"array","title":"Phones","description":"Phone contacts in the shared fleet contact format (value, type, e164).","items":{}},"emails":{"nullable":true,"type":"array","title":"Emails","description":"Email contacts in the shared fleet contact format; Costco rows have none.","items":{}},"person":{"nullable":true,"type":"object","title":"Person","description":"Person contact in the shared fleet contact format; Costco rows have none."},"org":{"nullable":true,"type":"object","title":"Organization","description":"Organization in the shared fleet contact format (name, id)."},"web":{"nullable":true,"type":"object","title":"Web","description":"Website and social links in the shared fleet contact format."},"leadReveal":{"nullable":true,"type":"string","title":"Lead reveal","description":"How contact data was revealed, in the shared fleet contact format."},"leadAbsences":{"nullable":true,"type":"object","title":"Lead absences","description":"Contact fields the source does not publish, in the shared fleet contact format."}},"additionalProperties":true,"description":"One collected entity. Field availability depends on rowType and the source. Fields always present (a|b = at least one of them): every row: id; rowType=product: itemId, title|name, url|productUrl; rowType=review: id, itemId, rating|text|title; rowType=warehouse: name|address.full; rowType=category: id|slug, name."},"Error":{"type":"object","required":["error"],"properties":{"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"ErrorDetail":{"type":"object","required":["code","message","retryable"],"properties":{"code":{"type":"string","example":"invalid_input"},"message":{"type":"string"},"retryable":{"type":"boolean"}}},"JobStatus":{"type":"object","properties":{"jobId":{"type":"string"},"status":{"type":"string","enum":["queued","running","succeeded","partial","failed","cancelled"]},"done":{"type":"boolean"},"rowsAvailable":{"type":"integer"},"rowsDelivered":{"type":"integer","description":"Rows already delivered (and billed) to you for this job."},"rowsLimit":{"type":"integer","description":"Most rows this job can deliver."},"estimatedFinishSec":{"type":"integer","description":"While running: estimated seconds until done."},"statusUrl":{"type":"string"},"resultsUrl":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"retentionHours":{"type":"integer"},"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"RowsPage":{"allOf":[{"$ref":"#/components/schemas/JobStatus"},{"type":"object","properties":{"offset":{"type":"integer"},"nextOffset":{"type":"integer"},"hasMore":{"type":"boolean"},"rowCount":{"type":"integer"},"rowsBilled":{"type":"integer","description":"Rows delivered by this response."},"rows":{"type":"array","items":{"$ref":"#/components/schemas/Row"}},"meta":{"type":"object","additionalProperties":true}}}]},"HealthStatus":{"type":"object","required":["ok","site","status","endpoints","rowsBilled"],"properties":{"ok":{"type":"boolean"},"site":{"type":"string"},"status":{"type":"string","enum":["operational","unavailable"]},"endpoints":{"type":"array","items":{"type":"string"}},"rowsBilled":{"type":"integer"}}}}}}