Class Codes

The Class Codes API returns a list of class codes that will allow you to check our current values for industries, countries, etc which could be used to build validation of API output results in your system. The HTTPS request for Class Codes begins with the URL structure: 

https://partnerapi.zoominfo.com/partnerapi/v4/classCodes?

Input Parameters – Usage

The following table contains the Input Parameters for Usage.

Field Name
Required
Notes
pc
yes
Partner Code assigned to you.
dataTypeyes
The following are available options (case sensitive):
  • metroRegion
  • country
  • countryRegion
  • culture
  • cultureGroup
  • gender
  • titleCodeMiddle
  • titleCode
  • titleHierarchy
  • industryClassification
  • employeeSizeClassification
  • revenueClassification
  • customCode 
  • sicCode
  • cpyCode
  • state
  • all


Example Usage Query

https://partnerapi.zoominfo.com/partnerapi/v4/classCodes?pc=PartnerCode&dataType=countryRegion

The Class Codes XML output would appear as follows:

<?xml version="1.0"?>
<classCodeResponse xmlns="http://partnerapi.zoominfo.com/partnerapistatic/xsd/V4">
  <countryRegion>
    <name>Southeast</name>
    <code>524394</code>
    <classText>CountryRegion.Southeast</classText>
    <structure>continent.northamerica.countryregion.usa.southeast</structure>
    <category>continent_northamerica</category>
    <disabledFlag>false</disabledFlag>
    <prependLabel/>
  </countryRegion>
  <countryRegion>
    <name>Southwest</name>
    <code>589930</code>
    <classText>CountryRegion.Southwest</classText>
    <structure>continent.northamerica.countryregion.usa.southwest</structure>
    <category>continent_northamerica</category>
    <disabledFlag>false</disabledFlag>
    <prependLabel/>
  </countryRegion>
  <countryRegion>
    <name>Mid-Atlantic US</name>
    <code>262250</code>
    <classText>CountryRegion.MidAtlanticUS</classText>
    <structure>
continent.northamerica.countryregion.usa.midatlanticus
</structure>
    <category>continent_northamerica</category>
    <disabledFlag>false</disabledFlag>
    <prependLabel/>
  </countryRegion>
  <countryRegion>
    <name>EasternCanada</name>
    <code>786538</code>
    <classText>CountryRegion.EasternCanada</classText>
    <structure>
continent.northamerica.countryregion.canada.easterncanada
</structure>
    <category>continent_northamerica</category>
    <disabledFlag>false</disabledFlag>
    <prependLabel/>
  </countryRegion>
  <countryRegion>
    <name>Western Canada</name>
    <code>721002</code>
    <classText>CountryRegion.WesternCanada</classText>
    <structure>
continent.northamerica.countryregion.canada.westerncanada
</structure>
    <category>continent_northamerica</category>
    <disabledFlag>false</disabledFlag>
    <prependLabel/>
  </countryRegion>
  <countryRegion>
    <name>Pacific Northwest</name>
    <code>458858</code>
    <classText>CountryRegion.PacificNorthwest</classText>
    <structure>
continent.northamerica.countryregion.usa.pacificnorthwest
</structure>
    <category>continent_northamerica</category>
    <disabledFlag>false</disabledFlag>
    <prependLabel/>
  </countryRegion>
  <countryRegion>
    <name>Northeast</name>
    <code>655466</code>
    <classText>CountryRegion.Northeast</classText>
    <structure>continent.northamerica.countryregion.usa.northeast</structure>
    <category>continent_northamerica</category>
    <disabledFlag>false</disabledFlag>
    <prependLabel/>
  </countryRegion>
  <countryRegion>
    <name>Eastern US</name>
    <code>196714</code>
    <classText>CountryRegion.EasternUS</classText>
    <structure>continent.northamerica.countryregion.usa.easternus</structure>
    <category>continent_northamerica</category>
    <disabledFlag>false</disabledFlag>
    <prependLabel/>
  </countryRegion>
  <countryRegion>
    <name>Midwest US</name>
    <code>327786</code>
    <classText>CountryRegion.MidwestUS</classText>
    <structure>continent.northamerica.countryregion.usa.midwestus</structure>
    <category>continent_northamerica</category>
    <disabledFlag>false</disabledFlag>
    <prependLabel/>
  </countryRegion>
  <countryRegion>
    <name>Central Canada</name>
    <code>852074</code>
    <classText>CountryRegion.CentralCanada</classText>
    <structure>
continent.northamerica.countryregion.canada.centralcanada
</structure>
    <category>continent_northamerica</category>
    <disabledFlag>false</disabledFlag>
    <prependLabel/>
  </countryRegion>
  <countryRegion>
    <name>New England</name>
    <code>393322</code>
    <classText>CountryRegion.NewEngland</classText>
    <structure>
