Skip to content

creditReports

Query

Fetch Credit Reports with various filtering and pagination options.

Query Signature

query {
creditReports(where: CreditReportWhereInput, order: [CreditReportOrder!], skip: Int, search: String, after: String, first: Int, before: String, last: Int): CreditReportsResponse
}

Example Request

query CreditReports($where: CreditReportWhereInput, $order: [CreditReportOrder!], $skip: Int, $search: String, $after: String, $first: Int, $before: String, $last: Int) {
creditReports(where: $where, order: $order, skip: $skip, search: $search, after: $after, first: $first, before: $before, last: $last) {
# Add fields you want to retrieve
}
}

Example Variables:

{
"where": {
"reqOrgContactId": "contact-12345"
},
"first": 10,
"order": [
{
"field": "createdAt",
"direction": "DESC"
}
]
}

Example Response

{
"data": {
"creditReports": {
"data": {
"totalCount": 2,
"pageInfo": {
"hasNextPage": false,
"hasPreviousPage": false,
"startCursor": "cursor-1",
"endCursor": "cursor-2"
},
"edges": [
{
"cursor": "cursor-1",
"node": {
"id": "cr-abc123def456",
"reqOrgContactId": "contact-12345",
"leadId": "lead-67890",
"source": "CRS_EQUIFAX",
"reportStatus": "COMPLETED",
"createdAt": "2025-01-15T10:30:00.000Z"
}
},
{
"cursor": "cursor-2",
"node": {
"id": "cr-xyz789",
"reqOrgContactId": "contact-12345",
"leadId": "lead-67890",
"source": "CRS_TRANSUNION",
"reportStatus": "COMPLETED",
"createdAt": "2025-01-10T14:20:00.000Z"
}
}
]
},
"errors": null
}
}
}

Arguments

ArgumentTypeDescription
whereCreditReportWhereInputFilter conditions for credit reports
order[CreditReportOrder!]Ordering options for the results

Input Types

CreditReportWhereInput

Where conditions for filtering Credit Reports.

Optional Fields:

FieldTypeDescription
reqOrgContactIdStringFilter by requesting organization contact ID
sourceStringFilter by credit report source (e.g., CRS_TRANSUNION, CRS_EQUIFAX, SPINWHEEL)
creditReportIds[String!]List of credit report IDs to filter by. Maximum of 20 IDs allowed.

CreditReportOrder

Ordering options for Credit Reports.

Required Fields:

FieldTypeDescription
fieldCreditReportOrderField!Field to order by
directionOrderDirection!Order direction (ASC or DESC)

Response Type

Returns: CreditReportsResponse

CreditReportsResponse

CreditReportsResponse

FieldTypeDescription
dataCreditReportConnectionCredit Report Connection.
errors[CreditReportsResponseError]Error(s) mesage list

CreditReportConnection

Pagination connection for Credit Reports.

FieldTypeDescription
pageInfoPageInfo!Pagination information
edges[CreditReportEdge]!List of credit report edges
totalCountInt!Total number of credit reports matching the query
PageInfo

Page information for navigating collections.

FieldTypeDescription
hasNextPageBoolean!Whether there are more results after the current page
startCursorStringCursor pointing to the first item in the current page
endCursorStringCursor pointing to the last item in the current page
CreditReportEdge

Edge type for Credit Reports.

FieldTypeDescription
nodeCreditReportNodeThe credit report data
cursorString!Cursor for pagination
CreditReportNode

Credit Report Node

FieldTypeDescription
idID!Credit report ID
reqOrgIdStringRequesting organization ID
reqOrgContactIdStringRequesting organization contact ID
leadIdStringSigma lead ID
applicantResidenceStateStringState where customer resides
publicRecords[PublicRecord]Public records
creditReportUserIdStringCredit report user ID
debts[CreditReportDebt]Debts as JSON data
sourceStringSource of the credit report, e.g., Spinwheel, CRS Equifax, or CRS TransUnion
fileMetadataFileMetadataFile metadata.
reportStatusStringCurrent status of the credit report: PENDING, IN_PROGRESS, COMPLETED, FAILED
fileStatusStringIN_PROGRESS, COMPLETED
createdAtDateDate the credit report was created
applicantFirstNameStringApplicant’s first name
applicantMiddleNameStringApplicant’s middle name
applicantLastNameStringApplicant’s last name
applicantSsnStringApplicant’s ssn name
applicantDobStringApplicant’s dob
applicantAlternativeNames[AlternativeName]Applicant’s alternative names
scores[Score]Credit scores from various credit evaluation models
reportRequestedAtDateDate the credit report was requested
PublicRecord

