Company Basic Info API

Retrieve basic contact information for a company: name, address, phone, email and country.
ENDPOINTS
POST /api/v1/company/companyBasicInfo

Request parameters

com_role

integer

Company role in trade. 1 = buyer, 2 = supplier

  • Required: Yes
  • Example: 1

com_id

string

Company ID

  • Required: Yes
  • Example: 1ad397fa1acc309dae3dc54e4a963d4c

date

array<integer>

Date range. Two-element array of 8-digit integers [YYYYMMDD, YYYYMMDD]

  • Required: Yes
  • Example: [20221211, 20231211]
Request Example
{
    "com_role": 1,
    "com_id": "1ad397fa1acc309dae3dc54e4a963d4c",
    "date": [
        20221211,
        20231211
    ]
}
curl https://api.tradedata.io/api/v1/company/companyBasicInfo \
  -H "Authorization: Bearer yourTokenHere" \
  -H "Content-Type: application/json" \
  -d '{"com_role": 1, "com_id": "1ad397fa1acc309dae3dc54e4a963d4c", "date": [20221211, 20231211]}'

Response parameters

data.uuid

string

Company unique identifier

  • Example: 1ad397fa1acc309dae3dc54e4a963d4c

data.name

string

Company name

  • Example: Acme Corp

data.address

string

Company registered address

  • Example: 123 Example Street, Example City

data.postal_code

array

Postal code list

data.city

array

City list

data.phone

array

Phone number list

  • Example: ["+1 555-000-0000"]

data.email

array

Email address list

data.country

string

Country name

  • Example: Mainland China

data.iso3Code

string

Country ISO3 code

  • Example: CHN
Response Example
{
    "code": 200,
    "success": true,
    "data": {
        "uuid": "1ad397fa1acc309dae3dc54e4a963d4c",
        "name": "Acme Corp",
        "address": "123 Example Street, Example City",
        "postal_code": null,
        "city": null,
        "phone": [
            "+1 555-000-0000"
        ],
        "email": [
            "[email protected]"
        ],
        "country": "Mainland China",
        "iso3Code": "CHN"
    },
    "msg": "OK",
    "total": 0,
    "pageSize": 0,
    "current": 0,
    "sumResult": null
}