Credit Report API
With the applicant's consent and a permissible purpose, returns their credit score, summary figures, account-level tradelines and a link to the bureau PDF.
- Source
- Credit information company (CIC) reports through an authorised partner
- Turnaround
- Real time, usually under 30 seconds
- Endpoint
- POST /v1/credit/report
- Who can use it
- Regulated lenders and businesses with a permissible purpose under bureau rules, with the applicant's explicit consent. We review each use case before enabling it.
Overview
Get the applicant's credit score and full bureau report through a credit information company, with their explicit consent and a permissible purpose. You get the parsed numbers you need for a quick decision (score, overdue amounts, DPD, recent enquiries) plus the account-level tradelines and the original PDF for your file.
Good to know
A score is only as current as lenders' last reporting, often a month or more behind. Loans from informal lenders or very recent loans may not show up.
What you get
- Parsed and rawUse the parsed fields for your rules engine and keep the bureau PDF for audit and manual review.
- Tradeline detailSee every loan and card with lender, type, sanctioned amount, balance and month-by-month DPD.
- Enquiry historySpot applicants shopping for credit at several lenders in the last few months.
- Purpose recordedEach pull carries the permissible purpose and consent you captured, which the bureaus require.
Request
POST https://api.ampletrails.com/v1/credit/report
| Field | Type | Status | Description |
|---|---|---|---|
name | string | Required | Applicant's full name |
pan | string | Required | Applicant's PAN |
mobile | string | Required | Mobile number registered with lenders |
dob | string | Optional | Date of birth (YYYY-MM-DD) to improve match rate |
purpose | string | Required | Permissible purpose of the enquiry |
consent | string | Required | Y when explicit consent for a bureau pull has been captured |
Response
Fields inside data. Every response also carries status, request_id and, on errors, message. See error codes.
| Field | Meaning | Example |
|---|---|---|
score | Credit score | 762 |
report_date | Date the report was generated | 2026-12-04 |
active_accounts | Number of open credit accounts | 4 |
total_outstanding | Total outstanding balance in ₹ | 245000 |
overdue_amount | Total overdue amount in ₹ | 0 |
max_dpd_12m | Highest days-past-due in the last 12 months | 0 |
enquiries_6m | Hard enquiries in the last 6 months | 2 |
accounts | Account-level tradelines (lender, type, sanctioned, balance, DPD history) | […] |
report_pdf_url | Short-lived link to the bureau PDF | https://…/report.pdf |
Example
curl -X POST https://api.ampletrails.com/v1/credit/report \
-H "Authorization: Bearer $AMPLE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "Ravi Kumar", "pan": "ABCDE1234F", "mobile": "9876543210", "dob": "1990-05-14", "purpose": "loan_application", "consent": "Y"}'import os, requests
resp = requests.post(
"https://api.ampletrails.com/v1/credit/report",
headers={"Authorization": f"Bearer {os.environ['AMPLE_API_KEY']}"},
json={
"name": "Ravi Kumar",
"pan": "ABCDE1234F",
"mobile": "9876543210",
"dob": "1990-05-14",
"purpose": "loan_application",
"consent": "Y"
},
timeout=30,
)
resp.raise_for_status()
print(resp.json()["data"])const resp = await fetch("https://api.ampletrails.com/v1/credit/report", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AMPLE_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"name": "Ravi Kumar",
"pan": "ABCDE1234F",
"mobile": "9876543210",
"dob": "1990-05-14",
"purpose": "loan_application",
"consent": "Y"
}),
});
const { data } = await resp.json();$ch = curl_init("https://api.ampletrails.com/v1/credit/report");
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer " . getenv("AMPLE_API_KEY"),
"Content-Type: application/json",
],
CURLOPT_POSTFIELDS => json_encode(["name" => "Ravi Kumar", "pan" => "ABCDE1234F", "mobile" => "9876543210", "dob" => "1990-05-14", "purpose" => "loan_application", "consent" => "Y"]),
]);
$data = json_decode(curl_exec($ch), true)["data"];{
"status": "success",
"request_id": "req_7f3a9c21e4",
"data": {
"score": 762,
"report_date": "2026-12-04",
"active_accounts": 4,
"total_outstanding": 245000,
"overdue_amount": 0,
"max_dpd_12m": 0,
"enquiries_6m": 2,
"accounts": "[…]",
"report_pdf_url": "https://…/report.pdf"
}
}Example data. The exact field list for your account comes with your sandbox documentation.
Use cases
Personal and consumer loans
Score applicants in the journey and route borderline cases to underwriting with the report already attached.
Credit cards and BNPL
Set limits based on existing exposure and repayment behaviour.
Rental and leasing
Where it's a permitted purpose, check repayment history before handing over a vehicle or equipment.
Questions about this API
Who can pull a credit report?
Bureau access is controlled. Regulated lenders and their sourcing partners pull reports for credit decisions. Other uses need a permissible purpose under the bureau's rules and explicit consent. We check your use case before switching this API on.
Does the pull affect the applicant's score?
A lender enquiry is recorded on the report and many enquiries in a short time can count against the applicant. Pull once per application, not on every screen.
What if the bureau can't find the applicant?
You get a no-hit result. New-to-credit applicants are common, so plan another route, such as bank statements or EPFO data.
How long can we keep the report?
Only as long as you need it for the decision and your regulatory retention period. Don't reuse it for marketing.
Try the Credit Report API
Sandbox keys, the full field reference and a Postman collection, usually within a working day.