curl --location 'https://app.mrscraper.com/api/ai' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer API_TOKEN' \
--data '{
"urls": [
"https://www.ebay.com/sch/i.html?_from=R40&_trksid=p4432023.m570.l1313&_nkw=shoes&_sacat=0"
],
"min": 100,
"max": 200,
"timeout": 180,
"schema": {
"type": "array",
"description": "List of products",
"items": {
"type": "object",
"description": "product information",
"properties": {
"product_name": {
"type": "string",
"description": "product name"
},
"product_url": {
"type": "string",
"description": "product valid url"
},
"product_sold": {
"type": "number",
"description": "total product sold"
},
"product_price": {
"type": "number",
"description": "product price"
},
"product_currency": {
"type": "string",
"description": "the currency of the product price"
},
"product_location": {
"type": "string",
"description": "product location"
}
},
"required": [
"product_name",
"product_url",
"product_sold",
"product_price",
"product_currency",
"product_location"
]
},
"required": [
"products"
]
}
}'