Input Parameters

API Fields

The following are the list of attributes that can used to filter the Persons data

  • persons_attributes in Factori APIs help you provide filters based on which you will be receiving data of individuals
  • output_fields in Factori APIs help you receive only those attributes that are useful to you instead of receiving all attributes in the response. For example, "output_fields": ["first_name", "company_name"] means to say that if a record matches a given criteria return only the first name and the company name
  • must_contain in Factori APIs help you in fetching a specific record if and only if a value exists for that key. For example, "must_contain": ["phone_numbers", "emails"] means to say that the API needs to fetch a record only if the record contains values for phone numbers and emails
  • must_not_contain in Factori APIs help you exclude any Persons based on some criteria. In the below example the API response will exclude any Person with a "person_id": "123"
"must_not_contain": {
	"person_id": ["123"]
}
  • maximum_record_limit in Factori APIs help you in specifying the number of credits you would like to utilise in a given request. In case the maximum_record_limit is not utilised then you will be returned 100 records by default.
  • page_no in Factori APIs will help you navigate the response using pagination
  • All emails in our end are lowercase and empty spaces are trimmed before hashing.
  • All phone numbers in our end have their extensions trimmed and don't have any hyphen (-) . Also empty spaces are trimmed before hashing. Our inputs accept phone numbers without extensions, spaces and hyphens.
  • All maids in our end are lowercase and empty spaces are trimmed before hashing.
  • Factori APIs accept full_address in the standard format specified by the USPS.
  • Any address_suffix mentioned in the address should be as present in - https://pe.usps.com/text/pub28/28apc_002.htm
  • Factori APIs accept only abbreviations for States as mentioned in - https://about.usps.com/who/profile/history/state-abbreviations.htm
  • Factori APIs accept "M" for male and "F" for female as values for gender
  • Factori APIs follow standard SIC codes as mentioned in https://www.sec.gov/corpfin/division-of-corporation-finance-standard-industrial-classification-sic-code-list
  • Factori APIs follow standard NAICS codes as mentioned in https://www.census.gov/naics/?58967?yearbck=2022
  • net_worth field in Factori APIs accept the following ranges for filtering based on an individual's net worth
Sl noNet Worth
1."Less_than_$1"
2."$1_$4999"
3."$5000_$9999"
4."$10000_$24999"
5"$25000_$49999"
6"$50000_$99999"
7"$100000_$249999"
8"$250000_$499999"
9"Greater_than_$499999"
  • household_income field in Factori APIs accept the following ranges
Sl noHousehold income
1"Under_$10000"
2"$10000_$14999"
3"$15000_$19999"
4"$20000_$24999"
5"$25000_$29999"
6"$30000_$34999"
7"$35000_$39999"
8"$40000_$44999"
9"$45000_$49999"
10"$50000_$54999"
11"$55000_$59999"
12"$60000_$64999"
13"$65000_$74999"
14"$75000_$99999"
15"$100000_$149999"
16"$150000_$174999"
17"$175000_$199999"
18"$200000_$249999")
19"$250000_Above"

Here is the list of state abbreviations and their expansions:

AbbreviationState
ALAlabama
AKAlaska
AZArizona
ARArkansas
CACalifornia
COColorado
CTConnecticut
DEDelaware
DCDistrict of Columbia
FLFlorida
GAGeorgia
HIHawaii
IDIdaho
ILIllinois
INIndiana
IAIowa
KSKansas
KYKentucky
LALouisiana
MEMaine
MDMaryland
MAMassachusetts
MIMichigan
MNMinnesota
MSMississippi
MOMissouri
MTMontana
NENebraska
NVNevada
NHNew Hampshire
NJNew Jersey
NMNew Mexico
NYNew York
NCNorth Carolina
NDNorth Dakota
OHOhio
OKOklahoma
OROregon
PAPennsylvania
PRPuerto Rico
RIRhode Island
SCSouth Carolina
SDSouth Dakota
TNTennessee
TXTexas
UTUtah
VTVermont
VAVirginia
VIU.S. Virgin Islands
WAWashington
WVWest Virginia
WIWisconsin
WYWyoming

Here is the table showing different credit rating range

Sl. NoCredit Rating Range
1Above 800
2750 - 799
3700 - 749
4650 - 699
5600 - 649
6550 - 599
7500 - 549
8Below 499

Here is the table showing how employee level are represented:

