Skip to main content

API Usage

info

Returns the API usage by subscription key

HTTP REQUEST
GET /creditcard-apiusage/{skey}
RESPONSE
[
{
"yearMonth": "Jan 2024",
"statusCode": [
{
"statusCode": 200,
"apiCalls": 1960,
"apiCallsLimit": 2500,
"apiCallsRemaining": 540,
"lastUpdated": "2024-01-16T08:19:35.917"
},
{
"statusCode": 404,
"apiCalls": 42,
"apiCallsLimit": 0,
"apiCallsRemaining": 0,
"lastUpdated": "2024-01-16T08:19:35.917"
},
{
"statusCode": 429,
"apiCalls": 17,
"apiCallsLimit": 0,
"apiCallsRemaining": 0,
"lastUpdated": "2024-01-16T08:19:35.917"
},
{
"statusCode": 500,
"apiCalls": 24,
"apiCallsLimit": 0,
"apiCallsRemaining": 0,
"lastUpdated": "2024-01-16T08:19:35.917"
}
]
}
]

Notes

  • Updated every hour on the hour
  • Returns last two full months plus current month
  • For subscriptions purchased through RapidAPI retrieve usage details there
  • Only successful responses (200) count towards the monthly limit
  • Calls to the API Usage endpoint do not count against the API monthly limit

Path Parameters

NAMETYPEDESCRIPTIONREQUIRED
skeystringAPI subscription keyYes

Examples

Response Attributes

NAMETYPEDESCRIPTION
yearMonthstringMonth and Year of activity
statusCodeintHTTP response status code
apiCallsintTotal number of API calls month to date
apiCallsLimitintNumber of monthly allowed calls under the subscription tier
apiCallsRemainingintNumber of calls remaining for the month under the subscription tier
lastUpdateddatetimeDate and time last updated in UTC time