Public Record

FieldTypeDescription
bankruptcyCodeString!Bankruptcy code
bankruptcyDateFiledStringBankruptcy date filed
bankruptcyDispositionTypeStringBankruptcy disposition type
CreditReportDebt

Credit Report Debt

FieldTypeDescription
idID!Debt ID
creditorIdStringcreditor ID
externalDebtIdStringThis is replaced by accountNumber @deprecated Use accountNumber instead
accountNumberStringOriginal credit report account number
applicantStateStringApplicants state of residence.
ecoaCodeStringECOA code
creditorNameStringCreditor name from credit report
parentCreditorNameStringParent creditor name
parentCreditorIdStringParent creditor ID
originalCreditorNameStringOriginal creditor name from credit report
creditorTypeStringCreditor type
accountTypeStringAccount type
portfolioTypeStringPortfolio type
debtTypeStringDebt type
currentBalanceFloatCurrent debt balance
openDateStringDate the debt was opened
lastPaymentDateStringDate of last payment
hasLastPaymentBooleanTrue if the most recent payment has been made as of the date this credit report was pulled
narrativeCodes[String]Narrative codes that might include bankruptcy codes
bankruptcyDateFiledStringBankruptcy date filed
applicantIdStringApplicant Id
coApplicantIdStringCoApplicant Id
originalBalanceFloatOriginal debt balance
isCollectionBooleanFlag to show if the debt is in collection
delinquencyStringaccount rating /delinquency value
monthlyPaymentFloatMonthly payment
forthDebtTypeIdStringForth Debt Type ID
remarks[String]Remarks
FileMetadata

File metadata

FieldTypeDescription
reqOrgContactIdStringRequesting organization contact ID
creditReportUserIdStringCredit report user ID
sourceStringCredit Report Vendor source e.g. SPINWHEEL, CRS Equifax, or CRS TransUnion
uploadDateStringISO 8601 format date string
fileNameStringDocument name
contentTypeStringFile type
fileSizeStringSize in bytes
typeStringDocument type
AlternativeName

Alternative name associated with the applicant

FieldTypeDescription
firstNameStringAlternative first name
lastNameStringAlternative last name
unparsedNameStringFull alternative name (unparsed)
Score

Credit score information from credit evaluation models

FieldTypeDescription
modelNameStringThe name of a risk model as provided by the repository bureaus.
sourceTypeStringThis element describes the source of the credit file, Equifax, Experian, Trans Union or Unspecified if the specific sources are not specified.
scoreValueStringNumeric credit score resulting from credit evaluation model.
scoreFactors[ScoreFactor]Factors of the borrower’s credit which give context to the referenced credit score.
ScoreFactor

Score Factor associated with a credit score

FieldTypeDescription
scoreFactorCodeStringFactors of the borrower’s credit which give context to the referenced credit score. The factor is normally a numeric code.
scoreFactorTextStringThe text remarks associated with a Score Factor.

CreditReportsResponseError

CreditReportsResponse Error

FieldTypeDescription
messageStringError message

Additional Enums

CreditReportOrderField

Fields that can be ordered in Credit Reports.

ValueDescription
createdAtOrder by creation date
reqOrgContactIdOrder by requesting organization contact ID

OrderDirection

Direction of ordering.

ValueDescription
ASCAscending order (A-Z, 0-9, oldest first)
DESCDescending order (Z-A, 9-0, newest first)

Error Types

The response may include the following error types:

CreditReportsResponseError

CreditReportsResponse Error

FieldTypeDescription
messageStringError message

Common Errors

Error CodeDescriptionResolution
VALIDATION_ERRORInput validation failedCheck required fields and formats
UNAUTHORIZEDInvalid or expired tokenRe-authenticate and retry
NOT_FOUNDResource not foundVerify the ID or reference