Sl. NoEmployee Level
1CONSULTANT
2C_LEVEL
3DIRECTOR_LEVEL
4VP_LEVEL
5MANAGER_LEVEL
6STAFF

Here is the table with the serial number and address directions:

Sl. NoAddress Direction
1E
2N
3NE
4NW
5S
6SE
7SW
8W

Types

1. Enrich

The Enrich API is built to help you enrich your existing data with attributes that provide you with a complete graph of your customers. The general practice is to use the Search API to filter records and then use the Enrich API to enrich only those relevant records

The Enrich API response gives you access to all available attributes mentioned on the page above.

2. Verify

In an increasingly digital world, the incidence of digital fraud is on the rise. Malicious individuals are continuously seeking fresh methods to engage in fraudulent activities, including the creation of synthetic identities, identity theft, and taking over user accounts. Companies are faced with the challenge of maintaining a seamless customer onboarding experience while simultaneously working to reduce fraud and safeguard their platforms.

The API can accept a wide variety of inputs to verify an individual, such as:

  1. Phone
  2. Email
  3. MAID

Example

  1. An example of a Enrich Request
curl --location 'https://api.factori.ai/person/v1.2/enrich' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <Token>' \
--data '{
    "persons_attributes": {
        "city": "los angeles",
        "state": "ca",
        "net_worth": "$50000_$99999"
    },
    "must_contain": [
        "first_name",
        "last_name",
        "gender"
    ],
    "must_not_contain": {
    	"person_id": ["123"]
    },
    "output_fields": [
        "first_name",
        "last_name",
        "gender",
        "address"
    ],
    "maximum_record_limit": 1000,
    "page_no": 2
}'

Fields to search Person Data

CategoryAttribute NameDescription
Factoriperson_idFactori assigned Person ID of the individual
Generalfirst_nameFirst Name
Generallast_nameSurname
GeneralgenderGender Code: M - Male, F - Female
GeneralageAge of the individual
Year of BirthyearYear of birth - YYYY
Addressfull_addressFull Address (including House Number, Directional, Street Name, etc.)
AddresscityCity Name
AddressstateState Abbreviation: AL, FL, IL, NY, etc.
AddresszipZip Code: Five digit numbers only, e.g. 60614
Addresscensus_tractCensus Tracts are small, relatively permanent statistical subdivisions of a county
Addresscensus_blockA census block is the smallest geographic unit used by the United States Census Bureau for tabulation
Addresspre_addressPre Address
AddressstreetStreet Name or PO Box name, or RR # Box name, or HC # Box name
Addresspost_addressPost Address
Addressaddress_suffixAddress Suffix
Householdhousehold_idHousehold ID
Householdhousehold_incomeHousehold Income (in $)
Generalnet_worthNet worth of the individual
Generalcredit_ratingCredit rating of the individual
Phonephone_numberArray of all phone numbers
Phonephone_sha1Array of phone number tagged in sha128 hashed format
Phonephone_sha2Array of phone number tagged in sha256 hashed format
Phonephone_md5Array of phone numbers tagged in md5 hashed format
Emailpersonal_email_addressArray of personal email ids tagged
Emailpersonal_email_sha1Array of email ids tagged in sha128 hashed format
Emailpersonal_email_sha2Array of email ids tagged in sha256 hashed format
Emailpersonal_email_md5Array of email ids tagged in md5 hashed format
Emailwork_email_addressArray of work email ids tagged
Emailwork_email_sha1Array of email ids tagged in sha128 hashed format
Emailwork_email_sha2Array of email ids tagged in sha256 hashed format
Emailwork_email_md5Array of email ids tagged in md5 hashed format
DevicesmaidArray of Mobile Advertisement Id
Devicesmaid_sha1Array of Mobile Advertisement Id in sha128 format
Devicesmaid_sha2Array of Mobile Advertisement Id in sha256 format
Devicesmaid_md5Array of Mobile Advertisement Id in md5 format
Workemployee_titleJob title of the individual
Workemployee_levelJob level of the individual
Workemployee_job_functionJob function of the individual
Workemployee_departmentJob department of the individual
Companycompany_idID of the company
Companycompany_nameName of the company the individual works for
Companycompany_cityCity where the company is located in
Companycompany_stateState where the company is located in
Companycompany_naics_codeCompany NAICS code
Companycompany_sic_codeCompany SIC code
Sociallinkedin_urlLinkedIn URL
Socialfacebook_urlFacebook URL
Socialtwitter_urlTwitter URL