/madeinchina/companies/search
curl --request POST \
--url https://api.anysite.io/api/madeinchina/companies/search \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"keyword": "<string>",
"count": 2,
"timeout": 300,
"audited_supplier": false
}
'import requests
url = "https://api.anysite.io/api/madeinchina/companies/search"
payload = {
"keyword": "<string>",
"count": 2,
"timeout": 300,
"audited_supplier": 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, audited_supplier: false})
};
fetch('https://api.anysite.io/api/madeinchina/companies/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/companies/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,
'audited_supplier' => 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/companies/search"
payload := strings.NewReader("{\n \"keyword\": \"<string>\",\n \"count\": 2,\n \"timeout\": 300,\n \"audited_supplier\": 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/companies/search")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"keyword\": \"<string>\",\n \"count\": 2,\n \"timeout\": 300,\n \"audited_supplier\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/madeinchina/companies/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 \"audited_supplier\": false\n}"
response = http.request(request)
puts response.read_body[
{
"name": "<string>",
"@type": "MadeinchinaCompanyCard",
"alias": "<string>",
"url": "<string>",
"is_audited": false,
"business_type": "<string>",
"location": "<string>",
"main_products": [],
"certification": "<string>",
"capabilities": []
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}/madeinchina
/madeinchina/companies/search
Search Made-in-China suppliers/manufacturers by keyword. Returns company cards: name, location, business type, main products, management certification and audited status. Filter by category, certification, business type, annual revenue, employees, province and audited status.
Price: 20 credits per 10 results
POST
/
api
/
madeinchina
/
companies
/
search
/madeinchina/companies/search
curl --request POST \
--url https://api.anysite.io/api/madeinchina/companies/search \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"keyword": "<string>",
"count": 2,
"timeout": 300,
"audited_supplier": false
}
'import requests
url = "https://api.anysite.io/api/madeinchina/companies/search"
payload = {
"keyword": "<string>",
"count": 2,
"timeout": 300,
"audited_supplier": 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, audited_supplier: false})
};
fetch('https://api.anysite.io/api/madeinchina/companies/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/companies/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,
'audited_supplier' => 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/companies/search"
payload := strings.NewReader("{\n \"keyword\": \"<string>\",\n \"count\": 2,\n \"timeout\": 300,\n \"audited_supplier\": 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/companies/search")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"keyword\": \"<string>\",\n \"count\": 2,\n \"timeout\": 300,\n \"audited_supplier\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/madeinchina/companies/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 \"audited_supplier\": false\n}"
response = http.request(request)
puts response.read_body[
{
"name": "<string>",
"@type": "MadeinchinaCompanyCard",
"alias": "<string>",
"url": "<string>",
"is_audited": false,
"business_type": "<string>",
"location": "<string>",
"main_products": [],
"certification": "<string>",
"capabilities": []
}
]{
"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:
ISO9001:2015, ISO 14001, ISO 9001, Others, ISO45001:2018, ISO 9000, BSCI, ISO 14000, ISO 20000, IATF16949, OHSAS/ OHSMS 18001, QC 080000, GMP, ISO 14064, HSE, ISO 13485, FSC, SEDEX, ISO 50001, ANSI/ESD, ISO 22000, QHSE, ISO 10012, ISO 17025, IFS, BRC, HACCP, GAP, EICC, WRAP, SA 8000, ISO 29001, BS 25999-2, ASME, QSR, AIB, SHE Audits, PAS 28000, HQE, LEED, BREEAM, ISO14001:2015, ISO9001:2008, ISO45001:2016 Available options:
manufacturer, trading-company, group-corporation, other Available options:
below-1m, 1m-2.5m, 2.5m-5m, 5m-10m, 10m-50m, 50m-100m, above-100m Available options:
below-5, 5-50, 51-200, 201-500, 501-1000, above-1000 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