The Wholesale Inspector API is organized around REST. Our API has predictable resource-oriented URLs, accepts form-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs.
The Wholesale Inspector API uses access tokens to authenticate requests. You can view and manage your access tokens in the Integrations Dashboard.
Use your access token by setting it in the Authorization header as the Bearer value.
API requests without authentication will fail.
curl --request GET \
--url 'https://app.wholesaleinspector.com/api/v2/progress' \
--header 'Authorization: Bearer $YOUR_ACCESS_TOKEN'
Files are one of the cornerstones of Wholesale Inspector. Here you can upload a new file for analysis, view the progress of any files that are currently running, or pull data on your previously run files.
Which marketplace to run the analysis on. 1 for US, 6 for Canada, 11 for Mexico. UK + EU support coming soon
The CSV file to upload
curl --request POST \
--url 'https://app.wholesaleinspector.com/api/v2/file' \
--header 'Authorization: Bearer $YOUR_ACCESS_TOKEN' \
--form "file[0]=@/file.csv" \
--form "marketplace_id=1"
{ link: "string", status: "success" }
curl --request GET \
--url 'https://app.wholesaleinspector.com/api/v2/progress' \
--header 'Authorization: Bearer $YOUR_ACCESS_TOKEN'
{ "data": [ { "id": 1, "user_id": 123, "filename": "my supplier file.csv", "lines": 10000, "progress": 54.32, "speed": 0, "start": 0, "eta": 0, "upload_path": "string" } ], "meta": { "count": 0 } }
Optional filename search
Page to use for pagination
How many items to return
curl --request GET \
--url 'https://app.wholesaleinspector.com/api/v2/completed' \
--header 'Authorization: Bearer $YOUR_ACCESS_TOKEN'
{ "current_page": 1, "first_page_url": "string", "from": 1, "last_page": 0, "last_page_url": "string", "next_page_url": "string", "path": "string", "per_page": 10, "prev_page_url": "string", "to": 10, "total": 30, "data": [ { "id": 1, "name": "my supplier file.csv", "status": 0, "conversion_strategy_id": 0, "marketplace_id": 0, "lines": 0, "run_time": 0, "upload_location": "string", "csv_results": "string", "result_location": "string", "option": { "adjust_spm_for_amz": true, "amz_sell_rate": 0, "exclude_oos": true, "fallback_pack_quantity_from_title": true, "inbound_shipping_rate": 0, "lead_time_days": 0, "min_roi": 0, "pull_current_buybox": true, "pull_historical": true, "pull_reviews": true, "remove_duplicates": true, "run_with_no_cost": true, "show_unprofitable": true, "turn_rate_days": 0, "unit_prep_cost": 0, "upcharge": 0, "use_average_bsr": 0, "use_average_price": 0 }, "deleted_at": "string", "created_at": "string", "updated_at": "string" } ] }
csv_results
field in the /completed
call. Issue a get request to download the resultant file.NOTE:
- all monetary values are stored in cents. A profit of 123 in the results file will represent a profit of $1.23.
- all percentage values (roi, margin, etc) are stored in basis points. A roi of 1567 in the results file will represent a roi of 15.67%
curl --request GET \
--url '<csv_results_url>' \
--output my_csv_results.csv
null
Products are how you can sort and filter through the results of your file runs.
{ "id": 67, "identifier": "799872818010", "cost": 4.95, "supplier_sku": "", "supplier_title": "Munio Self Defense Keychain Butterfly Glass", "stock": 0, "map": 9.95, "custom1": "", "custom2": "", "custom3": "", "supplier_discount": 0, "supplier_pack_quantity": 1, "amazon_pack_quantity": 1, "brand": "MUNIO", "color": "Butterfly Glass Turquoise", "size": "One Size", "ip_complaints": 0, "meltable": 0, "image": "https://m.media-amazon.com/images/I/51lwS8jWBQL._SL500_.jpg", "amazon_title": "MUNIO Self Defense Kubaton Keychain with Ebook (Butterfly Glass)", "asin": "B00FPOTVHE", "total_cost": 4.95, "buybox_price": 9.94, "average_buybox_price_(30d)": 9.95, "average_buybox_price_(60d)": 9.95, "average_buybox_price_(90d)": 9.95, "average_buybox_price_(180d)": 9.95, "lowest_fba": 9.95, "lowest_fbm": -1, "profit": 0.6, "roi": 12.06, "margin": 6.01, "bsr": 204584, "average_bsr_(30d)": 199749, "average_bsr_(60d)": 109509, "average_bsr_(90d)": 78817, "average_bsr_(180d)": 45250, "lowest_bsr_(30d)": 17529, "lowest_bsr_(60d)": 14625, "lowest_bsr_(90d)": 10881, "lowest_bsr_(180d)": 5125, "sales_rank_drops_(30d)": 19, "sales_rank_drops_(60d)": 0, "sales_rank_drops_(90d)": 59, "sales_rank_drops_(180d)": 163, "category": "Clothing, Shoes & Jewelry", "is_top_level_category": 1, "percentage_time_profitable_(30d)": 1, "percentage_time_profitable_(60d)": 1, "percentage_time_profitable_(90d)": 1, "percentage_time_profitable_(180d)": 1, "percentage_time_roi_>=_15%_(30d)": 0, "percentage_time_roi_>=_15%_(60d)": 0, "percentage_time_roi_>=_15%_(90d)": 0, "percentage_time_roi_>=_15%_(180d)": 0, "buybox_seller": "", "number_of_variations": 1, "parent_asin": "", "number_of_sellers": 1, "amazon_in_stock_rate_(30d)": 0, "amazon_in_stock_rate_(60d)": 0, "amazon_in_stock_rate_(90d)": 0, "amazon_only": 0, "estimated_sales_per_month": 60, "competitive_sellers": 1, "share_of_units_per_month": 30, "share_of_sales_per_month": 298.2, "share_of_profit_per_month": 17.91, "number_of_reviews": 386, "average_review": 4.4, "weight": 0.05, "length": 5, "height": 0.5, "width": 3.2, "size_tier": "Small Standard", "inbound_shipping": 0, "prep_cost": 0, "storage_fees": 0, "fba_fees": 2.7, "referral_fees": 1.69, "net_revenue": 5.55, "add_to_seller_central": "https://sellercentral.amazon.com/abis/Display/ItemSelected?asin=B00FPOTVHE", "flags": "", "created_at": "2021-08-18 08:00:32", "updated_at": "2021-08-18 08:00:32", "mismatch": null, "purchase_order_item_id": null, "purchase_order_item_quantity": null }
List all products in a file run
The field to sort on. Defaults to ascending order. Prefix with "-" to sort in descending order ("-profit" to sort by profit in descending order, "profit" to sort by profit in ascending order).
Page to use for pagination
Filters to use. A hash of objects, keyed by the field name, containing the operator and it's value.
Operators can be >, >=, <, <=, =, or !=. Up to two operators can be specified per field. They will be
combined with an AND clause.
Example:{"profit": {">=": 1.00}}
-> only show products with a profit greater than or equal to $1.00Example: {"profit": {">": 1.00, "<":10.00}}
-> only show products with a profit greater than $1.00 and less than $10.00curl --request GET \
--url 'https://app.wholesaleinspector.com/api/v2/file/123/results' \
--header 'Authorization: Bearer $YOUR_ACCESS_TOKEN'
{ "data": [ { "id": 18, "identifier": "796430380002", "cost": 95.96, "supplier_sku": "", "supplier_title": "TASER Strikelight Flashlight Stun Gun", "stock": 30, "map": 129.99, "custom1": "", "custom2": "", "custom3": "", "supplier_discount": 0, "supplier_pack_quantity": 1, "amazon_pack_quantity": 1, "brand": "Taser", "color": "Black", "size": "Small", "ip_complaints": 0, "meltable": 0, "image": "https://m.media-amazon.com/images/I/31KJmhg-WGL._SL500_.jpg", "amazon_title": "TASER StrikeLight Rechargeable Self-Defense Flashlight Stun Baton", "asin": "B00DUZ0UNE", "total_cost": 95.96, "buybox_price": 130, "average_buybox_price_(30d)": 130, "average_buybox_price_(60d)": 129.99, "average_buybox_price_(90d)": 130, "average_buybox_price_(180d)": 130, "lowest_fba": -1, "lowest_fbm": -1, "profit": 9.44, "roi": 9.84, "margin": 7.26, "bsr": 99079, "average_bsr_(30d)": 73793, "average_bsr_(60d)": 79372, "average_bsr_(90d)": 83650, "average_bsr_(180d)": 84908, "lowest_bsr_(30d)": 31348, "lowest_bsr_(60d)": 31348, "lowest_bsr_(90d)": 31348, "lowest_bsr_(180d)": 31348, "sales_rank_drops_(30d)": 57, "sales_rank_drops_(60d)": 0, "sales_rank_drops_(90d)": 163, "sales_rank_drops_(180d)": 275, "category": "Sports & Outdoors", "is_top_level_category": 1, "percentage_time_profitable_(30d)": 1, "percentage_time_profitable_(60d)": 1, "percentage_time_profitable_(90d)": 1, "percentage_time_profitable_(180d)": 0.98, "percentage_time_roi_>=_15%_(30d)": 0, "percentage_time_roi_>=_15%_(60d)": 0, "percentage_time_roi_>=_15%_(90d)": 0, "percentage_time_roi_>=_15%_(180d)": 0, "buybox_seller": "", "number_of_variations": 1, "parent_asin": "", "number_of_sellers": 1, "amazon_in_stock_rate_(30d)": 0, "amazon_in_stock_rate_(60d)": 0, "amazon_in_stock_rate_(90d)": 0, "amazon_only": 0, "estimated_sales_per_month": 60, "competitive_sellers": 0, "share_of_units_per_month": 60, "share_of_sales_per_month": 7800, "share_of_profit_per_month": 566.59, "number_of_reviews": 0, "average_review": 0, "weight": 1.15, "length": 11.3, "height": 1.6, "width": 5.1, "size_tier": "Large Standard", "inbound_shipping": 0, "prep_cost": 0, "storage_fees": 0.04, "fba_fees": 5.06, "referral_fees": 19.5, "net_revenue": 105.44, "add_to_seller_central": "https://sellercentral.amazon.com/abis/Display/ItemSelected?asin=B00DUZ0UNE", "flags": "", "created_at": "2021-08-18 08:00:32", "updated_at": "2021-08-18 08:00:32", "mismatch": null, "purchase_order_item_id": null, "purchase_order_item_quantity": null }, { "id": 67, "identifier": "799872818010", "cost": 4.95, "supplier_sku": "", "supplier_title": "Munio Self Defense Keychain Butterfly Glass", "stock": 0, "map": 9.95, "custom1": "", "custom2": "", "custom3": "", "supplier_discount": 0, "supplier_pack_quantity": 1, "amazon_pack_quantity": 1, "brand": "MUNIO", "color": "Butterfly Glass Turquoise", "size": "One Size", "ip_complaints": 0, "meltable": 0, "image": "https://m.media-amazon.com/images/I/51lwS8jWBQL._SL500_.jpg", "amazon_title": "MUNIO Self Defense Kubaton Keychain with Ebook (Butterfly Glass)", "asin": "B00FPOTVHE", "total_cost": 4.95, "buybox_price": 9.94, "average_buybox_price_(30d)": 9.95, "average_buybox_price_(60d)": 9.95, "average_buybox_price_(90d)": 9.95, "average_buybox_price_(180d)": 9.95, "lowest_fba": 9.95, "lowest_fbm": -1, "profit": 0.6, "roi": 12.06, "margin": 6.01, "bsr": 204584, "average_bsr_(30d)": 199749, "average_bsr_(60d)": 109509, "average_bsr_(90d)": 78817, "average_bsr_(180d)": 45250, "lowest_bsr_(30d)": 17529, "lowest_bsr_(60d)": 14625, "lowest_bsr_(90d)": 10881, "lowest_bsr_(180d)": 5125, "sales_rank_drops_(30d)": 19, "sales_rank_drops_(60d)": 0, "sales_rank_drops_(90d)": 59, "sales_rank_drops_(180d)": 163, "category": "Clothing, Shoes & Jewelry", "is_top_level_category": 1, "percentage_time_profitable_(30d)": 1, "percentage_time_profitable_(60d)": 1, "percentage_time_profitable_(90d)": 1, "percentage_time_profitable_(180d)": 1, "percentage_time_roi_>=_15%_(30d)": 0, "percentage_time_roi_>=_15%_(60d)": 0, "percentage_time_roi_>=_15%_(90d)": 0, "percentage_time_roi_>=_15%_(180d)": 0, "buybox_seller": "", "number_of_variations": 1, "parent_asin": "", "number_of_sellers": 1, "amazon_in_stock_rate_(30d)": 0, "amazon_in_stock_rate_(60d)": 0, "amazon_in_stock_rate_(90d)": 0, "amazon_only": 0, "estimated_sales_per_month": 60, "competitive_sellers": 1, "share_of_units_per_month": 30, "share_of_sales_per_month": 298.2, "share_of_profit_per_month": 17.91, "number_of_reviews": 386, "average_review": 4.4, "weight": 0.05, "length": 5, "height": 0.5, "width": 3.2, "size_tier": "Small Standard", "inbound_shipping": 0, "prep_cost": 0, "storage_fees": 0, "fba_fees": 2.7, "referral_fees": 1.69, "net_revenue": 5.55, "add_to_seller_central": "https://sellercentral.amazon.com/abis/Display/ItemSelected?asin=B00FPOTVHE", "flags": "", "created_at": "2021-08-18 08:00:32", "updated_at": "2021-08-18 08:00:32", "mismatch": null, "purchase_order_item_id": null, "purchase_order_item_quantity": null }, ], "links": { "first": "http://rocket-analysis.test/api/v2/file/3/results?page=1", "last": "http://rocket-analysis.test/api/v2/file/3/results?page=1", "prev": null, "next": null, }, "meta": { "current_page": 1, "from": 1, "last_page": 1, "path": "http://rocket-analysis.test/api/v2/file/3/results", "per_page": 100, "to": 2, "total": 2 } }
The brand blocklist allows you to automatically remove products with certain brands from your results.
{ "id": 1, "brand": "Nike", "created_at": "2021-08-21T22:41:48.000000Z", "updated_at": "2021-08-21T22:41:48.000000Z", },
A list of all your blocked brands
Optional brand search
Page to use for pagination
How many items to return
curl --request GET \
--url 'https://app.wholesaleinspector.com/api/v2/brand-blocklist' \
--header 'Authorization: Bearer $YOUR_ACCESS_TOKEN'
{ "data": [ { "id": 1, "user_id": 2, "brand": "Nike", "created_at": "2021-08-21T20:20:13.000000Z", "updated_at": "2021-08-21T20:20:13.000000Z" }, { "id": 2, "user_id": 2, "brand": "Adidas", "created_at": "2021-08-21T20:20:13.000000Z", "updated_at": "2021-08-21T20:20:13.000000Z" }, { "id": 3, "user_id": 2, "brand": "test123", "created_at": "2021-08-21T20:20:20.000000Z", "updated_at": "2021-08-21T20:20:20.000000Z" }, { "id": 5, "user_id": 2, "brand": "test12345", "created_at": "2021-08-21T20:20:24.000000Z", "updated_at": "2021-08-21T20:20:24.000000Z" }, { "id": 6, "user_id": 2, "brand": "test1234", "created_at": "2021-08-21T20:36:38.000000Z", "updated_at": "2021-08-21T20:36:38.000000Z" } ], "links": { "first": "https://wholesaleinspector.com/api/v2/brand-blocklist?page=1", "last": "https://wholesaleinspector.com/api/v2/brand-blocklist?page=1", "prev": null, "next": null }, "meta": { "current_page": 1, "from": 1, "last_page": 1, "path": "https://wholesaleinspector.com/api/v2/brand-blocklist", "per_page": 10, "to": 5, "total": 5 } }
Creates one or more blocked brands
An array of brands
curl --request POST \
--data '{"brands": ["Nike","Adidas"]}'
--url 'https://app.wholesaleinspector.com/api/v2/brand-blocklist' \
--header 'Authorization: Bearer $YOUR_ACCESS_TOKEN'
[]
Deletes a blocked brand
curl --request DELETE \
--url 'https://app.wholesaleinspector.com/api/v2/brand-blocklist/123' \
--header 'Authorization: Bearer $YOUR_ACCESS_TOKEN'
[]
The asin blocklist allows you to automatically remove products with certain asins from your results.
{ "id": 1, "asin": "ASINASIN10", "marketplace": "US" "created_at": "2021-08-21T22:41:48.000000Z", "updated_at": "2021-08-21T22:41:48.000000Z", },
A list of all your blocked asin
The ISO-3166 two-character country code. Either US, CA, or MX at this time.
Optional asin search
Page to use for pagination
How many items to return
curl --request GET \
--url 'https://app.wholesaleinspector.com/api/v2/asin-blocklist' \
--header 'Authorization: Bearer $YOUR_ACCESS_TOKEN'
{ "data": [ { "id": 1, "asin": "ASINASIN10", "marketplace": "US" "created_at": "2021-08-21T22:41:48.000000Z", "updated_at": "2021-08-21T22:41:48.000000Z", }, { "id": 2, "asin": "ASINASIN20", "marketplace": "US" "created_at": "2021-08-21T22:41:48.000000Z", "updated_at": "2021-08-21T22:41:48.000000Z", } ], "links": { "first": "https://wholesaleinspector.com/api/v2/asin-blocklist?page=1", "last": "https://wholesaleinspector.com/api/v2/asin-blocklist?page=1", "prev": null, "next": null }, "meta": { "current_page": 1, "from": 1, "last_page": 1, "path": "https://wholesaleinspector.com/api/v2/asin-blocklist", "per_page": 10, "to": 2, "total": 2 } }
Creates one or more blocked asins
The ISO-3166 two-character country code. Either US, CA, or MX at this time.
An array of asins
curl --request POST \
--data '{"marketplace": "US", "asins": ["ASINASIN10","ASINASIN10"]}'
--url 'https://app.wholesaleinspector.com/api/v2/asin-blocklist' \
--header 'Authorization: Bearer $YOUR_ACCESS_TOKEN'
[]
Deletes a blocked asin
curl --request DELETE \
--url 'https://app.wholesaleinspector.com/api/v2/asin-blocklist/123' \
--header 'Authorization: Bearer $YOUR_ACCESS_TOKEN'
[]
Multipack corrections serve as overrides that Wholesale Inspector will always use as the Amazon pack quantity any time the asin is enncountered in your account.
{ "id": 1, "asin": "ASINASIN10", "pack_quantity": 2, "marketplace": "US" "created_at": "2021-08-21T22:41:48.000000Z", "updated_at": "2021-08-21T22:41:48.000000Z", },
List all multipack corrections
The ISO-3166 two-character country code. Either US, CA, or MX at this time.
Optional asin search
Page to use for pagination
How many items to return
curl --request GET \
--url 'https://app.wholesaleinspector.com/api/v2/multipacks' \
--header 'Authorization: Bearer $YOUR_ACCESS_TOKEN'
{ "data": [ { "id": 1, "asin": "ASINASIN10", "pack_quantity": 2, "marketplace": "US" "created_at": "2021-08-21T22:41:48.000000Z", "updated_at": "2021-08-21T22:41:48.000000Z", }, { "id": 2, "asin": "ASINASIN20", "pack_quantity": 3, "marketplace": "US" "created_at": "2021-08-21T22:41:48.000000Z", "updated_at": "2021-08-21T22:41:48.000000Z", } ], "links": { "first": "https://wholesaleinspector.com/api/v2/multipacks?page=1", "last": "https://wholesaleinspector.com/api/v2/multipacks?page=1", "prev": null, "next": null }, "meta": { "current_page": 1, "from": 1, "last_page": 1, "path": "https://wholesaleinspector.com/api/v2/multipacks", "per_page": 10, "to": 2, "total": 2 } }
Creates a multipack correction.
Multipack corrections can be added in bulk. Limit 100 per request.
Create requests for existing marketplace and asin combinations will update the pack quantity.
The ISO-3166 two-character country code. Either US, CA, or MX at this time.
Multipacks to create. An array of objects containing asin and pack_quantity attributes.
curl --request POST \
--data '{"marketplace": "US", "multipacks": [{"asin": "ASINASIN10", "pack_quantity": 2}, {"asin": "ASINASIN10", "pack_quantity": 3}]}'
--url 'https://app.wholesaleinspector.com/api/v2/multipacks' \
--header 'Authorization: Bearer $YOUR_ACCESS_TOKEN'
[]
Delete a multipack correction
curl --request DELETE \
--url 'https://app.wholesaleinspector.com/api/v2/multipacks/123' \
--header 'Authorization: Bearer $YOUR_ACCESS_TOKEN'
[]