Build on DataCred.
A REST API with an audit log for every query and five score models. Register your company and, once approved, create your API keys.
curl -X POST https://api.datacred.org/v1/partner/pull \
-H "X-API-Key: dc_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"userId": "<userId>",
"pullType": "SOFT",
"purpose": "CREDIT_APPLICATION",
"scoreModelId": "datacred_consumer"
}'
From signup to your first query in 5 minutes
Register your company
Send a POST to /v1/public/partner-signup with your company details, your tax ID (RIF / NIT), a password and the four explicit legal confirmations. Do not send those booleans as true unless the representative has actually seen and accepted the documents linked in the web signup. We review your company in 1 to 2 business days; once approved, you receive the affiliation contract by email and 10 welcome queries.
curl -X POST https://api.datacred.org/v1/public/partner-signup \
-H "Content-Type: application/json" \
-d '{
"company_name": "My Fintech CA",
"legal_name": "My Fintech, C.A.",
"tax_id": "J-12345678-9",
"industry": "LENDING",
"contact_email": "dev@myfintech.com",
"contact_full_name": "Example Name",
"password": "YourSecurePassword123",
"authorized_representative_attested": true,
"affiliation_contract_accepted": true,
"privacy_policy_acknowledged": true,
"data_processing_authorized": true
}'
Create your API key in the portal
Once your company is approved, go to the partner portal and create your API key (dc_live_…). It is shown only once. DataCred has a single class of key: every key is real, queries real data and its queries are billed (the first 10 are paid by your welcome credits).
Look up the person and pull their report
Search by national ID (cédula) for free to get their userId, then run the evaluation query. The person receives a notice of the query.
curl -X POST https://api.datacred.org/v1/partner/search \
-H "X-API-Key: dc_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"identity": { "documentNumber": "V-12345678", "fullName": "Ana Pérez" },
"purpose": "CREDIT_APPLICATION",
"legalBasisAttested": true,
"relationshipReference": "SOL-2026-000123"
}'
curl -X POST https://api.datacred.org/v1/partner/pull \
-H "X-API-Key: dc_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"userId": "<userId>",
"pullType": "SOFT",
"purpose": "CREDIT_APPLICATION",
"scoreModelId": "datacred_consumer"
}'
Authentication
All partner endpoints use API key authentication. Send your key in one of these two ways:
X-API-Key: dc_live_…(recommended for server-to-server)Authorization: Bearer dc_live_…
DataCred has a single class of API key: dc_live_…. Every key queries and reports real data and its queries are billed. dc_test_… keys issued earlier keep working exactly the same (they are real too); when regenerated, they come out as dc_live_.
API reference
Base URL: https://api.datacred.org. All responses follow this format: { success, data, error?, meta? }
Score pull (for partners)
/v1/partner/pullPulls a user's credit report for a legitimate purpose. Logs an inquiry on HARD pulls and deducts one query from your plan.
- Auth
- X-API-Key or Bearer dc_live_*
- Body
- { userId, pullType, purpose, scoreModelId?, includeTradelines?, includeInquiries?, includeDisputes? } — allowed purpose: CREDIT_APPLICATION, EXISTING_CREDIT_REVIEW or COLLECTIONS
- Returns
- score, scoreBand, reasonCodes, modelId, modelName, inquiryId, billing
Pre-screen (for partners)
/v1/partner/prescreen/campaignsCreates a pre-screen campaign for targeted marketing offers.
- Auth
- X-API-Key or Bearer dc_live_*
- Body
- { name, criteria, purpose, offerDetails }
- Returns
- campaignId
Tradelines (for partners)
/v1/partner/tradelinesReports a new tradeline (furnisher endpoint).
- Auth
- X-API-Key
- Body
- { userId, accountType, currentBalance, creditLimit, currentStatus, … }
- Returns
- tradelineId, status
/v1/partner/tradelines/:idUpdates the balance or status of an existing tradeline.
- Auth
- X-API-Key
- Body
- { currentBalance?, currentStatus?, daysPastDue?, pastDueAmount? }
- Returns
- updatedTradeline
Usage and consumption (for partners)
/v1/partners/usageChecks your query usage for the period. Read-only and does not use up a query, so it is ideal for verifying that your API key authenticates.
- Auth
- X-API-Key or Bearer dc_live_*
- Returns
- usage
Webhooks (for partners)
/v1/partners/webhooksLists the webhook endpoints on your account.
- Auth
- Bearer dc_live_*
- Returns
- endpoints[]
/v1/partners/webhooksRegisters a new webhook endpoint.
- Auth
- Bearer dc_live_*
- Body
- { url, events[], description? }
- Returns
- endpointId, signingSecret
/v1/partners/webhooks/:idRevokes a webhook endpoint.
- Auth
- Bearer dc_live_*
- Returns
- ok
Billing (for partners)
/v1/partners/billing/balanceChecks your available credit balance. Read-only, does not use up a query.
- Auth
- X-API-Key or Bearer dc_live_*
- Returns
- balance
Adverse actions (for partners)
/v1/partner/adverse-actionRecords an adverse action notice (required within 30 days of a denial).
- Auth
- X-API-Key
- Body
- { userId, reason, reasonCodes[], action }
- Returns
- noticeId
Public records and negative items (for partners)
/v1/partner/public-recordsReports a public record (judgment, bankruptcy, lien).
- Auth
- X-API-Key
- Body
- { userId, recordType, amount?, courtName?, filedAt }
- Returns
- recordId
/v1/partner/negative-itemsReports a negative item (collection, charge-off).
- Auth
- X-API-Key
- Body
- { userId, itemType, amount, status, originalCreditor? }
- Returns
- itemId
Self-service signup (public, no auth)
/v1/public/partner-signupRegisters a new company and its portal access. It does not return API keys: they are created in the portal once DataCred approves the company.
- Auth
- None
- Body
- { company_name, legal_name, tax_id, industry, contact_email, contact_full_name, password, authorized_representative_attested: true, affiliation_contract_accepted: true, privacy_policy_acknowledged: true, data_processing_authorized: true, country?, website_url?, contact_phone? }
- Returns
- partnerId, status
/v1/public/partner-signup/:id/verify-emailVerifies the partner's contact email with the token sent by email.
- Auth
- None
- Body
- { token }
- Returns
- verified: true
Score models
Pass scoreModelId in your pull to choose the scoring model. All models return a score between 300 and 850. The price per query is the same for every model, with no surcharge. Available only to merchants and non-bank lenders assessing their own risk; not for banking institutions or on their behalf.
| Model ID | Name | Use case | Key factors | Inquiry window | Price |
|---|---|---|---|---|---|
datacred_consumer | DataCred Consumer | Credit history score for consumers (UI, general summary) | Payment history (30%), utilization (20%), account age (15%) | 365 days | No model surcharge |
datacred_risk_auto | DataCred Risk: Auto | Underwriting for auto loans | Payment history (40%), account age (20%), utilization (10%) | 365 days | No model surcharge |
datacred_risk_mortgage | DataCred Risk: Mortgage | Mortgage underwriting (2-year inquiry window) | Utilization (25%), public records (15%), history (30%) | 730 days | No model surcharge |
datacred_risk_bankcard | DataCred Risk: Card | Underwriting for credit cards | Utilization (30%), account mix (15%), history (25%) | 365 days | No model surcharge |
datacred_risk_personal | DataCred Risk: Personal Loan | Unsecured personal loans | History (28%), negative items (15%), utilization (18%) | 365 days | No model surcharge |
Webhooks
Register webhook endpoints to receive events in real time. Payloads are signed with HMAC-SHA256. Verify the X-DataCred-Signature header before processing them.
// Signature verification (Node.js)
const crypto = require("crypto");
function verifyWebhook(rawBody, signature, signingSecret) {
const expected = crypto
.createHmac("sha256", signingSecret)
.update(rawBody)
.digest("hex");
return crypto.timingSafeEqual(
Buffer.from(expected, "hex"),
Buffer.from(signature, "hex")
);
}
| Event | When it fires |
|---|---|
score.updated | The user's DataCred Score changed after a recalculation. |
consent.granted | The user gave a partner consent to access their credit file. |
consent.revoked | The user revoked a consent they had granted earlier. |
inquiry.hard_pull | A hard pull inquiry was created on a user's file. |
adverse_action.filed | An adverse action notice was recorded for a user. |
tradeline.reported | A furnisher partner reported a new tradeline. |
tradeline.updated | An existing tradeline was updated. |
negative_item.added | A negative item was added to a user's file. |
dispute.opened | A consumer opened a credit dispute. |
dispute.resolved | A credit dispute was resolved. |
Error codes
All errors follow this format: { success: false, error: { code, message, requestId } }
| Code | HTTP | Meaning |
|---|---|---|
INVALID_API_KEY | 401 | API key missing, revoked or expired. |
API_KEY_EXPIRED | 401 | The API key has passed its expiration date. |
PARTNER_INACTIVE | 403 | The partner account is suspended or pending approval. |
DENIED_NO_CONSENT | 403 | There is no valid consent basis for this pull. |
USER_NOT_FOUND | 404 | The requested userId does not exist in DataCred. |
QUOTA_EXCEEDED | 429 | You reached the query limit of your monthly plan. Write to us to raise it. |
INSUFFICIENT_DATA | 422 | There is not enough data to calculate a score for this user. |
VALIDATION_ERROR | 400 | The body is missing required fields or has invalid values. |
RATE_LIMIT_EXCEEDED | 429 | Too many requests. Wait and retry after the number of seconds given in Retry-After. |
Pricing and limits
The price per query drops the more you run each month. Reporting customers is free and you are only charged for evaluation queries served successfully; denied or failed requests do not use up your plan.
| Monthly volume | Price per query | |
|---|---|---|
| Welcome gift on approval | 10 free | query credits |
| 1 to 50 / month | $1.00 | per query |
| 51 to 200 / month | $0.85 | per query |
| 201 to 1,000 / month | $0.65 | per query |
| 1,001 or more / month | $0.40 | per query |
Rate limit: up to 120 queries per minute. If you exceed it you get a 429 with the Retry-After header.
Every response includes the X-RateLimit-Limit, X-RateLimit-Remaining and Retry-After headers. Need higher volumes? Write to us.
Keys and billing
- DataCred has no test environment: every API key is real (dc_live_) and queries and reports real data about people.
- Keys are created in the partner portal once DataCred approves your company.
- When you are approved we gift you 10 credits: each one pays for one evaluation query.
- After that, each evaluation query is added to your account for the month and billed at month end. Recording that you granted the credit is not charged again.
- The limit of 120 queries per minute applies.
Ready to start? Register your company and we review it in 1 to 2 business days.