Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

Customs Trade Record Count

Documentazione 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.

Prezzo
Da $0.00USD / chiamata
Metodo
POST
Risposta
JSON asincrono
Parametri
3 obbligatori · 20 opzionali

Playground

Input
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').
OutputPronto

Il tuo output apparirà qui

Completa gli input, poi fai clic su Esegui.

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.

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
TendataDa $0 per chiamataJSON asincrono
TendataDa $0.016 per chiamataJSON asincrono
TendataDa $0.0016 per chiamataJSON asincrono
TendataDa $0.019 per chiamataJSON asincrono
TendataDa $0.064 per chiamataJSON asincrono
TendataDa $0.016 per chiamataJSON asincrono

Domande

FAQ

Come uso l'API Customs Trade Record Count?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/tendata/trade/record-count con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.

Quanto costa l'API Customs Trade Record Count?

A partire da $0 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.

Quali parametri accetta l'API Customs Trade Record Count?

Richiesti: catalog (uno tra imports, exports), endDate (string) e startDate (string). Facoltativi: hsCode (string), weight (array), exporter (string), importer (string), quantity (array) e sumOfUSD (array) e altri 14. La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API Customs Trade Record Count?

Un risultato JSON. Questo endpoint viene eseguito in modo asincrono, quindi la risposta indica come recuperare il risultato completato.

Mi serve un account sviluppatore o una chiave API Tendata?

No. Customs Trade Record Count funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Tendata.