Track product availability across competitor websites. Know instantly when products go out of stock or become available again.
Understanding competitor inventory levels gives you a strategic advantage. Know when competitors are running low, identify supply chain issues, and capitalize on stockout opportunities.
Manual stock checking is impossible at scale. You need automated monitoring that tracks thousands of products 24/7.
Everything you need to track inventory at scale
Detect in-stock, out-of-stock, backorder, and pre-order statuses automatically.
Extract actual inventory counts and "low stock" indicators when available.
Track availability by size, color, configuration, or any product variant.
Capture shipping times and delivery date estimates along with stock data.
Monitor competitor inventory in three steps
Submit the competitor product pages you want to monitor for stock levels.
Our AI understands stock indicators, quantity displays, and availability messages.
Receive structured data and set up alerts for stock changes via webhooks.
Extract stock information from any product page
curl -G "https://api.webscraping.ai/ai/fields" \
--data-urlencode "api_key=YOUR_API_KEY" \
--data-urlencode "url=https://example-store.com/product/gaming-console" \
--data-urlencode "fields[product_name]=Name of the product" \
--data-urlencode "fields[in_stock]=Whether the product is available to buy (true/false)" \
--data-urlencode "fields[stock_quantity]=Number of items in stock if shown" \
--data-urlencode "fields[stock_status]=The exact stock status text (e.g., In Stock, Only 3 left)" \
--data-urlencode "fields[delivery_estimate]=Expected delivery date or shipping time" \
--data-urlencode "fields[backorder_date]=Expected restock date if backordered"
# Response:
# {
# "product_name": "Gaming Console Pro",
# "in_stock": true,
# "stock_quantity": 3,
# "stock_status": "Only 3 left in stock - order soon",
# "delivery_estimate": "Delivery by Friday, Jan 10",
# "backorder_date": null
# }
# pip install webscraping_ai
# https://pypi.org/project/webscraping-ai/
from webscraping_ai import Client
client = Client(api_key="YOUR_API_KEY")
result = client.fields(
"https://example-store.com/product/gaming-console",
fields={
"product_name": "Name of the product",
"in_stock": "Whether the product is available to buy (true/false)",
"stock_quantity": "Number of items in stock if shown",
"stock_status": "The exact stock status text (e.g., In Stock, Only 3 left)",
"delivery_estimate": "Expected delivery date or shipping time",
"backorder_date": "Expected restock date if backordered",
},
)
print(result)
# Response:
# {
# "product_name": "Gaming Console Pro",
# "in_stock": true,
# "stock_quantity": 3,
# "stock_status": "Only 3 left in stock - order soon",
# "delivery_estimate": "Delivery by Friday, Jan 10",
# "backorder_date": null
# }
// npm install webscraping-ai
// https://www.npmjs.com/package/webscraping-ai
import { WebScrapingAI } from 'webscraping-ai';
const client = new WebScrapingAI({ apiKey: 'YOUR_API_KEY' });
const result = await client.fields({
url: 'https://example-store.com/product/gaming-console',
fields: {
product_name: 'Name of the product',
in_stock: 'Whether the product is available to buy (true/false)',
stock_quantity: 'Number of items in stock if shown',
stock_status: 'The exact stock status text (e.g., In Stock, Only 3 left)',
delivery_estimate: 'Expected delivery date or shipping time',
backorder_date: 'Expected restock date if backordered',
},
});
console.log(result);
// Response:
// {
// "product_name": "Gaming Console Pro",
// "in_stock": true,
// "stock_quantity": 3,
// "stock_status": "Only 3 left in stock - order soon",
// "delivery_estimate": "Delivery by Friday, Jan 10",
// "backorder_date": null
// }
<?php
// composer require webscraping-ai/webscraping-ai-php
// https://packagist.org/packages/webscraping-ai/webscraping-ai-php
require 'vendor/autoload.php';
use WebScrapingAI\Client;
$client = new Client('YOUR_API_KEY');
$result = $client->fields('https://example-store.com/product/gaming-console', [
'product_name' => 'Name of the product',
'in_stock' => 'Whether the product is available to buy (true/false)',
'stock_quantity' => 'Number of items in stock if shown',
'stock_status' => 'The exact stock status text (e.g., In Stock, Only 3 left)',
'delivery_estimate' => 'Expected delivery date or shipping time',
'backorder_date' => 'Expected restock date if backordered',
]);
print_r($result);
// Response:
// {
// "product_name": "Gaming Console Pro",
// "in_stock": true,
// "stock_quantity": 3,
// "stock_status": "Only 3 left in stock - order soon",
// "delivery_estimate": "Delivery by Friday, Jan 10",
// "backorder_date": null
// }
# gem install webscraping_ai
# https://rubygems.org/gems/webscraping_ai
require 'webscraping_ai'
client = WebScrapingAI::Client.new(api_key: 'YOUR_API_KEY')
result = client.fields(
'https://example-store.com/product/gaming-console',
fields: {
product_name: 'Name of the product',
in_stock: 'Whether the product is available to buy (true/false)',
stock_quantity: 'Number of items in stock if shown',
stock_status: 'The exact stock status text (e.g., In Stock, Only 3 left)',
delivery_estimate: 'Expected delivery date or shipping time',
backorder_date: 'Expected restock date if backordered',
}
)
puts result.inspect
# Response:
# {
# "product_name": "Gaming Console Pro",
# "in_stock": true,
# "stock_quantity": 3,
# "stock_status": "Only 3 left in stock - order soon",
# "delivery_estimate": "Delivery by Friday, Jan 10",
# "backorder_date": null
# }
// go get github.com/webscraping-ai/webscraping-ai-go/v4
// https://pkg.go.dev/github.com/webscraping-ai/webscraping-ai-go/v4
package main
import (
"context"
"fmt"
webscrapingai "github.com/webscraping-ai/webscraping-ai-go/v4"
)
func main() {
client, _ := webscrapingai.NewClient(&webscrapingai.Config{APIKey: "YOUR_API_KEY"})
result, _ := client.Fields(context.Background(), &webscrapingai.FieldsOptions{
URL: "https://example-store.com/product/gaming-console",
Fields: map[string]string{
"product_name": "Name of the product",
"in_stock": "Whether the product is available to buy (true/false)",
"stock_quantity": "Number of items in stock if shown",
"stock_status": "The exact stock status text (e.g., In Stock, Only 3 left)",
"delivery_estimate": "Expected delivery date or shipping time",
"backorder_date": "Expected restock date if backordered",
},
})
fmt.Println(result.Result)
}
// Response:
// {
// "product_name": "Gaming Console Pro",
// "in_stock": true,
// "stock_quantity": 3,
// "stock_status": "Only 3 left in stock - order soon",
// "delivery_estimate": "Delivery by Friday, Jan 10",
// "backorder_date": null
// }
// Maven: ai.webscraping:webscraping-ai:4.0.0
// https://central.sonatype.com/artifact/ai.webscraping/webscraping-ai
import ai.webscraping.Client;
import ai.webscraping.Config;
import ai.webscraping.option.FieldsOptions;
import ai.webscraping.result.FieldsResult;
Client client = new Client(Config.builder().apiKey("YOUR_API_KEY").build());
FieldsResult result = client.fields(FieldsOptions.builder()
.url("https://example-store.com/product/gaming-console")
.addField("product_name", "Name of the product")
.addField("in_stock", "Whether the product is available to buy (true/false)")
.addField("stock_quantity", "Number of items in stock if shown")
.addField("stock_status", "The exact stock status text (e.g., In Stock, Only 3 left)")
.addField("delivery_estimate", "Expected delivery date or shipping time")
.addField("backorder_date", "Expected restock date if backordered")
.build());
System.out.println(result.getResult());
// Response:
// {
// "product_name": "Gaming Console Pro",
// "in_stock": true,
// "stock_quantity": 3,
// "stock_status": "Only 3 left in stock - order soon",
// "delivery_estimate": "Delivery by Friday, Jan 10",
// "backorder_date": null
// }
// dotnet add package WebScrapingAI
// https://www.nuget.org/packages/WebScrapingAI
using WebScrapingAI;
var client = new WebScrapingAIClient(new WebScrapingAIClientOptions { ApiKey = "YOUR_API_KEY" });
var result = await client.FieldsAsync(new FieldsRequest {
Url = "https://example-store.com/product/gaming-console",
Fields = new Dictionary<string, string> {
["product_name"] = "Name of the product",
["in_stock"] = "Whether the product is available to buy (true/false)",
["stock_quantity"] = "Number of items in stock if shown",
["stock_status"] = "The exact stock status text (e.g., In Stock, Only 3 left)",
["delivery_estimate"] = "Expected delivery date or shipping time",
["backorder_date"] = "Expected restock date if backordered",
},
});
Console.WriteLine(result.Result);
// Response:
// {
// "product_name": "Gaming Console Pro",
// "in_stock": true,
// "stock_quantity": 3,
// "stock_status": "Only 3 left in stock - order soon",
// "delivery_estimate": "Delivery by Friday, Jan 10",
// "backorder_date": null
// }
Get notified when competitors run out of key products
Know when high-demand items become available again
Track limited edition product drops and releases
Build historical data on competitor inventory patterns
More e-commerce intelligence solutions
Get started with 1,000 free API credits. No credit card required.