/monotaro/products/search
curl --request POST \
--url https://api.anysite.io/api/monotaro/products/search \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"count": 2,
"timeout": 300,
"keyword": "<string>",
"category": "<string>",
"brand": "<string>",
"product_name": "<string>",
"order_code": "<string>",
"maker_product_code": "<string>",
"attributes": {},
"price_min": 1,
"price_max": 1,
"min_rating": 2,
"include_discontinued": false,
"exclude_business_only": false,
"subscription_only": false,
"sort": "recommended"
}
'import requests
url = "https://api.anysite.io/api/monotaro/products/search"
payload = {
"count": 2,
"timeout": 300,
"keyword": "<string>",
"category": "<string>",
"brand": "<string>",
"product_name": "<string>",
"order_code": "<string>",
"maker_product_code": "<string>",
"attributes": {},
"price_min": 1,
"price_max": 1,
"min_rating": 2,
"include_discontinued": False,
"exclude_business_only": False,
"subscription_only": False,
"sort": "recommended"
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
count: 2,
timeout: 300,
keyword: '<string>',
category: '<string>',
brand: '<string>',
product_name: '<string>',
order_code: '<string>',
maker_product_code: '<string>',
attributes: {},
price_min: 1,
price_max: 1,
min_rating: 2,
include_discontinued: false,
exclude_business_only: false,
subscription_only: false,
sort: 'recommended'
})
};
fetch('https://api.anysite.io/api/monotaro/products/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.anysite.io/api/monotaro/products/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([
'count' => 2,
'timeout' => 300,
'keyword' => '<string>',
'category' => '<string>',
'brand' => '<string>',
'product_name' => '<string>',
'order_code' => '<string>',
'maker_product_code' => '<string>',
'attributes' => [
],
'price_min' => 1,
'price_max' => 1,
'min_rating' => 2,
'include_discontinued' => false,
'exclude_business_only' => false,
'subscription_only' => false,
'sort' => 'recommended'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <api-key>"
],
]);
$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.anysite.io/api/monotaro/products/search"
payload := strings.NewReader("{\n \"count\": 2,\n \"timeout\": 300,\n \"keyword\": \"<string>\",\n \"category\": \"<string>\",\n \"brand\": \"<string>\",\n \"product_name\": \"<string>\",\n \"order_code\": \"<string>\",\n \"maker_product_code\": \"<string>\",\n \"attributes\": {},\n \"price_min\": 1,\n \"price_max\": 1,\n \"min_rating\": 2,\n \"include_discontinued\": false,\n \"exclude_business_only\": false,\n \"subscription_only\": false,\n \"sort\": \"recommended\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("access-token", "<api-key>")
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.anysite.io/api/monotaro/products/search")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"count\": 2,\n \"timeout\": 300,\n \"keyword\": \"<string>\",\n \"category\": \"<string>\",\n \"brand\": \"<string>\",\n \"product_name\": \"<string>\",\n \"order_code\": \"<string>\",\n \"maker_product_code\": \"<string>\",\n \"attributes\": {},\n \"price_min\": 1,\n \"price_max\": 1,\n \"min_rating\": 2,\n \"include_discontinued\": false,\n \"exclude_business_only\": false,\n \"subscription_only\": false,\n \"sort\": \"recommended\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/monotaro/products/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"count\": 2,\n \"timeout\": 300,\n \"keyword\": \"<string>\",\n \"category\": \"<string>\",\n \"brand\": \"<string>\",\n \"product_name\": \"<string>\",\n \"order_code\": \"<string>\",\n \"maker_product_code\": \"<string>\",\n \"attributes\": {},\n \"price_min\": 1,\n \"price_max\": 1,\n \"min_rating\": 2,\n \"include_discontinued\": false,\n \"exclude_business_only\": false,\n \"subscription_only\": false,\n \"sort\": \"recommended\"\n}"
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"@type": "MonotaroSearchItem",
"sub_name": "<string>",
"brand": "<string>",
"brand_id": "<string>",
"image": "<string>",
"images": [],
"usage": "<string>",
"price": 123,
"price_with_tax": 123,
"has_price_range": true,
"is_special_price": true,
"currency": "JPY",
"quantity": "<string>",
"min_ship_days": 123,
"max_ship_days": 123,
"rating": 123,
"review_count": 123,
"variant_count": 123,
"is_orderable": true,
"can_subscribe": true,
"has_eco_mark": true,
"has_rohs_mark": true,
"category": "<string>",
"category_id": "<string>",
"breadcrumbs": [],
"specs": {},
"documents": []
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}/monotaro
/monotaro/products/search
Search the MonotaRO (モノタロウ) catalog by keyword, category, brand, part number, price range, rating, shipping lead time and category-specific attribute filters. Returns product cards with prices with and without tax, rating, review count, variant count, shipping lead time, category breadcrumbs, the representative specification set and linked documents.
Price: 20 credits per 40 results
POST
/
api
/
monotaro
/
products
/
search
/monotaro/products/search
curl --request POST \
--url https://api.anysite.io/api/monotaro/products/search \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"count": 2,
"timeout": 300,
"keyword": "<string>",
"category": "<string>",
"brand": "<string>",
"product_name": "<string>",
"order_code": "<string>",
"maker_product_code": "<string>",
"attributes": {},
"price_min": 1,
"price_max": 1,
"min_rating": 2,
"include_discontinued": false,
"exclude_business_only": false,
"subscription_only": false,
"sort": "recommended"
}
'import requests
url = "https://api.anysite.io/api/monotaro/products/search"
payload = {
"count": 2,
"timeout": 300,
"keyword": "<string>",
"category": "<string>",
"brand": "<string>",
"product_name": "<string>",
"order_code": "<string>",
"maker_product_code": "<string>",
"attributes": {},
"price_min": 1,
"price_max": 1,
"min_rating": 2,
"include_discontinued": False,
"exclude_business_only": False,
"subscription_only": False,
"sort": "recommended"
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
count: 2,
timeout: 300,
keyword: '<string>',
category: '<string>',
brand: '<string>',
product_name: '<string>',
order_code: '<string>',
maker_product_code: '<string>',
attributes: {},
price_min: 1,
price_max: 1,
min_rating: 2,
include_discontinued: false,
exclude_business_only: false,
subscription_only: false,
sort: 'recommended'
})
};
fetch('https://api.anysite.io/api/monotaro/products/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.anysite.io/api/monotaro/products/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([
'count' => 2,
'timeout' => 300,
'keyword' => '<string>',
'category' => '<string>',
'brand' => '<string>',
'product_name' => '<string>',
'order_code' => '<string>',
'maker_product_code' => '<string>',
'attributes' => [
],
'price_min' => 1,
'price_max' => 1,
'min_rating' => 2,
'include_discontinued' => false,
'exclude_business_only' => false,
'subscription_only' => false,
'sort' => 'recommended'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <api-key>"
],
]);
$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.anysite.io/api/monotaro/products/search"
payload := strings.NewReader("{\n \"count\": 2,\n \"timeout\": 300,\n \"keyword\": \"<string>\",\n \"category\": \"<string>\",\n \"brand\": \"<string>\",\n \"product_name\": \"<string>\",\n \"order_code\": \"<string>\",\n \"maker_product_code\": \"<string>\",\n \"attributes\": {},\n \"price_min\": 1,\n \"price_max\": 1,\n \"min_rating\": 2,\n \"include_discontinued\": false,\n \"exclude_business_only\": false,\n \"subscription_only\": false,\n \"sort\": \"recommended\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("access-token", "<api-key>")
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.anysite.io/api/monotaro/products/search")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"count\": 2,\n \"timeout\": 300,\n \"keyword\": \"<string>\",\n \"category\": \"<string>\",\n \"brand\": \"<string>\",\n \"product_name\": \"<string>\",\n \"order_code\": \"<string>\",\n \"maker_product_code\": \"<string>\",\n \"attributes\": {},\n \"price_min\": 1,\n \"price_max\": 1,\n \"min_rating\": 2,\n \"include_discontinued\": false,\n \"exclude_business_only\": false,\n \"subscription_only\": false,\n \"sort\": \"recommended\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/monotaro/products/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"count\": 2,\n \"timeout\": 300,\n \"keyword\": \"<string>\",\n \"category\": \"<string>\",\n \"brand\": \"<string>\",\n \"product_name\": \"<string>\",\n \"order_code\": \"<string>\",\n \"maker_product_code\": \"<string>\",\n \"attributes\": {},\n \"price_min\": 1,\n \"price_max\": 1,\n \"min_rating\": 2,\n \"include_discontinued\": false,\n \"exclude_business_only\": false,\n \"subscription_only\": false,\n \"sort\": \"recommended\"\n}"
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"url": "<string>",
"name": "<string>",
"@type": "MonotaroSearchItem",
"sub_name": "<string>",
"brand": "<string>",
"brand_id": "<string>",
"image": "<string>",
"images": [],
"usage": "<string>",
"price": 123,
"price_with_tax": 123,
"has_price_range": true,
"is_special_price": true,
"currency": "JPY",
"quantity": "<string>",
"min_ship_days": 123,
"max_ship_days": 123,
"rating": 123,
"review_count": 123,
"variant_count": 123,
"is_orderable": true,
"can_subscribe": true,
"has_eco_mark": true,
"has_rohs_mark": true,
"category": "<string>",
"category_id": "<string>",
"breadcrumbs": [],
"specs": {},
"documents": []
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
API token from the dashboard
Headers
Body
application/json
Required range:
x >= 1Required range:
20 <= x <= 1500Show child attributes
Show child attributes
Required range:
x >= 0Required range:
x >= 0Required range:
1 <= x <= 4Available options:
same_day, next_day, two_days, three_days, four_days Available options:
recommended, price_asc, price_desc, rating_desc, review_count_desc Response
Successful Response
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes