pageNointegerआवश्यक
Page number, starting at 1.
https://api.sandbase.ai/v1/api/tendata/trade/destination-countriesBreak down the customs records that match a trade query by destination country, with weight, USD value and shipment count for each country.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
Break down the customs records that match a trade query by destination country, with weight, USD value and shipment count for each country.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/tendata/trade/destination-countries" \
-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"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
pageNointegerआवश्यकPage number, starting at 1.
catalogstringआवश्यकData-source side: customs import records or export records.
संभावित मान: imports, exports
endDatestringआवश्यकQuery window end, YYYY-MM-DD.
pageSizeintegerआवश्यकRows per page (1-20). Each returned row is billed, so this caps the cost of one call.
startDatestringआवश्यकQuery 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].
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').
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Tendata | $0.016 प्रति कॉल से | असिंक्रोनस JSON |
Tendata | $0.0016 प्रति कॉल से | असिंक्रोनस JSON |
Tendata | $0.019 प्रति कॉल से | असिंक्रोनस JSON |
Tendata | $0.064 प्रति कॉल से | असिंक्रोनस JSON |
Tendata | $0.016 प्रति कॉल से | असिंक्रोनस JSON |
Tendata | $0.0016 प्रति कॉल से | असिंक्रोनस JSON |
प्रश्न
https://api.sandbase.ai/v1/api/tendata/trade/destination-countries पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.016 से प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: pageNo (integer), catalog (imports, exports में से एक), endDate (string), pageSize (integer) और startDate (string)। वैकल्पिक: hsCode (string), weight (array), exporter (string), importer (string), quantity (array) और sumOfUSD (array) और 14 और। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON result। यह endpoint asynchronously चलता है, इसलिए response आपको बताता है कि तैयार result कैसे प्राप्त करना है।
नहीं। Customs Trade by Destination Country SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Tendata API access के लिए आवेदन करने की आवश्यकता नहीं है।