POST /api/importgenius/companies
Price: 5 credits
Get one business profile built from customs bill-of-lading filings: name, filed address, total shipments and the split between shipments received and sent, the ports it loads and unloads at, a year-by-year shipment history, one full sample bill of lading with its commodity codes, declared values, transport, customs and container detail, and the businesses that trade the same lanes with their own top partners, ports and countries.
Pass the qualified id from /importgenius/companies/search, never a bare alias, which is rejected, and keep the role segment that search returned: in United States records importers/<alias> and suppliers/<alias> are two different businesses, and outside it a business is often published under both spellings but only the one the customs authority filed it under resolves here. What the sample bill of lading declares is a property of the market: United States filings carry vessel and container detail and no declared value at all, India and Ukraine a unit or invoice price instead of FOB and CIF, Vietnam only the agreed incoterm, Costa Rica CIF without FOB, and the remaining markets FOB usually together with CIF.
access-token string requiredtimeout integer — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)company string required — ImportGenius business id as returned by search: importers/<alias> or suppliers/<alias> for United States customs records, <country>/<role>/<alias> for the other markets. A full importgenius.com profile URL also works (examples: "importers/walmart", "india/suppliers/dkh-retail-ltd", "ukraine/buyers/zevidon-trading-limited"; minLength: 1)@type string (default: "ImportgeniusCompany")id string requiredalias string requiredurl string requiredcountry string requiredrole string requiredname string requiredaddress string nullabledescription string nullableshipment_count integer nullableinbound_shipment_count integer nullableoutbound_shipment_count integer nullableorigin_ports array (default: [])@type string (default: "ImportgeniusPort")name string requiredname_english string nullableshipment_count integer nullabledestination_ports array (default: [])@type string (default: "ImportgeniusPort")name string requiredname_english string nullableshipment_count integer nullableyearly_shipments array (default: [])@type string (default: "ImportgeniusYearlyShipments")start_date string requiredend_date string nullabletrader_role string nullableshipment_count integer nullablesample_shipment object nullable@type string (default: "ImportgeniusSampleShipment")shipment_id string nullablebol string nullablemaster_bol string nullablearrival_date string nullableadded_date string nullableconsignee object nullable@type string (default: "ImportgeniusShipmentConsignee")name string nullableid string nullableurl string nullablefiler_id string nullablenormalized_name string nullableaddress string nullableaddress_lines array (default: [])address_parts object nullable@type string (default: "ImportgeniusAddressParts")street_number string nullablestreet_name string nullablestreet_pre_type string nullablestreet_pre_directional string nullablestreet_post_type string nullableplace_name string nullablestate_name string nullablezip_code string nullablecountry_name string nullablestreet string nullablestreet_number string nullablecity string nullablestate string nullablezip_code string nullablecountry string nullabledestination string nullablecontact string nullablecontacts array (default: [])phone string nullablefax string nullableemails array (default: [])shipper object nullable@type string (default: "ImportgeniusShipmentShipper")name string nullableid string nullableurl string nullablefiler_id string nullablenormalized_name string nullableaddress string nullableaddress_lines array (default: [])city string nullablecountry string nullablecontact string nullableorigin_country string nullableorigin_country_english string nullabledeparture_country string nullableproduct_description string nullableextra_descriptions array (default: [])hs_code string nullablehs_code_description string nullablechapter_code string nullablechapter_description string nullablecn_code string nullablecn_description string nullablebrand string nullablebrand_id string nullablebrand_fob number nullablebrand_quantity number nullablevariety string nullableitem string nullableattributes string nullableproduct_id string nullableproduct_status string nullablemerchandise_state string nullablequantity number nullablequantity_unit string nullablephysical_quantity number nullablephysical_unit string nullableprevious_year_quantity number nullableprevious_year_unit string nullablegross_weight number nullablegross_weight_kg number nullablegross_weight_lb number nullabletotal_gross_weight number nullablenet_weight number nullablenet_weight_kg number nullablenet_weight_lb number nullabletotal_net_weight number nullablemeasurement number nullablemeasurement_unit string nullablepackage_count integer nullablepackage_type string nullabletransport object nullable@type string (default: "ImportgeniusShipmentTransport")transportation_type string nullabletransport_type string nullablecompany string nullableagency string nullablevessel string nullablevessel_name string nullablevessel_country string nullablevoyage_number string nullablecarrier_code string nullablecarrier_name string nullablecarrier_address string nullablecarrier_city string nullablecarrier_state string nullablecarrier_zip string nullableplace_of_receipt string nullableembarkation string nullableforeign_port string nullableport string nullabledestination_port string nullabledestination_port_english string nullabledistribution_port string nullablelanding string nullableload_type string nullablebill_type_code string nullablemanifest_number string nullablein_bond_entry_type string nullablenotify_party string nullablenotify_party_address string nullablecontainer_count integer nullablecontainer_types array (default: [])marks_and_numbers array (default: [])value object nullable@type string (default: "ImportgeniusShipmentValue")fob number nullabletotal_fob number nullablevenezuela_fob number nullablecif number nullabletotal_cif number nullablevenezuela_cif number nullablefreight number nullabletotal_freight number nullableorigin_freight number nullableinsurance number nullabletotal_insurance number nullableorigin_insurance number nullabletax number nullabletotal_taxable number nullablead_valorem number nullabletotal_invoice number nullableinvoice_price number nullableprice_usd number nullableunit_price_usd number nullableunit_price_eur number nullableunit_price_inr number nullablecurrency_ratio number nullableamount number nullableincoterms string nullablepayment_type string nullablepay_type string nullablecustoms object nullable@type string (default: "ImportgeniusShipmentCustoms")customs string nullablecustom string nullablecustom_code string nullablecustom_agent string nullabledeclaration string nullabledeclaration_number string nullabledeclarant_name string nullabledeclarant_address string nullablecontrol_id string nullableoperation_type string nullableimporter_id string nullableacquisition string nullableverifier string nullablereviewer string nullablereview_type string nullablepayee_name string nullablepayee_address string nullablebank string nullablebank_number string nullableremarks string nullabletrading_country string nullableis_commercial string nullableis_private string nullableestate string nullableextra_field string nullablecontainers array (default: [])@type string (default: "ImportgeniusShipmentContainer")container_number string nullablecontainer_type string nullabletype_code string nullableequipment_description string nullableservice_type string nullableload_status string nullablecontainer_load string nullablelength number nullablewidth number nullableheight number nullableteu number nullableraw_teu number nullableseal_numbers array (default: [])marks array (default: [])hs_chapters array (default: [])hazardous_materials array (default: [])is_containerized boolean nullableis_hazardous boolean nullableis_refrigerated boolean nullableis_heated boolean nullableis_liquid boolean nullableis_gas boolean nullableis_livestock boolean nullableis_automobile_carrier boolean nullablecargoes array (default: [])related_companies array (default: [])@type string (default: "ImportgeniusRelatedCompany")name string requiredid string nullableurl string nullablecountry string nullablecountry_english string nullablecountry_code string nullableshipment_count integer nullabletop_partners object nullable@type string (default: "ImportgeniusPartnerBreakdown")total_count integer nullableother_count integer nullablemax_count integer nullableentries array (default: [])top_ports object nullable@type string (default: "ImportgeniusPlaceBreakdown")total_count integer nullableother_count integer nullablemax_count integer nullableentries array (default: [])top_countries object nullable@type string (default: "ImportgeniusPlaceBreakdown")total_count integer nullableother_count integer nullablemax_count integer nullableentries array (default: [])422 — The request body did not validate Check the fields against this schema. A URN with the wrong prefix is the most common cause.408 — The request ran past its time limit Raise `timeout` in the request body, up to the maximum this endpoint documents. Lowering `count` or turning off the `with_*` flags also helps, because less work finishes sooner.412 — No ImportGenius profile under that id Retrying will not help: either the entity does not exist, or the input points at a different one.429 — Too many requests: a rate limit or a usage window is exhausted When the response carries an X-Retry-After header, wait that many seconds and retry: the same number is in the body as `detail.retry_after`, and the limit clears once that window passes. The message in the body names the limit that was hit.500 — Something broke on our side Retrying will not help. If it keeps happening, send us the X-Request-ID from the response headers.529 — Rate limit reached, or the endpoint is overloaded Wait at least 30 seconds, then retry.X-Error — Error message text (present only on error)X-Request-ID — Unique request identifierX-Execution-Time — Execution time in secondsX-Result-Count — How many records the body carries. 0 means an empty result, which is a normal answer and not by itself an error. A non-zero count can come back together with X-Error when the failure happened partway through — read this header and X-Error independently.X-Total-Available-Results — How many records exist for this query, when the endpoint can say. On a `dry_run` request this is the answer and the body is empty. It saturates: the endpoint's documented maximum means 'at least that many', any smaller number is exact.X-Warning — Present when the request body carried keys this endpoint does not document. They were ignored, so any filter you meant to apply through them did not apply. Check the spelling against this schema and retry.X-Retry-After — Seconds to wait before retrying. Present only on 429.