Our dataPricingContact
Log in

API reference

Milda API

Base URL
https://api.milda.ai
Overview

Credit Usage1

  • GETCredit Usage

Company Search2

  • POSTLookup
  • POSTText Search

Companies7

  • POSTEnrichment
  • POSTStatuses
  • POSTProfiles
  • POSTEvents
  • POSTPlaces Of Performance
  • POSTGrowth Signals
  • POSTCompetitors

People2

  • POSTSearch
  • POSTVerified Email

Trade Data5

  • POSTCandidates
  • POSTAnalytics
  • POSTShipping Records
  • POSTShipment Suppliers
  • POSTShipment Recipients

Patents7

  • POSTSummary
  • POSTCo Applicants
  • POSTInventors
  • POSTTechnology Users
  • POSTTechnology Providers
  • POSTCitations
  • POSTList

Publications5

  • POSTAnalytics
  • POSTAuthors
  • POSTFunders
  • POSTCollaborating Organizations
  • POSTTop Cited Works

Risk Assessment4

  • POSTCandidates
  • POSTFinancials
  • POSTOwnership
  • POSTReport

Trade Data

2 of 5
POSThttps://api.milda.ai/v1/trade-data/analytics

Analytics

application/json
01

Description

Trade Data — Analytics

POST /v1/trade-data/analytics

Step 2 of trade data. Returns an aggregated import/export trade report for a selected candidate.

Request
  • company_id (required) — Company ID.
  • candidate_id (required) — from a candidates result.
  • type (required) — imp (imports) or exp (exports).
Response
  • summary — total_shipments, total_importers, total_suppliers, total_import_countries, total_export_countries
  • top_10_importer_countries / top_10_exporter_countries — each item: rank, country {name, code, name_cn}, total_value, total_shipments, total_quantity, total_weight

Returns 204 No Content if there is no report for the company.

Credits

Charged a flat fee per report (data credits).

02

Headers

nameinreqdescription
tokenheaderyesAPI token. Issued per account; check it with GET /v1/credit-usage.
03

Request body

TradeAnalyticsRequest
TradeAnalyticsRequesttypereq3 fields
company_idstringyesCompany ID.
candidate_idstringyescandidate_id from a candidates result.
type"imp" | "exp"yes'imp' for imports, 'exp' for exports.
04

Responses

200 Successful Response422 Validation Error
TradeReporttypereq3 fields
+summaryTradeSummary | null—
total_shipmentsinteger | null—
total_importersinteger | null—
total_suppliersinteger | null—
total_import_countriesinteger | null—
total_export_countriesinteger | null—
+top_10_importer_countriesTopCountryItem[]—
rankinteger | null—
+countryTradeCountry | null—
namestring | null—
codestring | null—
name_cnstring | null—
total_valuenumber | null—
total_shipmentsinteger | null—
total_quantitynumber | null—
total_weightnumber | null—
+top_10_exporter_countriesTopCountryItem[]—
rankinteger | null—
+countryTradeCountry | null—
namestring | null—
codestring | null—
name_cnstring | null—
total_valuenumber | null—
total_shipmentsinteger | null—
total_quantitynumber | null—
total_weightnumber | null—
PreviousCandidatesNextShipping Records

© 2026 Milda.ai All rights reserved.

  • Privacy policy
  • Terms and Conditions