/get_naics_categories

Gets a list of valid NAICS codes sorted by category and listed with their describing subcategory.

NAICS codes are required when registering business entities and this is the endpoint for fetching a definitive list of the codes accepted by the Sila API.

Requests

Authorization / Authentication

Apps using Access Token Authorization

Use a valid access token in a Authorization: Bearer request header.

See Authenticating with an Access Token for more details.

Apps using ECDSA Authentication

This endpoint requires an authsignature header, but no usersignature header. No header.user_handle field is required or validated in the header object in the request body.

See the section on ECDSA Authentication for more detail about ECDSA signature generation.

Note - We recently renamed the field auth_handle to app_handle. For backward compatibility, auth_handle is still valid but has been removed from our documentation.

POST /0.2/get_naics_categories HTTP/1.1
Host: sandbox.silamoney.com
authsignature: [GENERATED AUTHSIGNATURE HEX STRING HERE]
Content-Type: application/json

{
  "header": {
    "created": 1234567890,
    "app_handle": "your_app_handle.silamoney.eth",
    "reference": "<your unique id>"
  }
}

***

{
    "success": true,
    "status": "SUCCESS",,
    "response_time_ms": "171",
    "reference": "<your unique id>",
    "naics_categories": {
        "Accommodation and Food Services": [
            {
                "code": 721,
                "subcategory": "Accommodation"
            },
            {
                "code": 722,
                "subcategory": "Food Services and Drinking Places"
            }
        ],
        "Administrative and Support and Waste Management and Remediation": [
            {
                "code": 561,
                "subcategory": "Administrative and Support Services"
            },
            {
                "code": 562,
                "subcategory": "Waste Management and Remediation Services"
            },
            ...
        ],
        ...
    }
}
const res = await sila.getNaicsCategories();

// Success Response Object
console.log(res.statusCode); // 200
console.log(res.data.status);
console.log(res.data.success); // TRUE
console.log(res.data.naics_categories); // Categories list
response = BusinessInformation.getNaicsCategories(silaApp)

#### Success Response Object
{
    "status": 'SUCCESS',
    "status_code": 200,
    "success": true,
    "naics_categories": {
    "Accommodation and Food Services": [
            {
                "code": 721,
                "subcategory": "Accommodation"
            },
            ...
        ],
    ...
    },
    ...
}
ApiResponse response = api.getNaicsCategories();

// Success Object Response
System.out.println(response.getStatusCode()); // 200
((GetNaicsCategoriesResponse) response.getData()).isSuccess();
((GetNaicsCategoriesResponse) response.getData()).getStatus();
Map<String, ArrayList<NaicsCategoryDescription>> naicsCategories = ((GetNaicsCategoriesResponse) response.getData()).getNaicsCategories();
for (String key : naicsCategories.keySet()) {
    for (NaicsCategoryDescription categoryDescription : naicsCategories.get(key)) {
        System.out.println(categoryDescription.getSubcategory()); // Naics Category subcategory
        System.out.println(categoryDescription.getCode()); // Naics Category code
    }
}
$response = $client->getNaicsCategories();

// Response 200
echo $response->getStatusCode(); // 200
echo $response->getData()->status;
echo $response->getData()->success; // TRUE
echo $response->getData()->naics_categories; // An object of Naics categories
echo $response->getData()->naics_categories->{'Accommodation and Food Services'} // Each category has an array of subcategories (code, subcategory)
ApiResponse<object> response = api.GetNaicsCategories();

// Success Response Object 200

Console.WriteLine(response.StatusCode); // 200
var parsedData = (NaicsCategoriesResponse)response.Data;
parsedData.NaicsCategories; // Naics categories list
parsedData.Success; // Success
parsedData.NaicsCategories.First().Value; // First Naic category object

Responses

Status Codesuccess AttributeDescription
200trueSuccessful request; NAICS codes returned.
400falseBad request format - check validation_details for more information.
403falseAuth signature is absent or derived address does not belong to app_handle.

Supported NAICS codes and categories returned in /get_naics_categories

