Prerequisites
- Raw credit report features are enabled on a case-by-case basis. Contact Method to enable these.
- The Entity must be verified and must not have withdrawn consent.
Requesting the raw report
1
Create a Connect with artifacts
Pass
bureau and artifacts when creating a Connect:Each Connect pulls from a single bureau. To receive credit reports from both bureaus, you will need to make 2 separate Connect calls.
2
Read the response
The Connect response includes the requested artifacts in
files:response.data
3
Download the file artifacts
Note the Fetch the
file_ids in the above response and use Retrieve a File to get the File’s metadata, including a temporary download_url to its contents:download_url. A new URL is generated on every retrieve and expires at download_expires_at.Additionally, you can stream a File’s contents directly with Download a File:Receiving TransUnion reports as XML
TransUnion raw credit reports are returned as JSON by default. To receive the native TransUnion XML report instead, pass theraw_report_format=xml query parameter when creating a Connect:
The
raw_credit_report File then has a mime_type of application/xml. Always use a File’s mime_type to decide how to parse its contents, and save XML downloads with an .xml extension (for example, -o raw_credit_report.xml).
Equifax raw credit reports are always returned as JSON. Requesting
raw_report_format=xml for an Equifax raw_credit_report returns a CONNECT_RAW_REPORT_FORMAT_UNSUPPORTED_BUREAU error.Requesting credit scores
A Connect can return one or more credit scores with the credit report. Passscore_models with bureau and artifacts when creating a Connect:
Score models are enabled per team and per bureau. Contact Method to enable the models you need. Every model in
score_models must be enabled for your team on the requested bureau, or the request fails with CONNECT_SCORE_MODELS_NOT_ENABLED and the error message lists the models that are not enabled. If you omit score_models, the Connect returns the default score models Method configured for your team on that bureau, if any.
Available score models
Each bureau supports a different set of models.Reading scores from the report
Scores are returned inside the credit report Files, not on the Connect object. Thecredit_report_pdf artifact prints the same scores in the bureau’s own layout.
- TransUnion JSON
- TransUnion XML
- Equifax JSON
The
scores array holds one entry per requested model. Use model to identify each entry. Each entry has up to five factors, ordered by rank: 1 is the factor that lowered the score the most, 2 the next most, and so on. TransUnion returns factor codes without descriptions.Each Connect pulls from a single bureau, so it returns only that bureau’s scores. To receive scores from both bureaus, make 2 separate Connect calls.
Retrieving the raw report later
Files persist after the Connect completes. Retrieve the Connect at any time to read itsfiles array, then download the contents via the Files API.
Webhooks
Connects with products or subscriptions (or thePrefer: respond-async header) process asynchronously. Listen for connect.available to know when an async Connect (including its artifacts) is ready, and connect.create for synchronous completions. See Connect webhooks.
Errors
See Connect errors and File errors for the full list.
Handling sensitive data. The raw credit report contains the consumer’s full bureau file. Treat it as highly sensitive: store it encrypted, restrict access, and only retain it as long as your compliance obligations require.