Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Customs Trade Record Count

Dokumentacja API
https://api.sandbase.ai/v1/api/tendata/trade/record-count

Count the customs records that match a trade query before paying for rows, to check that filters are narrow enough.

Cena
Od $0.00USD / wywołanie
Metoda
POST
Odpowiedź
Asynchroniczny JSON
Parametry
3 wymaganych · 20 opcjonalnych

Playground

Wejście
Data-source side: customs import records or export records.
Query window end, YYYY-MM-DD.
Query window start, YYYY-MM-DD. The window may span at most three years.
Customs HS code, 4+ digits (e.g. '630492'). A 2-digit chapter code works only combined with productDesc or a company name.
Weight range in kilograms, as [min, max].
Exporter company name (min 2 chars). Drop company suffixes and special characters for better matching.
Importer company name (min 2 chars). Drop company suffixes and special characters for better matching.
Quantity range, as [min, max].
Total USD value range, as [min, max].
Set to FUZZY_SINGLE for single-keyword fuzzy matching; omit for the default smart search.
Product description keywords; separate multiple keywords with semicolons (e.g. 'electronics; home appliance').
Quantity unit filter (e.g. 'PCS', 'PKG').
Arrival port name.
Transport mode (e.g. sea, air, road).
Include producer companies (available on Russia/Kazakhstan sources).
Departure port name.
Drop records whose named party is blank (e.g. ["importer"]).
Prefer the vendor's optimized data sources.
USD unit price per kilogram range, as [min, max].
Origin country ISO3 code(s), semicolon-separated (e.g. 'CHN;USA').
Drop records whose named party is a logistics company (e.g. ["exporter"]). Buyers have reported forwarders still being returned, so screen party names yourself.
USD unit price per quantity range, as [min, max].
Destination country ISO3 code(s), semicolon-separated (e.g. 'USA;CHN').
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

README API

Customs Trade Record Count

Count the customs records that match a trade query before paying for rows, to check that filters are narrow enough.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
TendataOd $0 za wywołanieAsynchroniczny JSON
TendataOd $0.016 za wywołanieAsynchroniczny JSON
TendataOd $0.0016 za wywołanieAsynchroniczny JSON
TendataOd $0.019 za wywołanieAsynchroniczny JSON
TendataOd $0.064 za wywołanieAsynchroniczny JSON
TendataOd $0.016 za wywołanieAsynchroniczny JSON

Pytania

FAQ

Jak używać API Customs Trade Record Count?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/tendata/trade/record-count 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.

Ile kosztuje API Customs Trade Record Count?

Od $0 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Customs Trade Record Count?

Wymagane: catalog (jedna z opcji: imports, exports), endDate (string) i startDate (string). Opcjonalne: hsCode (string), weight (array), exporter (string), importer (string), quantity (array) i sumOfUSD (array) i jeszcze 14. Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Customs Trade Record Count?

Wynik JSON. Ten endpoint działa asynchronicznie, więc odpowiedź informuje, jak pobrać gotowy wynik.

Czy potrzebuję konta deweloperskiego Tendata lub klucza API?

Nie. Customs Trade Record Count 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.