---
title: "Post Naics Prediction Request"
method: POST
path: "/naics_prediction_requests"
tags: ["Industry Prediction"]
---

# Post Naics Prediction Request

`POST /naics_prediction_requests`

Submit an ad-hoc NAICS code prediction request.

## Headers

- `Prefer` string, nullable — Request execution preference (RFC 7240). Use ``respond-async`` for asynchronous execution, ``wait=N`` to specify a synchronous timeout hint in seconds, or ``priority=low`` to route the task to the low-priority queue.

## Request body

- V1AdHocNAICSPredictionRequest — Request model for ad-hoc NAICS code prediction.
  - `name` string, required — The name of the business.
  - `address` string, required — The address of the business.
  - `alternative_names` string[], nullable — Alternative names for the business (e.g., DBA names)
  - `officer_names` string[], nullable — List of business officers' names.
  - `website` string, nullable — The website URL associated with the business.
  - `phone_number` string, nullable — A phone number associated with the business.
  - `email` string, nullable — An email address associated with the business.
  - `reference_id` string, nullable — An optional reference ID to associate with the request.

## Response `201`

Response

- V1PredictedNaicsRequestResponse
  - `id` string, uuid, required — Unique identifier for the NAICS prediction request.
  - `state` 'PENDING' | 'EXECUTING' | 'COMPLETED' | 'FAILED' | 'CANCELLED', required
  - `business_id` string, uuid, nullable — The ID of the business for which the NAICS code was predicted.
  - `business_search_id` string, uuid, nullable — The ID of the business search from which this NAICS prediction request originated.
  - `predicted_naics` V1PredictedNaicsResponse
    - `code` string, required — The predicted NAICS code for the business.
    - `title` string, required — The title of the predicted NAICS code.
    - `accuracy` number, nullable — The accuracy of the NAICS code prediction.
    - `keywords` string[], nullable — Any keywords associated with the NAICS code to indicate area of business activity.
    - `mcc_codes` V1MCC[], nullable — List of MCC codes associated with the NAICS code.
      - `code` string, required — The 4-digit MCC.
      - `description` string, nullable — Description of the MCC.
      - `mastercard_risk` boolean, nullable — Indicates if there is a risk associated with Mastercard transactions.
      - `visa_risk_tier` 1 | 2 | 3
    - `sic_codes` V1SICCode[], nullable — List of SIC codes associated with the NAICS code.
      - `code` string, required — The 4-digit SIC code.
      - `description` string, nullable — Description of the SIC code.
    - `risk_level` 'high' | 'medium' | 'low' | 'no_risk'
    - `reasoning` string, nullable — Explanation of why this specific NAICS code was chosen for the business.
  - `error` string, nullable — Any errors that occurred during the NAICS prediction request.
  - `reference_id` string, nullable — An optional reference ID associated with this request, inherited from the parent search.
  - `created_at` string, date-time, required — The date and time when the NAICS prediction request was created.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/baselayer/apis/baselayer-api-service.md) · [All operations](https://skmtc.net/baselayer/apis/baselayer-api-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/baselayer/baselayer-api-service/versions/0cc89938bc26/schema)
