Walmart product search
curl --request POST \
--url https://api.neuralverge.ai/functions/v1/run-walmart-product-search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"keyword": "wireless mouse",
"max_items": 2
}
'import requests
url = "https://api.neuralverge.ai/functions/v1/run-walmart-product-search"
payload = {
"keyword": "wireless mouse",
"max_items": 2
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({keyword: 'wireless mouse', max_items: 2})
};
fetch('https://api.neuralverge.ai/functions/v1/run-walmart-product-search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.neuralverge.ai/functions/v1/run-walmart-product-search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'keyword' => 'wireless mouse',
'max_items' => 2
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.neuralverge.ai/functions/v1/run-walmart-product-search"
payload := strings.NewReader("{\n \"keyword\": \"wireless mouse\",\n \"max_items\": 2\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.neuralverge.ai/functions/v1/run-walmart-product-search")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"keyword\": \"wireless mouse\",\n \"max_items\": 2\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.neuralverge.ai/functions/v1/run-walmart-product-search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"keyword\": \"wireless mouse\",\n \"max_items\": 2\n}"
response = http.request(request)
puts response.read_body{
"session_id": "11111111-1111-1111-1111-111111111111",
"kind": "walmart_product_search",
"keyword": "wireless mouse",
"max_items": 2,
"start_page": 1,
"sort": "best_match",
"min_price": null,
"max_price": null,
"timeout": 300,
"partial": false,
"human": "# Walmart product search\n\n- **Search term:** wireless mouse\n- **Starting page:** 1\n- **Max items:** 2\n- **Sort:** best_match\n- **Records returned:** 2\n- **Response size:** 1.63 MB",
"machine": {
"total_items": 2,
"items": [
{
"id": "13802306327",
"name": "Logitech Silent Wireless Mouse, Black, Walmart Exclusive",
"url": "https://www.walmart.com/ip/Logitech-Silent-Wireless-Mouse-Black/13802306327?classType=VARIANT&athbdg=L1200",
"price": 13.83,
"currency": "USD",
"list_price": null,
"image": "https://i5.walmartimages.com/seo/Logitech-Silent-Wireless-Mouse-Black_cfe0592c-dd7d-4d65-9af9-52f5bf7bd47e_1.742d532fe35714dd47641a50658a2609.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF",
"rating": 4.5,
"review_count": 5729,
"category": "Home Page/Services/Immersive Shopping Suite/View in 3D",
"seller": {
"id": "F55CDC31AB754BB68FE0B39041159D63",
"name": "Walmart.com",
"type": null
},
"availability_status": "IN_STOCK",
"is_in_stock": true,
"is_sponsored": true
},
{
"id": "10774352381",
"name": "Logitech Precision Pro Wireless Mouse, Black, Compatible with Laptop, PC, Mac, iPadOS, Walmart Exclusive",
"url": "https://www.walmart.com/ip/Logitech-Precision-Pro-Wireless-Mouse/10774352381?classType=REGULAR",
"price": 36.82,
"currency": "USD",
"list_price": null,
"image": "https://i5.walmartimages.com/seo/Logitech-Precision-Pro-Wireless-Mouse_c76cddbf-c8cb-47d0-8e85-4add479ce780.1728b07ccdbdcbcec9c5abf4f7c22987.png?odnHeight=180&odnWidth=180&odnBg=FFFFFF",
"rating": 4.4,
"review_count": 255,
"category": "Home Page/Electronics/Computers, Laptops and Tablets/Computer Accessories/Computer Keyboards & Mice/Computer Mouse & Mouse Pads/Wireless Mouse",
"seller": {
"id": "F55CDC31AB754BB68FE0B39041159D63",
"name": "Walmart.com",
"type": null
},
"availability_status": "IN_STOCK",
"is_in_stock": true,
"is_sponsored": true
}
],
"response_bytes": 1712384
},
"total_points": 2
}E-commerce & Marketplaces
Walmart product search
Search Walmart products by keyword: title, price, rating, and seller. 1 point per returned record.
POST
/
functions
/
v1
/
run-walmart-product-search
Walmart product search
curl --request POST \
--url https://api.neuralverge.ai/functions/v1/run-walmart-product-search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"keyword": "wireless mouse",
"max_items": 2
}
'import requests
url = "https://api.neuralverge.ai/functions/v1/run-walmart-product-search"
payload = {
"keyword": "wireless mouse",
"max_items": 2
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({keyword: 'wireless mouse', max_items: 2})
};
fetch('https://api.neuralverge.ai/functions/v1/run-walmart-product-search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.neuralverge.ai/functions/v1/run-walmart-product-search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'keyword' => 'wireless mouse',
'max_items' => 2
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.neuralverge.ai/functions/v1/run-walmart-product-search"
payload := strings.NewReader("{\n \"keyword\": \"wireless mouse\",\n \"max_items\": 2\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.neuralverge.ai/functions/v1/run-walmart-product-search")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"keyword\": \"wireless mouse\",\n \"max_items\": 2\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.neuralverge.ai/functions/v1/run-walmart-product-search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"keyword\": \"wireless mouse\",\n \"max_items\": 2\n}"
response = http.request(request)
puts response.read_body{
"session_id": "11111111-1111-1111-1111-111111111111",
"kind": "walmart_product_search",
"keyword": "wireless mouse",
"max_items": 2,
"start_page": 1,
"sort": "best_match",
"min_price": null,
"max_price": null,
"timeout": 300,
"partial": false,
"human": "# Walmart product search\n\n- **Search term:** wireless mouse\n- **Starting page:** 1\n- **Max items:** 2\n- **Sort:** best_match\n- **Records returned:** 2\n- **Response size:** 1.63 MB",
"machine": {
"total_items": 2,
"items": [
{
"id": "13802306327",
"name": "Logitech Silent Wireless Mouse, Black, Walmart Exclusive",
"url": "https://www.walmart.com/ip/Logitech-Silent-Wireless-Mouse-Black/13802306327?classType=VARIANT&athbdg=L1200",
"price": 13.83,
"currency": "USD",
"list_price": null,
"image": "https://i5.walmartimages.com/seo/Logitech-Silent-Wireless-Mouse-Black_cfe0592c-dd7d-4d65-9af9-52f5bf7bd47e_1.742d532fe35714dd47641a50658a2609.jpeg?odnHeight=180&odnWidth=180&odnBg=FFFFFF",
"rating": 4.5,
"review_count": 5729,
"category": "Home Page/Services/Immersive Shopping Suite/View in 3D",
"seller": {
"id": "F55CDC31AB754BB68FE0B39041159D63",
"name": "Walmart.com",
"type": null
},
"availability_status": "IN_STOCK",
"is_in_stock": true,
"is_sponsored": true
},
{
"id": "10774352381",
"name": "Logitech Precision Pro Wireless Mouse, Black, Compatible with Laptop, PC, Mac, iPadOS, Walmart Exclusive",
"url": "https://www.walmart.com/ip/Logitech-Precision-Pro-Wireless-Mouse/10774352381?classType=REGULAR",
"price": 36.82,
"currency": "USD",
"list_price": null,
"image": "https://i5.walmartimages.com/seo/Logitech-Precision-Pro-Wireless-Mouse_c76cddbf-c8cb-47d0-8e85-4add479ce780.1728b07ccdbdcbcec9c5abf4f7c22987.png?odnHeight=180&odnWidth=180&odnBg=FFFFFF",
"rating": 4.4,
"review_count": 255,
"category": "Home Page/Electronics/Computers, Laptops and Tablets/Computer Accessories/Computer Keyboards & Mice/Computer Mouse & Mouse Pads/Wireless Mouse",
"seller": {
"id": "F55CDC31AB754BB68FE0B39041159D63",
"name": "Walmart.com",
"type": null
},
"availability_status": "IN_STOCK",
"is_in_stock": true,
"is_sponsored": true
}
],
"response_bytes": 1712384
},
"total_points": 2
}Authorizations
Body
application/json
Response
Run completed.