How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Mastercard Scores API

The Scores API from Mastercard — 2 operation(s) for scores.

Mastercard Scores API is one of 172 APIs that Mastercard publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Scores. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, code examples, a changelog, a support channel, and a getting-started guide.

This API exposes 1 operation across 1 path, and defines 11 schemas. It is described by OpenAPI 3.2.0, at version 1.0.0.

Requests are made against 2 base URLs: https://api.mastercard.com/consumer/credit-analytics, https://sandbox.api.mastercard.com/consumer/credit-analytics.

1 operations 1 paths 11 schemas 1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0.0
Base URL
https://api.example.com
Authentication
API Key
Resource Areas
1

Authentication & Security 1

Mastercard Scores API declares 1 security scheme for authenticating requests. An API key is passed in the header as api_key (credit_analytics_auth).

  • credit_analytics_auth — Mastercard uses one-legged OAuth1.0a to authenticate its APIs. See https://developer.mastercard.com/platform/documentation/security-and-authentication/using-oa…

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.

Scores 1

Retrieval of Mastercard transaction-based credit scores and data insights.

POST
/scores
Retrieval of Mastercard Transaction-based Credit Scores and Data Insights
getScores body → 200400

Schemas 11

The contract defines 11 schemas that model the data the API accepts and returns. The most detailed are score (8 properties), ErrorData (5 properties), Error (5 properties), ConsumerCreditAnalytics (5 properties). Each schema is shown below with its type and property counts.

ErrorWrapper
object
1 property 1 required
ConsumerCreditAnalytics
object
Object containing list of customer PAN's along with score type and product type for which score will be fetched.
5 properties
Error
object
5 properties
ErrorList
array
score
object
8 properties
PredictionDataError
object
2 properties
PredictionDataSuccess
object
2 properties
Errors
object
1 property 1 required
ConsumerCreditAnalyticsScore
object
2 properties
CustomerPAN
object
2 properties
ErrorData
object
5 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

mastercard-scores-api-openapi.yml Raw ↑

Other APIs Mastercard publishes across the network.

Mastercard Universal Specification Submission API
Mastercard Account to Account Commerce for Creditor Service Providers
Mastercard Debtor Service Provider Resources API
Mastercard Automatic Billing Updater API
Mastercard Benefit Eligibility Service API
Mastercard Bill Pay API
Mastercard Bill Payment Validator
Mastercard BIN Lookup API
Mastercard Business Payment Controls
Mastercard Carbon Calculator API
Mastercard Carbon Calculator Experience API
Mastercard Checkout Solutions
Where this information came from

This is an independent, third-party profile of Mastercard Scores API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.