Documentation

Documentation

  • Conversation
  • Reader
  • Speech
  • Console
  • AI Agents
  • Languages iconEnglish
    • Tiếng Việt
    • Janpanese

API

FPT.AI Credit Scoring

HTTP Request

GET https://api.fpt.ai/dmp/creditscoring/v1

Header Parameters

Parameter Required Default Description
api_key Yes Your api key (Get from Console)

Query Parameters

Parameter Required Default Description
phone Yes

The phone number that need to be scored in any form, for instance:

  • 0901234567 (normal)
  • 84901234567 (84 prefix)
  • 901234567 (no prefix)
  • 01681234567 (old format)
  • 841681234567 (old format with 84 prefix)
  • 1681234567 (old format without prefix)
  • 0381234567 (new format)
  • 84381234567 (new format with 84 prefix)
  • 381234567 (new format without prefix)
dltype Yes

The type of loan user (owner of phone number) want to take

  • 1 (Consumer loan)
  • 2 (Cash loan)
source No 0

Data sources used to scoring user

  • 0 (all sources)
  • 1 (FPT FB social network data - currently we only support this source)
  • 2 (Sendo data)
  • 3 (FRT data)
decision_time No Now

Unix timestamp of decision time, for example

  • 1571632683 (Monday, October 21, 2019 11:38:03 AM GMT+07:00)

Response

JSON contains score from data source(s): fpt_score, frt_score, sendo_score. At this moment, we only provide score from FPT data (others will be -1)

If any score is -1, that means this source has no data about requested phone number

score is average of all scores that not equal -1

Sample Request

curl --location --request GET \
--header 'api_key: xxxxxxxxxxxxxxxxxx' \
'https://api.fpt.ai/dmp/creditscoring/v1?phone=978477728&dltype=1&source=0'

Sample Response: Success

{
    "frt_score": -1,
    "phone": "84978477728",
    "score": 0.2964672868854194,
    "sendo_score": -1,
    "fpt_score": 0.2964672868854194

}
  • HTTP Request
  • Header Parameters
  • Query Parameters
  • Response
    • Sample Request
    • Sample Response: Success
Conversation
DocumentationAPI ReferenceTutorials (Video)
Reader
DocumentationAPI ReferenceTutorials
Speech
DocumentationAPI ReferenceTutorials
Copyright © 2025 FPT Corporation