Static data

The Static Data endpoints provide access to fixed reference data used across the B2BHint platform. This includes standardized datasets such as country codes, company types, legal forms, and other essential metadata.

These endpoints are designed to support consistency in your application by enabling you to fetch and use static information that complements dynamic company data. Use Static Data endpoints to ensure alignment with the B2BHint platform's structure and terminology.

GET/api/v2/static-data/countries

Country list

This endpoint returns a list of countries available on B2BHint.

Request

GET
/api/v2/static-data/countries
curl -G https://b2bhint.com/api/v2/static-data/countries \
  -H "apiKey: {apiKey}"

Response

[
    {
        "id": 136,
        "name": "Dubai",
        "parentId": 14,
        "code": "ae-du"
    },
    {
        "id": 21,
        "name": "Estonia",
        "parentId": null,
        "code": "ee"
    },
    {
        "id": 28,
        "name": "Finland",
        "parentId": null,
        "code": "fi"
    },
    {
        "id": 34,
        "name": "Florida",
        "parentId": 33,
        "code": "us-fl"
    },
    {
        "id": 8,
        "name": "France",
        "parentId": null,
        "code": "fr"
    },
    {
        "id": 138,
        "name": "Fujairah",
        "parentId": 14,
        "code": "ae-fu"
    },
    {
        "id": 128,
        "name": "Georgia",
        "parentId": 33,
        "code": "us-ga"
    },
    {
        "id": 7,
        "name": "Germany",
        "parentId": null,
        "code": "de"
    },
    {
        "id": 91,
        "name": "Goa",
        "parentId": 64,
        "code": "in-ga"
    },
    {
        "id": 149,
        "name": "Greece",
        "parentId": null,
        "code": "gr"
    }
    //..
]

Was this page helpful?