CategorySub-CategoryNAICS Code
Accommodation and Food ServicesAccommodation721
Accommodation and Food ServicesFood Services and Drinking Places722
Administrative and Support and Waste Management and RemediationAdministrative and Support Services561
Administrative and Support and Waste Management and RemediationWaste Management and Remediation Services562
Agriculture, Forestry, Fishing and HuntingAnimal Production112
Agriculture, Forestry, Fishing and HuntingCrop Production111
Agriculture, Forestry, Fishing and HuntingFishing, Hunting and Trapping114
Agriculture, Forestry, Fishing and HuntingForestry and Logging113
Agriculture, Forestry, Fishing and HuntingSupport Activities for Agriculture and Forestry115
Arts, Entertainment, and RecreationAmusement Parks and Arcades7131
Arts, Entertainment, and RecreationAmusement, Gambling, and Recreation Industries713
Arts, Entertainment, and RecreationGambling Industries7132
Arts, Entertainment, and RecreationMuseums, Historical Sites, and Similar Institutions712
Arts, Entertainment, and RecreationOther Amusement and Recreation Industries7139
Arts, Entertainment, and RecreationPerforming Arts, Spectator Sports, and Related Industries711
ConstructionConstruction of Buildings236
ConstructionHeavy and Civil Engineering Construction237
ConstructionSpecialty Trade Contractors238
Educational ServicesEducational Services611
Finance and InsuranceActivities Related to Credit Intermediation5223
Finance and InsuranceAgencies, Brokerages, and Other Insurance Related Activities5242
Finance and InsuranceCredit Intermediation and Related Activities522
Finance and InsuranceDepository Credit Intermediation5221
Finance and InsuranceFunds, Trusts, and Other Financial Vehicles525
Finance and InsuranceInsurance and Employee Benefit Funds5251
Finance and InsuranceInsurance Carriers5241
Finance and InsuranceInsurance Carriers and Related Activities524
Finance and InsuranceMonetary Authorities-Central Bank521
Finance and InsuranceMortgage and nonmortgage loan brokers52231
Finance and InsuranceOther Financial Investment Activities5239
Finance and InsuranceOther Investment Pools and Funds5259
Finance and InsuranceSecurities and Commodity Contracts Intermediation and Brokerage5231
Finance and InsuranceSecurities and Commodity Exchanges5232
Finance and InsuranceSecurities, Commodity Contracts, and Other Financial Investments and Related Activities523
Health Care and Social AssistanceAmbulatory Health Care Services621
Health Care and Social AssistanceCommunity Care Facilities for the Elderly6233
Health Care and Social AssistanceGeneral Medical and Surgical Hospitals6221
Health Care and Social AssistanceHome Health Care Services6216
Health Care and Social AssistanceHospitals622
Health Care and Social AssistanceMedical and Diagnostic Laboratories6215
Health Care and Social AssistanceNursing and Residential Care Facilities623
Health Care and Social AssistanceNursing Care Facilities6231
Health Care and Social AssistanceOffices of Dentists6212
Health Care and Social AssistanceOffices of Other Health Practitioners6213
Health Care and Social AssistanceOffices of Physicians6211
Health Care and Social AssistanceOther Ambulatory Health Care Services6219
Health Care and Social AssistanceOther Residential Care Facilities6239
Health Care and Social AssistanceOutpatient Care Centers6214
Health Care and Social AssistancePsychiatric and Substance Abuse Hospitals6222
Health Care and Social AssistanceResidential Mental Retardation, Mental Health and Substance Abuse Facilities6232
Health Care and Social AssistanceSocial Assistance624
Health Care and Social AssistanceSpecialty (except Psychiatric and Substance Abuse) Hospitals6223
InformationBroadcasting (except Internet)515
InformationData Processing, Hosting and Related Services518
InformationMotion Picture and Sound Recording Industries512
InformationOther Information Services519
InformationOther Telecommunications5179
InformationPublishing Industries (except Internet)511
InformationSatellite Telecommunications5174
InformationTelecommunications517
InformationWired Telecommunications Carriers5171
InformationWireless Telecommunications Carriers (except Satellite)5172
Management of Companies and EnterprisesManagement of Companies and Enterprises551
ManufacturingApparel Manufacturing315
ManufacturingBeverage and Tobacco Product Manufacturing312
ManufacturingChemical Manufacturing325
ManufacturingComputer and Electronic Product Manufacturing334
ManufacturingElectrical Equipment, Appliance, and Component Manufacturing335
ManufacturingFabricated Metal Product Manufacturing332
ManufacturingFood Manufacturing311
ManufacturingFurniture and Related Product Manufacturing337
ManufacturingLeather and Allied Product Manufacturing316
ManufacturingMachinery Manufacturing333
ManufacturingMiscellaneous Manufacturing339
ManufacturingNonmetallic Mineral Product Manufacturing327
ManufacturingPaper Manufacturing322
ManufacturingPetroleum and Coal Products Manufacturing324
ManufacturingPlastics and Rubber Products Manufacturing326
ManufacturingPrimary Metal Manufacturing331
ManufacturingPrinting and Related Support Activities323
ManufacturingTextile Mills313
ManufacturingTextile Product Mills314
ManufacturingTransportation Equipment Manufacturing336
ManufacturingWood Product Manufacturing321
Mining, Quarrying, and Oil and Gas ExtractionMining (except Oil and Gas)212
Mining, Quarrying, and Oil and Gas ExtractionOil and Gas Extraction211
Mining, Quarrying, and Oil and Gas ExtractionSupport Activities for Mining213
Professional, Scientific, and Technical ServicesAccounting, Tax Preparation, Bookkeeping, and Payroll Services5412
Professional, Scientific, and Technical ServicesAdvertising, Public Relations, and Related Services5418
Professional, Scientific, and Technical ServicesArchitectural, Engineering, and Related Services5413
Professional, Scientific, and Technical ServicesComputer Systems Design and Related Services5415
Professional, Scientific, and Technical ServicesLegal Services5411
Professional, Scientific, and Technical ServicesManagement, Scientific, and Technical Consulting Services5416
Professional, Scientific, and Technical ServicesOther Professional, Scientific, and Technical Services5419
Professional, Scientific, and Technical ServicesProfessional, Scientific, and Technical Services541
Professional, Scientific, and Technical ServicesScientific Research and Development Services5417
Professional, Scientific, and Technical ServicesSpecialized Design Services5414
Public AdministrationAdministration of Economic Programs926
Public AdministrationAdministration of Environmental Quality Programs924
Public AdministrationAdministration of Housing Programs, Urban Planning, and Community Development925
Public AdministrationAdministration of Human Resource Programs923
Public AdministrationExecutive, Legislative, and Other General Government Support921
Public AdministrationJustice, Public Order, and Safety Activities922
Public AdministrationNational Security and International Affairs928
Public AdministrationSpace Research and Technology927
Real Estate and Rental and LeasingActivities Related to Real Estate5313
Real Estate and Rental and LeasingAutomotive Equipment Rental and Leasing5321
Real Estate and Rental and LeasingCommercial and Industrial Machinery and Equipment Rental and Leasing5324
Real Estate and Rental and LeasingConsumer Goods Rental5322
Real Estate and Rental and LeasingGeneral Rental Centers5323
Real Estate and Rental and LeasingLessors of Nonfinancial Intangible Assets (except Copyrighted Works)533
Real Estate and Rental and LeasingLessors of Real Estate5311
Real Estate and Rental and LeasingOffices of Real Estate Agents and Brokers5312
Real Estate and Rental and LeasingReal Estate531
Real Estate and Rental and LeasingRental and Leasing Services532
Retail TradeAutomobile Dealers4411
Retail TradeAutomotive Parts, Accessories, and Tire Stores4413
Retail TradeBuilding Material and Garden Equipment and Supplies Dealers444
Retail TradeClothing and Clothing Accessories Stores448
Retail TradeClothing Stores4481
Retail TradeDirect Selling Establishments4543
Retail TradeElectronic Shopping and Mail-Order Houses4541
Retail TradeElectronics and Appliance Stores443
Retail TradeFood and Beverage Stores445
Retail TradeFurniture and Home Furnishings Stores442
Retail TradeGasoline Stations447
Retail TradeGeneral Merchandise Stores452
Retail TradeHealth and Personal Care Stores446
Retail TradeJewelry, Luggage, and Leather Goods Stores4483
Retail TradeMiscellaneous Store Retailers453
Retail TradeMotor Vehicle and Parts Dealers441
Retail TradeNonstore Retailers454
Retail TradeOther Motor Vehicle Dealers4412
Retail TradeShoe Stores4482
Retail TradeSporting Goods, Hobby, Book, and Music Stores451
Retail TradeVending Machine Operators4542
Transportation and WarehousingAir Transportation481
Transportation and WarehousingCouriers and Express Delivery Services4921
Transportation and WarehousingCouriers and Messengers492
Transportation and WarehousingLocal Messengers and Local Delivery4922
Transportation and WarehousingOther Pipeline Transportation4869
Transportation and WarehousingPipeline Transportation486
Transportation and WarehousingPipeline Transportation of Crude Oil4861
Transportation and WarehousingPipeline Transportation of Natural Gas4862
Transportation and WarehousingPostal Service491
Transportation and WarehousingRail Transportation482
Transportation and WarehousingScenic and Sightseeing Transportation487
Transportation and WarehousingSupport Activities for Transportation488
Transportation and WarehousingTransit and Ground Passenger Transportation485
Transportation and WarehousingTruck Transportation484
Transportation and WarehousingWarehousing and Storage493
Transportation and WarehousingWater Transportation483
UtilitiesUtilities221
Wholesale TradeApparel, Piece Goods, and Notions Merchant Wholesalers4243
Wholesale TradeBeer, Wine, and Distilled Alcoholic Beverage Merchant Wholesalers4248
Wholesale TradeChemical and Allied Products Merchant Wholesalers4246
Wholesale TradeDrugs and Druggists' Sundries Merchant Wholesalers4242
Wholesale TradeElectrical and Electronic Goods Merchant Wholesalers4236
Wholesale TradeFarm Product Raw Material Merchant Wholesalers4245
Wholesale TradeFurniture and Home Furnishing Merchant Wholesalers4232
Wholesale TradeGrocery and Related Product Merchant Wholesalers4244
Wholesale TradeHardware, and Plumbing and Heating Equipment and Supplies Merchant Wholesalers4237
Wholesale TradeLumber and Other Construction Materials Merchant Wholesalers4233
Wholesale TradeMachinery, Equipment, and Supplies Merchant Wholesalers4238
Wholesale TradeMerchant Wholesalers, Durable Goods423
Wholesale TradeMerchant Wholesalers, Nondurable Goods424
Wholesale TradeMetal and Mineral (except Petroleum) Merchant Wholesalers4235
Wholesale TradeMiscellaneous Durable Goods Merchant Wholesalers4239
Wholesale TradeMiscellaneous Nondurable Goods Merchant Wholesalers4249
Wholesale TradeMotor Vehicle and Motor Vehicle Parts and Supplies Merchant Wholesalers4231
Wholesale TradePaper and Paper Product Merchant Wholesalers4241
Wholesale TradePetroleum and Petroleum Products Merchant Wholesalers4247
Wholesale TradeProfessional and Commercial Equipment and Supplies Merchant Wholesalers4234
Wholesale TradeWholesale Electronic Markets and Agents and Brokers425
Other Services (except Public Administration)Business, Professional, Labor, Political, and Similar Organizations8139
Other Services (except Public Administration)Civic and Social Organizations8134
Other Services (except Public Administration)Grantmaking and Giving Services8132
Other Services (except Public Administration)Personal and Laundry Services812
Other Services (except Public Administration)Private Households814
Other Services (except Public Administration)Religious Organizations8131
Other Services (except Public Administration)Religious, Grantmaking, Civic, Professional, and Similar Organizations813
Other Services (except Public Administration)Repair and Maintenance811
Other Services (except Public Administration)Social Advocacy Organizations8133