Skip to main content
Connect discovers liabilities using the user’s credit report. Teams with raw credit report access enabled can also receive that underlying bureau report itself, as a downloadable raw credit report (JSON, or native XML for TransUnion) and/or credit report PDF returned as Files. Files give you a durable copy of the report (e.g. for compliance archives or underwriting reviews) that can be re-downloaded at any time. A Connect can also return credit scores inside those Files.

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 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:
Fetch the 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 the raw_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. Pass score_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. The credit_report_pdf artifact prints the same scores in the bureau’s own layout.
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 its files array, then download the contents via the Files API.

Webhooks

Connects with products or subscriptions (or the Prefer: 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.
For the full API surface, see the Connect reference and the Files reference.