/madeinchina/products/search
curl --request POST \
--url https://api.anysite.io/api/madeinchina/products/search \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"keyword": "<string>",
"count": 2,
"timeout": 300,
"min_price": 1,
"max_price": 1,
"min_order": 2,
"audited_supplier": false,
"leading_factory": false
}
'import requests
url = "https://api.anysite.io/api/madeinchina/products/search"
payload = {
"keyword": "<string>",
"count": 2,
"timeout": 300,
"min_price": 1,
"max_price": 1,
"min_order": 2,
"audited_supplier": False,
"leading_factory": False
}
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({
keyword: '<string>',
count: 2,
timeout: 300,
min_price: 1,
max_price: 1,
min_order: 2,
audited_supplier: false,
leading_factory: false
})
};
fetch('https://api.anysite.io/api/madeinchina/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/madeinchina/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([
'keyword' => '<string>',
'count' => 2,
'timeout' => 300,
'min_price' => 1,
'max_price' => 1,
'min_order' => 2,
'audited_supplier' => false,
'leading_factory' => false
]),
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/madeinchina/products/search"
payload := strings.NewReader("{\n \"keyword\": \"<string>\",\n \"count\": 2,\n \"timeout\": 300,\n \"min_price\": 1,\n \"max_price\": 1,\n \"min_order\": 2,\n \"audited_supplier\": false,\n \"leading_factory\": false\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/madeinchina/products/search")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"keyword\": \"<string>\",\n \"count\": 2,\n \"timeout\": 300,\n \"min_price\": 1,\n \"max_price\": 1,\n \"min_order\": 2,\n \"audited_supplier\": false,\n \"leading_factory\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/madeinchina/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 \"keyword\": \"<string>\",\n \"count\": 2,\n \"timeout\": 300,\n \"min_price\": 1,\n \"max_price\": 1,\n \"min_order\": 2,\n \"audited_supplier\": false,\n \"leading_factory\": false\n}"
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"@type": "MadeinchinaProductCard",
"product_title": "<string>",
"product_url": "<string>",
"price": 123,
"price_max": 123,
"price_text": "<string>",
"moq": 123,
"moq_unit": "<string>",
"attributes": {},
"is_audited": false,
"is_leading_factory": false,
"image": "<string>",
"supplier": {
"@type": "MadeinchinaProductCardSupplier",
"name": "<string>",
"alias": "<string>",
"url": "<string>"
}
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}/madeinchina
/madeinchina/products/search
Search Made-in-China products by keyword. Returns B2B offer cards: title, FOB price range, MOQ, specification attributes, images, audited badges and the supplier. Filter by category, province, price range, minimum order, business type and audited status.
Price: 20 credits per 30 results
POST
/
api
/
madeinchina
/
products
/
search
/madeinchina/products/search
curl --request POST \
--url https://api.anysite.io/api/madeinchina/products/search \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"keyword": "<string>",
"count": 2,
"timeout": 300,
"min_price": 1,
"max_price": 1,
"min_order": 2,
"audited_supplier": false,
"leading_factory": false
}
'import requests
url = "https://api.anysite.io/api/madeinchina/products/search"
payload = {
"keyword": "<string>",
"count": 2,
"timeout": 300,
"min_price": 1,
"max_price": 1,
"min_order": 2,
"audited_supplier": False,
"leading_factory": False
}
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({
keyword: '<string>',
count: 2,
timeout: 300,
min_price: 1,
max_price: 1,
min_order: 2,
audited_supplier: false,
leading_factory: false
})
};
fetch('https://api.anysite.io/api/madeinchina/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/madeinchina/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([
'keyword' => '<string>',
'count' => 2,
'timeout' => 300,
'min_price' => 1,
'max_price' => 1,
'min_order' => 2,
'audited_supplier' => false,
'leading_factory' => false
]),
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/madeinchina/products/search"
payload := strings.NewReader("{\n \"keyword\": \"<string>\",\n \"count\": 2,\n \"timeout\": 300,\n \"min_price\": 1,\n \"max_price\": 1,\n \"min_order\": 2,\n \"audited_supplier\": false,\n \"leading_factory\": false\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/madeinchina/products/search")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"keyword\": \"<string>\",\n \"count\": 2,\n \"timeout\": 300,\n \"min_price\": 1,\n \"max_price\": 1,\n \"min_order\": 2,\n \"audited_supplier\": false,\n \"leading_factory\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/madeinchina/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 \"keyword\": \"<string>\",\n \"count\": 2,\n \"timeout\": 300,\n \"min_price\": 1,\n \"max_price\": 1,\n \"min_order\": 2,\n \"audited_supplier\": false,\n \"leading_factory\": false\n}"
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"@type": "MadeinchinaProductCard",
"product_title": "<string>",
"product_url": "<string>",
"price": 123,
"price_max": 123,
"price_text": "<string>",
"moq": 123,
"moq_unit": "<string>",
"attributes": {},
"is_audited": false,
"is_leading_factory": false,
"image": "<string>",
"supplier": {
"@type": "MadeinchinaProductCardSupplier",
"name": "<string>",
"alias": "<string>",
"url": "<string>"
}
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
API token from the dashboard
Headers
Body
application/json
Minimum string length:
1Required range:
x >= 1Required range:
20 <= x <= 1500Available options:
agriculture-food, apparel-accessories, arts-crafts, auto-motorcycle-parts, bags-cases-boxes, chemicals, computer-products, construction-decoration, consumer-electronics, electrical-electronics, furniture, health-medicine, industrial-equipment, instruments-meters, light-industry-daily-use, lights-lighting, machinery, metallurgy-mineral-energy, office-supplies, packaging-printing, security-protection, service, sporting-goods, textile, tools-hardware, toys, transportation Available options:
Guangdong, Zhejiang, Shandong, Jiangsu, Fujian, Shanghai, Hebei, Anhui, Henan, Hubei, Hunan, Beijing, Sichuan, Tianjin, Chongqing, Jiangxi, Shaanxi, Liaoning, Guangxi, Yunnan, Hainan, Shanxi, Hongkong, Guizhou, Jilin, Heilongjiang, Xinjiang, InnerMongolia, Gansu, Taiwan Required range:
x >= 0Required range:
x >= 0Required range:
x >= 1Available options:
manufacturer, trading-company, group-corporation, other Response
Successful Response
Show child attributes
Show child attributes
Show child attributes
Show child attributes