pageNointegerwymagane
Page number, starting at 1.
https://api.sandbase.ai/v1/api/tendata/trade/importersRank importers that match a customs trade query (HS code, product, countries, ports, date window), with aggregated weight, USD value and shipment count per importer.
Twój wynik pojawi się tutaj
Uzupełnij dane wejściowe, a następnie kliknij Uruchom.
Rank importers that match a customs trade query (HS code, product, countries, ports, date window), with aggregated weight, USD value and shipment count per importer.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
curl -X POST "https://api.sandbase.ai/v1/api/tendata/trade/importers" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"hsCode": "851712",
"pageNo": 1,
"catalog": "imports",
"endDate": "2025-12-31",
"pageSize": 3,
"startDate": "2025-01-01"
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
pageNointegerwymaganePage number, starting at 1.
catalogstringwymaganeData-source side: customs import records or export records.
Możliwe wartości: imports, exports
endDatestringwymaganeQuery window end, YYYY-MM-DD.
pageSizeintegerwymaganeRows per page (1-20). Each returned row is billed, so this caps the cost of one call.
startDatestringwymaganeQuery window start, YYYY-MM-DD. The window may span at most three years.
hsCodestringCustoms HS code, 4+ digits (e.g. '630492'). A 2-digit chapter code works only combined with productDesc or a company name.
weightarrayWeight range in kilograms, as [min, max].
exporterstringExporter company name (min 2 chars). Drop company suffixes and special characters for better matching.
importerstringImporter company name (min 2 chars). Drop company suffixes and special characters for better matching.
quantityarrayQuantity range, as [min, max].
sumOfUSDarrayTotal USD value range, as [min, max].
sortFieldstringRanking key; defaults to the vendor's relevance order.
Możliwe wartości: weight, sumOfUSD, tradeCount
sortOrderstringRanking direction.
Możliwe wartości: ASC, DESC
searchModestringSet to FUZZY_SINGLE for single-keyword fuzzy matching; omit for the default smart search.
productDescstringProduct description keywords; separate multiple keywords with semicolons (e.g. 'electronics; home appliance').
quantityUnitstringQuantity unit filter (e.g. 'PCS', 'PKG').
portOfArrivalstringArrival port name.
transportTypestringTransport mode (e.g. sea, air, road).
containProducerbooleanInclude producer companies (available on Russia/Kazakhstan sources).
portOfDeparturestringDeparture port name.
filterBlankFieldsarrayDrop records whose named party is blank (e.g. ["importer"]).
optimizationModelbooleanPrefer the vendor's optimized data sources.
weightUnitPriceUSDarrayUSD unit price per kilogram range, as [min, max].
countryOfOriginCodestringOrigin country ISO3 code(s), semicolon-separated (e.g. 'CHN;USA').
filterLogisticFieldsarrayDrop records whose named party is a logistics company (e.g. ["exporter"]). Buyers have reported forwarders still being returned, so screen party names yourself.
quantityUnitPriceUSDarrayUSD unit price per quantity range, as [min, max].
countryOfDestinationCodestringDestination country ISO3 code(s), semicolon-separated (e.g. 'USA;CHN').
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
Nie opublikowano zapisanego response. Uruchom API w Playground, aby sprawdzić jego odpowiedź.
Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
Customs Trade ImportersTo API Tendata | Od $0.019 za wywołanie | Asynchroniczny JSON |
Tendata | Od $0.016 za wywołanie | Asynchroniczny JSON |
Tendata | Od $0.0016 za wywołanie | Asynchroniczny JSON |
Tendata | Od $0.019 za wywołanie | Asynchroniczny JSON |
Tendata | Od $0.064 za wywołanie | Asynchroniczny JSON |
Tendata | Od $0.016 za wywołanie | Asynchroniczny JSON |
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/tendata/trade/importers z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
Od $0.019 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Wymagane: pageNo (integer), catalog (jedna z opcji: imports, exports), endDate (string), pageSize (integer) i startDate (string). Opcjonalne: hsCode (string), weight (array), exporter (string), importer (string), quantity (array) i sumOfUSD (array) i jeszcze 16. Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Wynik JSON. Ten endpoint działa asynchronicznie, więc odpowiedź informuje, jak pobrać gotowy wynik.
Nie. Customs Trade Importers działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Tendata.