continent.northamerica.countryregion.usa.newengland
</structure>
    <category>continent_northamerica</category>
    <disabledFlag>false</disabledFlag>
    <prependLabel/>
  </countryRegion>
</classCodeResponse>


Output Parameters – Class Codes

The following table contains the Output Parameters.

Group

Parent Name

Child Name

 Notes

Optional

metroRegion

name

The text value can be used as input to API requests or returned as output (i.e. state or country parameters)

code

The numerical representation of this value - can be used as input to some API requests (i.e. industryClassification parameter)

classText

The code that represents the value - can be used as input to some API requests (i.e. state or country parameters)

structure

Hierarchical structure of this value as it relates to other values of the same type

category

Parent category in the hierarchical structure of this value

disabledFlag

A true/false value telling whether this value is disabled or not

prependLabel

internal use only (may not be present)

label

internal use only (may not be present)

sequencePosition

internal use only (may not be present)

Optional

state

name

The text value can be used as input to API requests or returned as output (i.e. state or country parameters)

code

The numerical representation of this value - can be used as input to some API requests (i.e. industryClassification parameter)

classText

The code that represents the value - can be used as input to some API requests (i.e. state or country parameters)

structure

Hierarchical structure of this value as it relates to other values of the same type

category

Parent category in the hierarchical structure of this value

disabledFlag

A true/false value telling whether this value is disabled or not

prependLabel

internal use only (may not be present)

label

internal use only (may not be present) 

sequencePosition

internal use only (may not be present)

Optional

countryRegion

name

The text value can be used as input to API requests or returned as output (i.e. state or country parameters)

code

The numerical representation of this value - can be used as input to some API requests (i.e. industryClassification parameter)

classText

The code that represents the value - can be used as input to some API requests (i.e. state or country parameters)

structure

Hierarchical structure of this value as it relates to other values of the same type

category

Parent category in the hierarchical structure of this value

disabledFlag

A true/false value telling whether this value is disabled or not

prependLabel

internal use only (may not be present)

label

internal use only (may not be present)

sequencePosition

internal use only (may not be present)

Optional

country

name

The text value can be used as input to API requests or returned as output (i.e. state or country parameters)

code

The numerical representation of this value - can be used as input to some API requests (i.e. industryClassification parameter)

classText

The code that represents the value - can be used as input to some API requests (i.e. state or country parameters)

structure

Hierarchical structure of this value as it relates to other values of the same type

category

Parent category in the hierarchical structure of this value

disabledFlag

A true/false value telling whether this value is disabled or not 

prependLabel

internal use only (may not be present)

label

internal use only (may not be present)

sequencePosition

internal use only (may not be present)

Optional

sicCode

name

The text value can be used as input to API requests or returned as output (i.e. state or country parameters)

code

The numerical representation of this value - can be used as input to some API requests (i.e. industryClassification parameter)

classText

The code that represents the value - can be used as input to some API requests (i.e. state or country parameters)

structure

Hierarchical structure of this value as it relates to other values of the same type

category

Parent category in the hierarchical structure of this value

disabledFlag

A true/false value telling whether this value is disabled or not

prependLabel

internal use only (may not be present)

label

internal use only (may not be present)

sequencePosition

internal use only (may not be present)

Optional

industryType

name

The text value can be used as input to API requests or returned as output (i.e. state or country parameters)

code

The numerical representation of this value - can be used as input to some API requests (i.e. industryClassification parameter)

classText

The code that represents the value - can be used as input to some API requests (i.e. state or country parameters)

structure

Hierarchical structure of this value as it relates to other values of the same type

category

Parent category in the hierarchical structure of this value

disabledFlag

A true/false value telling whether this value is disabled or not

prependLabel

internal use only (may not be present)

label

internal use only (may not be present)

sequencePosition

internal use only (may not be present)

Optional

titleCode

name

The text value can be used as input to API requests or returned as output (i.e. state or country parameters)

code

The numerical representation of this value - can be used as input to some API requests (i.e. industryClassification parameter)

classText

The code that represents the value - can be used as input to some API requests (i.e. state or country parameters)

structure

Hierarchical structure of this value as it relates to other values of the same type

category

Parent category in the hierarchical structure of this value

disabledFlag

A true/false value telling whether this value is disabled or not

prependLabel

internal use only (may not be present)

label

internal use only (may not be present) 

sequencePosition

internal use only (may not be present) 

Optional

titleCodeMiddle

name

The text value can be used as input to API requests or returned as output (i.e. state or country parameters)

code

The numerical representation of this value - can be used as input to some API requests (i.e. industryClassification parameter)

classText

The code that represents the value - can be used as input to some API requests (i.e. state or country parameters)

structure

Hierarchical structure of this value as it relates to other values of the same type

category

Parent category in the hierarchical structure of this value 

disabledFlag

A true/false value telling whether this value is disabled or not

prependLabel

internal use only (may not be present)

