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
NAME | TYPE | DESCRIPTION | REQUIRED |
---|---|---|---|
skey | string | API subscription key | Yes |
Examples
Response Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
yearMonth | string | Month and Year of activity |
statusCode | int | HTTP response status code |
apiCalls | int | Total number of API calls month to date |
apiCallsLimit | int | Number of monthly allowed calls under the subscription tier |
apiCallsRemaining | int | Number of calls remaining for the month under the subscription tier |
lastUpdated | datetime | Date and time last updated in UTC time |