label

internal use only (may not be present)

sequencePosition

internal use only (may not be present) 

Optional

cpyCode

name

The text value can be used as input to API requests or returned as output (i.e. state or country parameters) 

code

The numerical representation of this value - can be used as input to some API requests (i.e. industryClassification parameter)

classText

The code that represents the value - can be used as input to some API requests (i.e. state or country parameters)

structure

Hierarchical structure of this value as it relates to other values of the same type 

category

Parent category in the hierarchical structure of this value

disabledFlag

A true/false value telling whether this value is disabled or not

prependLabel

internal use only (may not be present)

label

internal use only (may not be present)

sequencePosition

internal use only (may not be present)

Optional

revenue

name

The text value can be used as input to API requests or returned as output (i.e. state or country parameters)

code

The numerical representation of this value - can be used as input to some API requests (i.e. industryClassification parameter)

classText

The code that represents the value - can be used as input to some API requests (i.e. state or country parameters)

structure

Hierarchical structure of this value as it relates to other values of the same type 

category

Parent category in the hierarchical structure of this value

disabledFlag

A true/false value telling whether this value is disabled or not

prependLabel

internal use only (may not be present)

label

internal use only (may not be present)

sequencePosition

internal use only (may not be present)

Optional

employeeCount

name

The text value can be used as input to API requests or returned as output (i.e. state or country parameters)

code

The numerical representation of this value - can be used as input to some API requests (i.e. industryClassification parameter)

classText

The code that represents the value - can be used as input to some API requests (i.e. state or country parameters)

structure

Hierarchical structure of this value as it relates to other values of the same type

category

Parent category in the hierarchical structure of this value 

disabledFlag

A true/false value telling whether this value is disabled or not

prependLabel

internal use only (may not be present)

label

internal use only (may not be present)

sequencePosition

internal use only (may not be present)

Optional

gender

name

The text value can be used as input to API requests or returned as output (i.e. state or country parameters)

code

The numerical representation of this value - can be used as input to some API requests (i.e. industryClassification parameter)

classText

The code that represents the value - can be used as input to some API requests (i.e. state or country parameters) 

structure

Hierarchical structure of this value as it relates to other values of the same type

category

Parent category in the hierarchical structure of this value

disabledFlag

A true/false value telling whether this value is disabled or not

prependLabel

internal use only (may not be present)

label

internal use only (may not be present)

sequencePosition

internal use only (may not be present)

Optional

culture

name

The text value can be used as input to API requests or returned as output (i.e. state or country parameters) 

code

The numerical representation of this value - can be used as input to some API requests (i.e. industryClassification parameter)

classText

The code that represents the value - can be used as input to some API requests (i.e. state or country parameters)

structure

Hierarchical structure of this value as it relates to other values of the same type 

category

Parent category in the hierarchical structure of this value

disabledFlag

A true/false value telling whether this value is disabled or not

prependLabel

internal use only (may not be present)

label

internal use only (may not be present)

sequencePosition

internal use only (may not be present)

Optional

cultureGroup

name

The text value can be used as input to API requests or returned as output (i.e. state or country parameters)

code

The numerical representation of this value - can be used as input to some API requests (i.e. industryClassification parameter)

classText

The code that represents the value - can be used as input to some API requests (i.e. state or country parameters)

structure

Hierarchical structure of this value as it relates to other values of the same type

category

Parent category in the hierarchical structure of this value 

disabledFlag

A true/false value telling whether this value is disabled or not 

prependLabel

internal use only (may not be present)

label

internal use only (may not be present)

sequencePosition

internal use only (may not be present)

Optional

customCode

name

The text value can be used as input to API requests or returned as output (i.e. state or country parameters)

code

The numerical representation of this value - can be used as input to some API requests (i.e. industryClassification parameter)

classText

The code that represents the value - can be used as input to some API requests (i.e. state or country parameters)

structure

Hierarchical structure of this value as it relates to other values of the same type

category

Parent category in the hierarchical structure of this value

disabledFlag

A true/false value telling whether this value is disabled or not

prependLabel

internal use only (may not be present)

label

internal use only (may not be present)

sequencePosition

internal use only (may not be present)

Optional

titleCodeMiddleHierarchy

name

The text value can be used as input to API requests or returned as output (i.e. state or country parameters)

code

The numerical representation of this value - can be used as input to some API requests (i.e. industryClassification parameter)

classText

The code that represents the value - can be used as input to some API requests (i.e. state or country parameters)

structure

Hierarchical structure of this value as it relates to other values of the same type

category

Parent category in the hierarchical structure of this value

disabledFlag

A true/false value telling whether this value is disabled or not

prependLabel

internal use only (may not be present)

label

internal use only (may not be present)

sequencePosition

internal use only (may not be present)

 

Was this article helpful?

Can’t find what you’re looking for?

Contact our award-winning customer care team.